+ Post New Thread
Results 1 to 15 of 15
Windows 7 Thread, Disable computers during lunch? in Technical; Hi, Is there a built in way to disable computers automatically, pupils are being left unattended during their lunch breaks ...
  1. #1

    Join Date
    Nov 2011
    Posts
    628
    Thank Post
    87
    Thanked 21 Times in 19 Posts
    Rep Power
    11

    Disable computers during lunch?

    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

  2. #2

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,345
    Thank Post
    242
    Thanked 1,602 Times in 1,278 Posts
    Rep Power
    346
    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

  3. Thanks to Michael from:

    dany2010 (18th December 2012)

  4. #3

    CESIL's Avatar
    Join Date
    Nov 2006
    Location
    Hampshire
    Posts
    1,405
    Thank Post
    109
    Thanked 267 Times in 198 Posts
    Rep Power
    169
    This seems to explain what you need to do...HOW TO: Limit User Logon Time in a Domain in Windows Server 2003

  5. Thanks to CESIL from:

    dany2010 (18th December 2012)

  6. #4

    Join Date
    Nov 2011
    Posts
    628
    Thank Post
    87
    Thanked 21 Times in 19 Posts
    Rep Power
    11
    Many thanks,

    That solves prevent new logins.

    Is it possible to create a log off script with a timer?
    Last edited by dany2010; 18th December 2012 at 08:54 PM.

  7. #5

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,689
    Thank Post
    756
    Thanked 1,715 Times in 1,526 Posts
    Rep Power
    438
    Why not just approval to lock the door and staff disciplined if they break the rules?

    Ben

  8. #6

    Join Date
    Nov 2011
    Posts
    628
    Thank Post
    87
    Thanked 21 Times in 19 Posts
    Rep Power
    11
    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

    Code:
    Shutdown /f /m \\ computer
    But just get a list of commands plus loads of other stuff underneath.
    Last edited by dany2010; 18th December 2012 at 08:56 PM.

  9. #7

    Join Date
    Dec 2008
    Location
    Essex
    Posts
    2,144
    Thank Post
    1
    Thanked 326 Times in 316 Posts
    Rep Power
    78
    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

  10. Thanks to sukh from:

    dany2010 (18th December 2012)

  11. #8

    Join Date
    Nov 2011
    Posts
    628
    Thank Post
    87
    Thanked 21 Times in 19 Posts
    Rep Power
    11
    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.
    Last edited by dany2010; 18th December 2012 at 09:01 PM.

  12. #9

    Join Date
    Dec 2008
    Location
    Essex
    Posts
    2,144
    Thank Post
    1
    Thanked 326 Times in 316 Posts
    Rep Power
    78

  13. #10

    Join Date
    Nov 2011
    Posts
    628
    Thank Post
    87
    Thanked 21 Times in 19 Posts
    Rep Power
    11
    Spotted that thanks but it doesn't give the user a chance to save their work.

  14. #11

    Join Date
    Dec 2008
    Location
    Essex
    Posts
    2,144
    Thank Post
    1
    Thanked 326 Times in 316 Posts
    Rep Power
    78
    Then use the shutdown as an option, show the gui & set a timer

    Shutdown - Shutdown the computer | SS64.com

  15. #12
    hit
    hit is offline
    hit's Avatar
    Join Date
    Mar 2008
    Location
    London
    Posts
    326
    Thank Post
    49
    Thanked 50 Times in 48 Posts
    Rep Power
    51
    Quote Originally Posted by dany2010 View Post
    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.

  16. #13

    Norphy's Avatar
    Join Date
    Jan 2006
    Location
    Harpenden
    Posts
    2,582
    Thank Post
    59
    Thanked 371 Times in 287 Posts
    Blog Entries
    7
    Rep Power
    134
    It's not free but Userlock will do this and a whole lot more.

  17. #14

    Join Date
    Nov 2011
    Posts
    628
    Thank Post
    87
    Thanked 21 Times in 19 Posts
    Rep Power
    11
    Quote Originally Posted by hit View Post
    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.

  18. #15

    Join Date
    Nov 2010
    Location
    leeds
    Posts
    32
    Thank Post
    2
    Thanked 7 Times in 5 Posts
    Rep Power
    10
    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



SHARE:
+ Post New Thread

Similar Threads

  1. How to disable computer configuration part of group policy
    By kath in forum Windows Server 2000/2003
    Replies: 4
    Last Post: 21st October 2012, 11:47 PM
  2. Do you work during your lunch break?
    By Dos_Box in forum Site Polls
    Replies: 83
    Last Post: 9th September 2009, 04:30 PM
  3. Replies: 10
    Last Post: 5th March 2009, 08:56 PM
  4. disabling pupils from locking computers
    By peterpan in forum Network and Classroom Management
    Replies: 9
    Last Post: 27th January 2009, 05:46 PM
  5. Computer keeps restarting during boot
    By adamyoung in forum Windows
    Replies: 12
    Last Post: 10th January 2006, 08:21 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •