We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Automatically log out a user

thenelson
thenelson asked
on
Medium Priority
718 Views
Last Modified: 2012-08-14
I have a few users who frequently forget to log out.  How can I:

1)  Setup and run winexit.scr on all computers across the domain for these users without logging onto every computer as that user?

2)  Prevent the user from logging onto two computers at the same time (without loggin off of the first computer first)?

3)  Automatically disable the users account if they forget to log off at the end of the day?

Thanks
Comment
Watch Question

1) Group Policy

2) Are you sure you really want to do that?  

3) Disable as in remove their ability to access the system entirely?

Commented:
3) You could create a scheduled task on each PC that would run at the end of the day and log off the user - if they were already logged off then it just wouldn't run, I don't know how you could actually disable the user account though. YOu could automate the task creation via a login script, you'd have to Google the exact commands to use though as I haven't done anything like that for ages.
Automatic disabling of user accounts sounds like a very bad idea to me, unless you're in a one man shop and are trying to make a draconian point.
Principal Consultant
CERTIFIED EXPERT
Most Valuable Expert 2016
Top Expert 2014
Commented:
Nelson,

1.  See this Q for how to deploy Winexit.scr via GPO:  http:Q_21563573.html

2.  See this TechNet article about limitlogin.exe which will prevent simultaneous logins:  http://www.microsoft.com/technet/technetmag/issues/2005/05/UtilitySpotlight/

3.  No need to do this if you have deployed Winexit.scr via GPO because they will be logged off automatically.  You can always ask them to go sit in a corner for a couple of hours though.

Jeff
TechSoEasy

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
CERTIFIED EXPERT

Author

Commented:
Jeff,

Thanks again!

Nelson
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.