Reboot tool or script
Need to reboot around 100 machines at a time, do we have any script or tool to do this..? Krishna
January 29th, 2011 9:38am

Hello, create a startup script named reboot.cmd with the following content: ;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 /r /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" Also add the shutdown.exe to the script folder, if you have older OS version where it doesn't exist.Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
January 29th, 2011 9:55am

Thanks a lot.. i have found Simple command prompt solution “Shutdown –i”. with this you can shutdown or restart number of machines at a time. Krishna
January 30th, 2011 11:48am

This is an article named "Microsoft DOS shutdown command". It should help. This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. Microsoft Student Partner Microsoft Certified Professional Microsoft Certified Systems Administrator: Security Microsoft Certified Systems Engineer: Security Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
Free Windows Admin Tool Kit Click here and download it now
January 30th, 2011 1:08pm

Yes, you can simply use shutdown.exe command. But do not use -i switch, it's not necessary :) (displays GUI during reboot process) just use this simple syntax on server shutdown /r /f /m \\ServerName /t 00 or on client machine shutdown -r -f -m \\ServerName -t 00 /r -> reboot /f -> force reboot (if any opened application doesn't allow reboot) /m -> machine to reboot /t -> time in secods before reboot (00 - immediately) You can of couse use this syntax with batch. Create a text file with all servers to reboot, each server name in separate line, i.e. server1 server2 server3 save it on C-Drive and run from command-line for /f %i in (c:\server.txt) do shutdown -r -f -m \\%i -t 00 it will sequentially reboot serversRegards, Krzysztof
January 30th, 2011 1:25pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics