dany2010 Posted December 18, 2012 Posted December 18, 2012 Hi, Is there a built in way to disable computers automatically, pupils are being left unattended during their lunch breaks so we have had approval to lock workstations during lunch. We have tried disabling the computer account from the server but this does not log out the user. Any ideas? Thanks
Michael Posted December 18, 2012 Posted December 18, 2012 You can of course set time(s) for a group of users ever since Server 2000, but this alone won't automatically log out existing logged in users. You also need to enable: Computer Config > Policies > Windows Settings > Security Settings > Local Policies > Security Options - Network security: Force logoff when logon hours expire - Enabled 1
CESIL Posted December 18, 2012 Posted December 18, 2012 This seems to explain what you need to do...HOW TO: Limit User Logon Time in a Domain in Windows Server 2003 1
dany2010 Posted December 18, 2012 Author Posted December 18, 2012 (edited) Many thanks, That solves prevent new logins. Is it possible to create a log off script with a timer? Edited December 18, 2012 by dany2010
plexer Posted December 18, 2012 Posted December 18, 2012 Why not just approval to lock the door and staff disciplined if they break the rules? Ben
dany2010 Posted December 18, 2012 Author Posted December 18, 2012 (edited) Because they don't see anything wrong with leaving the doors open even when they loop network cables etc. thats the deputy head as well. Trust me, last time stuff happened I talked to him and basically got told that they will do what they like. Just tried Shutdown /f /m \\ computer But just get a list of commands plus loads of other stuff underneath. Edited December 18, 2012 by dany2010
sukh Posted December 18, 2012 Posted December 18, 2012 Are you restricting complete access or to certain applications like IE. You could use logon restriction for the user accounts so they can't logon during x period. Modify the Logon Hours of a User Account 1
dany2010 Posted December 18, 2012 Author Posted December 18, 2012 (edited) Thanks sukh, Got that bit sorted now, just trying to shutdown the machines now with a timer and the shutdown command. The above doesn't log existing users out. Would like to block the entire machine. Edited December 18, 2012 by dany2010
sukh Posted December 18, 2012 Posted December 18, 2012 This not help in the GPO? Network security: Force logoff when logon hours expire: Security Configuration Editor
dany2010 Posted December 18, 2012 Author Posted December 18, 2012 Spotted that thanks but it doesn't give the user a chance to save their work.
sukh Posted December 18, 2012 Posted December 18, 2012 Then use the shutdown as an option, show the gui & set a timer Shutdown - Shutdown the computer | SS64.com
hit Posted December 18, 2012 Posted December 18, 2012 Because they don't see anything wrong with leaving the doors open even when they loop network cables etc. thats the deputy head as well. Have had a similar situation at one of my sites. Forcing logoffs and locking out computers just ended up with more damage to equipment in the rooms. Better to go round and lock the rooms yourself or get a change in policy.
Norphy Posted December 19, 2012 Posted December 19, 2012 It's not free but Userlock will do this and a whole lot more.
dany2010 Posted December 19, 2012 Author Posted December 19, 2012 Have had a similar situation at one of my sites. Forcing logoffs and locking out computers just ended up with more damage to equipment in the rooms. Better to go round and lock the rooms yourself or get a change in policy. Parents get charged with price of a replacment machine, as these machines are now 6 years they are welcome to break an dbuy us some new one . No chance in getting things changed with this guy. Cant seem to get the shutdown to work. Have added into the gpo user rights ability to remote shutdown and shutdown using the shutdown command but i still get the help file and reasons why this computer has been shutdown.
DellOughta Posted December 19, 2012 Posted December 19, 2012 syntax for shutdown NO REBOOT shutdown -s -m \\classpc1 REBOOT and FORCE NOW shutdown -r -m \\classpc1 /f -t 00 /f = force -t = time 00 = 0 secs
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now