+ 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
    10

    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,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    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,404
    Thank Post
    109
    Thanked 267 Times in 198 Posts
    Rep Power
    168
    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
    10
    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 07:54 PM.

  7. #5

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,617
    Thank Post
    648
    Thanked 1,618 Times in 1,448 Posts
    Rep Power
    421
    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
    10
    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 07:56 PM.

  9. #7

    Join Date
    Dec 2008
    Location
    Essex
    Posts
    2,144
    Thank Post
    1
    Thanked 326 Times in 316 Posts
    Rep Power
    77
    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
    10
    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 08:01 PM.

  12. #9

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

  13. #10

    Join Date
    Nov 2011
    Posts
    628
    Thank Post
    87
    Thanked 21 Times in 19 Posts
    Rep Power
    10
    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
    77
    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
    324
    Thank Post
    47
    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,320
    Thank Post
    54
    Thanked 295 Times in 231 Posts
    Blog Entries
    6
    Rep Power
    116
    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
    10
    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
    30
    Thank Post
    2
    Thanked 7 Times in 5 Posts
    Rep Power
    9
    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, 10:47 PM
  2. Do you work during your lunch break?
    By Dos_Box in forum Site Polls
    Replies: 83
    Last Post: 9th September 2009, 03:30 PM
  3. Replies: 10
    Last Post: 5th March 2009, 07:56 PM
  4. disabling pupils from locking computers
    By peterpan in forum Network and Classroom Management
    Replies: 9
    Last Post: 27th January 2009, 04:46 PM
  5. Computer keeps restarting during boot
    By adamyoung in forum Windows
    Replies: 12
    Last Post: 10th January 2006, 07: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
  •