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

How to configure.NET Framework 3.5 on Windows 8

If  an  utility  requires the .NET framework 3.5, however would not in finding that  version enabled  in your computer, it shows the following message box in Windows 8, both all the way through set up, or while you open the applying for the first time. In the message box, choose Install this feature to enable the .NET Framework 3.5. This option requires an Internet connection. If in case you have ever tried to update the . net   frame work  3.5 from windows features you will get 0x800F0906 or 0x800F081F error . In this article I am showing How to fix . net  framework 3.5 installation in windows 8 or 8.1 error code 0x800f0906  or 0x800F081F.      . NET Framework 4.5 is enabled by default in Windows 8 and Windows 8.1. Windows 8 & Windows 8.1 does not include .NET 3.5 by default, but the files for .NET 3.5 are available on the Wind...