Re:reboot script
Jeremy wrote:
Quote
I know I can use shutdown.exe -f -r -t 10 to force a reboot on a
workstation.
But the shutdown program gives an 'ugly' red x message that scares our
users thinking they've some how corrupted the machine.
We use deepfreeze so we want a logoff script that will force the machine
to reboot after the kids log off the machine (and provides a 'pretty'
message/picture).
Is that possible with vbscript?
Jeremy
VBScript can use WMI to log users off and even shutdown/restart the
computer. See this link:
www.microsoft.com/technet/scriptcenter/guide/sas_cpm_jleo.mspx">
www.microsoft.com/technet/scriptcenter/guide/sas_cpm_jleo.mspx
I'm not sure how this would work in a logoff script. Also, in the future
(summer 2007) we expect a Microsoft product called Windows SteadyState,
which will allow you to configure the computers to restart after the kids
finish and undo everything so the next user has a clean machine (XP clients
only so far). Intended for schools, libraries, and Internet cafes. Free to
Windows Genuine Advantage customers.
--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab -
www.rlmueller.net">
www.rlmueller.net
--
-