Schedule shutdown windows 2003 on weekend
what is the utility tools to schedule shutdown the windows 2003 ?
May 30th, 2011 8:59pm
Natively you can use shutdown.exe
http://technet.microsoft.com/en-us/library/bb491003.aspx
Also psshutdown
http://technet.microsoft.com/en-us/sysinternals/bb897541
You can use Task Scheduler to trigger either of these.
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Free Windows Admin Tool Kit Click here and download it now
May 30th, 2011 9:11pm
Hello,
here is a small command file to shutdown a machine, just modify it for your needs:
;Create the scheduled task on remote workstation's
if not exist %systemroot%\tasks\at1.job at 05:00 /every:m,t,w,th,f,s,su shutdown.exe /t 120 /c "This computer will shutdown and restart automatically, please close your open applications. Your Administrator." /f
:Copy the shutdown.exe to remote workstation
if not exist %systemroot%\system32\shutdown.exe copy "\\domainname\netlogon\shutdown.exe" "%systemroot%\system32\shutdown.exe"
Copy the content into a file named shutdown.cmd and if you have multiple machines then add it to a startup script.Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
May 31st, 2011 1:58am


