MordyT Posted September 11, 2012 Posted September 11, 2012 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.
6Foot2 Posted September 11, 2012 Posted September 11, 2012 I use Shutdownertron [Link 1: http://www.edugeek.net/forums/edugeek-shutdownertron/24424-powarrmonkey-proudly-presents.html] 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: http://www.edugeek.net/forums/windows-7/89882-shutdown-policy.html Link 3: http://www.edugeek.net/forums/windows-7/83620-timed-shutdown.html Link 4: http://www.edugeek.net/forums/wireless-networks/65276-multi-schedule-shutdown-classroom-control.html Link 5: http://www.edugeek.net/forums/downloads/64400-hibernate-resume-you-computer-according-set-rules.html 1
MordyT Posted September 11, 2012 Author Posted September 11, 2012 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.
the_quick Posted September 13, 2012 Posted September 13, 2012 +1 for Shutdownertron, great piece of software, simple to use and works
Davit2005 Posted September 13, 2012 Posted September 13, 2012 Another one here for shutdownertron. Deployable by MSI and group policy templates.
british_government Posted September 13, 2012 Posted September 13, 2012 We just have a GPO which creates a scheduled task to shutdown the machine's if they are idol, works perfectly
MordyT Posted September 13, 2012 Author Posted September 13, 2012 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.
russdev Posted September 21, 2012 Posted September 21, 2012 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
edutech4schools Posted November 26, 2012 Posted November 26, 2012 Just out of interest what did you go with.
MordyT Posted December 26, 2012 Author Posted December 26, 2012 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,
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