Generally, most of the users used GUI access for accessing remote or local Windows systems. In some cases, we don’t get system restart button in GUI but we still can restart the remote server using the command line. This article will help you to reboot Windows system using command prompt (CLI).
Command to Restart Windows Server
/r switch with shutdown command to reboot windows server using command line. Here are various examples of restart Windows systems via command line.
- Use below command restart local Windows system:
- Restart local system with forcefully close running applications using
/fcommand line switch.
shutdown /r /f
- Restart remote system by specifying system hostname with
/mcommand line switch.
shutdown /r /f /m \\REMOTE-PC
- Add a comment as reason of rebooting system suing
/ccommand line switch.
shutdown /r /f /m \\REMOTE-PC /c "Post Installing Software"
Restarting a Windows server is very easy with GUI interface, but in some case, you will not get reboot button, specially on remote systems. This tutorial helps you to restart a Windows system via command line interface.
Just read your Comments…very useful and understandable….
should be \\REMOTE-PC
very nice article , and simple to understand .