how to force a logoff


I would like to implement a policy at the container level that would force users to logoff say at 21:00. At the moment users are leaving the office without logging off the domain and i would like this behaviour to change. Is this possible?

Many thanks,

Alexis Crawford
Who is Participating?
ElForestoConnect With a Mentor Commented:
You should be able to set the logon hours in the Active Directory Users and Computers applet. In the properties for that particular user, go to the Accounts tab, and click the Logon Hours button. Active Directory will regularly publish new policies even without logging off. It does this every 90 minutes, by default. I've never played with these personally, so I'm just going on what I think will work. While I'm confident it will prevent logons, I don't know about it forcing a logoff. I think there may be a policy in place somewhere that allows you to specify that.

Microsoft has a pretty good tutorial on setting up and playing with group policies in a domain.
Users hogging computers? Kids staying on the Internet too long? With Terminator, you can restrict the amount of time users can spend on a PC. You can set the PC to automatically logout, reboot or shutdown at a specific time each day (eg. 5:30pm), or you can set it to logout, reboot or shutdown after a set period of time (eg. 60 minutes).  Simple to setup and run, Terminator is invisible to users - they won't even know it is running.
* Logout, Reboot or shutdown your PC at a specified time, or after an elapsed period of time
* Optional forced exit mode will force non-compliant applications to close
* Password protected
* Enable or disable automatic startup when Windows starts
* Shut down instances of Terminator
* Dynamic updating of settings when Terminator is already running
* Runs on Windows 95/98/Me/NT/2000/XP
Start > Run cmd

net user /time:
Example: to limit lets say the account name is Ralph to log on only between 10 a.m. and 6 p.m. Mondays through Fridays then

net user Ralph /time:M-F,10am-6pm
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tacobell2000Author Commented:
Ok but is there a way to do this using group policy objects in Windows 2000 server?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.