Skip to main content

reboot server remotely from command prompt

1: SHUTDOWN /r /f /t 0 /m \\ /c ""
/r         Shutdown and restart the computer.
/f         Force running applications to close without forewarning users.
/t xxx     Set the time-out period before shutdown to xxx seconds.
           The valid range is 0-600, with a default of 30.
/m \\computer Specify the target computer.
/c "comment" Comment on the reason for the restart or shutdown.




If it got struck in the middle use below command to force restart:  taskkill /s \\ServerIpAddress /im lsass.exe

Comments

Popular posts from this blog

Installing Nagios 4 on Ubuntu 14 04 LTS

Open Source firewalls

1. Endian Community Firewall -  http://www.endian.com/en/community/overview/ 2. pfSense -  https://www.pfsense.org 3. IPCop -  http://www.ipcop.org/ 4. Zentyal -  http://www.zentyal.org 5. IPFire -  http://www.ipfire.org