Use the command line to restart the Windows server

  • 2020-06-03 08:51:42
  • OfStack

Command:


c:/> shutdown /r

Most users typically use the GUI graphical interface to access remote or local Windows systems. In some cases, we don't have a graphical system restart button, but we can still restart the remote server using the command line. This article will help you restart remote Windows Server using the command line prompt.

Restart Windows Server using the command line

Simply use the shutdown /r command to restart the Windows server. Here are various examples of the shutdown command.

Restart the local system


c:/> shutdown /r 

Restarting the local system forces you to shut down running applications, using the /f command.


c:/> shutdown /r /f 

Reboot the remote system by specifying the system host name, using the /m command.


c:/> shutdown /r /f /m \REMOTE-PC 

Add a text message as a prompt when restarting the system, using the /c command.


c:/> shutdown /r /f /m \REMOTE-PC /c "After Installing Software" 

Related articles: