+ Post New Thread
Results 1 to 10 of 10
Windows 7 Thread, Auto shutdown at night in Technical; So like all, we like our PCs to shutdown at night. Mostly so that students get off the machines and ...
  1. #1
    MordyT's Avatar
    Join Date
    Sep 2012
    Location
    In a computer
    Posts
    506
    Thank Post
    44
    Thanked 74 Times in 69 Posts
    Rep Power
    22

    Auto shutdown at night

    So like all, we like our PCs to shutdown at night.
    Mostly so that students get off the machines and get to bed.

    We setup logon times, but if a PC is already logged in, they don't get booted (well, they lose their network shares, but solitaire is so much fun I guess).
    So, we want our PCs to reboot nightly, at the shutdown time. Then they won't be able to login until the next day.

    Students are always looking for ways around the system , including hanging a process to stop a log off.
    To prevent this, we issue a PsShutdown -r -f -t 0 which works much better then shutdown -f -r -t 0... hung processes actually die as they are supposed to. Then just to make sure they really go down, we have a PsKill winlogon run 5 minutes later... very very effective btw.

    On Windows XP we could always include a message and countdown timer (using -m "message" and -t 300) so that users would be forewarned and could save. On windows 7 64 bit, this no longer works. Research had lead me to session ids being the issue, and short of using PsExec to run the command (and specify the session id) there is no way of giving either the timer or the message.
    I
    got around the message issue but just using msg.exe to broadcast messages 5 minutes before, but I am really looking for a nicer solution.

    td;tr I need a way to display a countdown message and timer before a scheduled reboot. Looking for a nice way of doing this, preferable without too many 3rd party apps.

    I have seen this app in use and cannot find it anywhere, basically it gave a pop up that could not be closed unless you pressed ctrl+shift+alt+7 or some wacky combination that had both a timer and a message. This could work if I could figure out what it is.

  2. #2

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    9,127
    Thank Post
    351
    Thanked 1,322 Times in 907 Posts
    Blog Entries
    4
    Rep Power
    1136
    I use Shutdownertron [Link 1: powarrmonkey proudly presents... on our network. However after moving to Windows 7 some Edugeekers have found the performance of Shutdownertron to be unsatisfactory [Particularly with regard to the message to users still logged on. I have found it works OK here]

    Have a look at these threads that discuss Shutdownertron as they also discuss alternatives:

    Link 2: Shutdown Policy

    Link 3: Timed Shutdown

    Link 4: Multi-Schedule Shutdown / Classroom Control

    Link 5: Hibernate/Resume You Computer According To Set Rules

  3. Thanks to DaveP from:

    MordyT (11th September 2012)

  4. #3
    MordyT's Avatar
    Join Date
    Sep 2012
    Location
    In a computer
    Posts
    506
    Thank Post
    44
    Thanked 74 Times in 69 Posts
    Rep Power
    22
    I think that just about answers my question then. Lots of options, although I still don't see one like I saw before...

    Thanks for the help.

  5. #4
    kcymer's Avatar
    Join Date
    Nov 2007
    Posts
    149
    Thank Post
    4
    Thanked 9 Times in 8 Posts
    Rep Power
    16
    +1 for Shutdownertron, great piece of software, simple to use and works

  6. #5

    Join Date
    May 2011
    Location
    Jus North of London, close but not too close
    Posts
    865
    Thank Post
    193
    Thanked 73 Times in 68 Posts
    Rep Power
    50
    Another one here for shutdownertron. Deployable by MSI and group policy templates.

  7. #6
    british_government's Avatar
    Join Date
    Feb 2009
    Posts
    160
    Thank Post
    24
    Thanked 20 Times in 15 Posts
    Rep Power
    36
    We just have a GPO which creates a scheduled task to shutdown the machine's if they are idol, works perfectly

  8. #7
    MordyT's Avatar
    Join Date
    Sep 2012
    Location
    In a computer
    Posts
    506
    Thank Post
    44
    Thanked 74 Times in 69 Posts
    Rep Power
    22
    Thank you all for your helpful replies.
    between poweroff and impero, I think we got this handled.
    We are still testing shutdownertron as a alternative too.

  9. #8

    russdev's Avatar
    Join Date
    Jun 2005
    Location
    Leicestershire
    Posts
    6,946
    Thank Post
    709
    Thanked 553 Times in 368 Posts
    Blog Entries
    3
    Rep Power
    205
    Quote Originally Posted by MordyT View Post
    Thank you all for your helpful replies.
    between poweroff and impero, I think we got this handled.
    We are still testing shutdownertron as a alternative too.
    Hopefully the power management window should have everything you need if not through do let me know what is missing..

    Russell

  10. #9

    Join Date
    Apr 2010
    Posts
    2,104
    Thank Post
    95
    Thanked 189 Times in 156 Posts
    Rep Power
    84
    Just out of interest what did you go with.

  11. #10
    MordyT's Avatar
    Join Date
    Sep 2012
    Location
    In a computer
    Posts
    506
    Thank Post
    44
    Thanked 74 Times in 69 Posts
    Rep Power
    22
    We ended up with the following:
    Impero attempts a shutdown.

    5 minutes later a custom script (calls pskill and kills winlogon) is called via scheduled task. This will, without fail, no matter what, log the person off.

    Done,



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 7
    Last Post: 10th July 2009, 07:43 PM
  2. Amazing aerial pictures of London at night
    By tech_guy in forum General Chat
    Replies: 0
    Last Post: 28th January 2009, 11:28 PM
  3. Force XP machines to shutdown at night
    By cookie_monster in forum Windows
    Replies: 11
    Last Post: 12th March 2008, 04:19 PM
  4. UPS auto shutdown
    By adamyoung in forum How do you do....it?
    Replies: 14
    Last Post: 4th July 2007, 10:50 AM
  5. Remotely Shutdown/Restart PC's at night
    By flyinghaggis in forum How do you do....it?
    Replies: 20
    Last Post: 2nd February 2006, 10:28 AM

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
  •