GPO for auto logg off

How do you automatically loff off users at a certain time. Users are using a small business server 2003 domain. A terminal Server and some users are using xp pro. We want eveybody except the company owner to auto logg off at 7 pm in the evening. Please help. Thanks
Solar6838Asked:
Who is Participating?
 
pghzooitConnect With a Mentor Commented:
You could try running a scheduled task everynight that would run a script.  If interested I can post the script.
0
 
and235100Commented:
0
 
and235100Commented:
That logs people off after a certain period of inactivity.
NetSupport (third-party app), for example - can be scripted to log users off on a timed basis.

Otherwise - use logon hours:
\Computer Configuration\ Windows Settings\ Security Settings\ Local
Policies\ Security Options\ Network Security: Force logoff when logon hours
expire
0
Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

 
and235100Commented:
In Users and Computers - just configure each user accounts' logon hours - in the properties of their user account - and enforce the policy above to get aautomated log off at 7pm. (or whatever time - when the logon hours expire)
0
 
bhnmiCommented:
This setting does not actually log the users off their workstations. It just terminates sessions. You need to run a script to actually log off  the machines.
0
 
and235100Commented:
http://www.robvanderwoude.com/files/logoff_vbs.txt - suitable example.
(just remove the .txt file extension.)
0
 
Solar6838Author Commented:
Cool, I will be testing:
\Computer Configuration\ Windows Settings\ Security Settings\ Local
Policies\ Security Options\ Network Security: Force logoff when logon hours
expire
I should have something with a couple of hours. Thanks
0
 
and235100Commented:
I don't quite understand the choice of answer here.
Please explain.
pghzooit gives no details of a "script" - and "running a scheduled task" is not really a suitable answer.
0
All Courses

From novice to tech pro — start learning today.