3 Simple Ways to Restart a Remote Computer Using CMD

by Vladimir Popescu
Vladimir Popescu
Vladimir Popescu
Managing Editor
Being an artist his entire life while also playing handball at a professional level, Vladimir has also developed a passion for all things computer-related. With an innate fascination... read more
Affiliate Disclosure
  • The Windows shutdown command comes with different options for shutting down or restarting a remote computer.
  • You can launch the Windows Remote Shutdown Dialog from CMD and use it to specify the remote computers you want to restart.
  • The best option when you want to force a restart of a remote computer is to use Windows Powershell.

Looking for reliable and safe remote desktop software? Mikogo helps millions of users and IT professionals connect, collaborate, and solve various technical issues.Some of the key features include:

  • 256-bit encryption and total privacy
  • Multi-platform support for all major operating systems
  • Quick and intuitive file transfer
  • Session recording for essential operations
  • High frame rates to ease troubleshooting
  • Get Mikogo

If you have multiple computers set up in your office or home and in different rooms, it can be difficult to restart each one of them. Instead of having to physically restart the computers, you can restart remote computers using Windows CMD.

However, for this to work, you need to make sure that the remote computer you are restarting is in the same network as the one you are using. In addition, you need the administrative credentials or username and password.

You also need to enable remote shutdown on the host computer for this to work. If you do not want to use the CMD, you can use some of the best remote reboot software to control Windows 10/11.

Using the Windows shutdown command to restart a remote computer

Windows OS comes with a shutdown command that can be used to restart a remote computer using the CMD. It can be used by Windows 11, 10, 8, and even 7 users. This command is shut down.

Expert Tip: Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

The command provides users with multiple options for use when restarting or shutting down computers. Some of the most common options include;

  • /r – used for restarting a computer.
  • /s – used when shutting down a computer.
  • /m \\computer – used to specify the remote computer to restart or shutdown.
  • /l – used for logging off the computer.
  • /t xx – used when setting time out period before restart or shutdown to xx seconds.
  • /c “comment” – used when you want to display a certain message on the screen before restart or shutdown.

How do I restart a remote computer using CMD?

1. Use the shutdown command

  1. Click the start button at the bottom left corner in Windows 10 or previous versions of Windows OS. However, the start button is at the center of the taskbar in Windows 11.
  2. Type cmd or command prompt on the search box.
  3. Right-click Command Prompt to get a menu on the right side of the CMD icon.launching windows cms
  4. Select Run as administrator to launch the command prompt with administrative privileges. However, you need to be logged in as an administrator to ensure that command-line access is not denied.
  5. Type the following command, and replace the computer name with the name of the PC you want to restart: shutdown /m \\computername /rshutdown command
  6. Type /f one space after /r if you would like to close all programs before the restart. However, notify users to save their work.
  7. Add /c after /f, then type a message in quotes to send a message to the remote computer before restarting. Your command will now look like this shutdown /m \\computername /r /f /c “This computer is about to restart"shutdown command opions
  8. Type /t xx where xx represents the number of seconds the remote computer should restart. Your new command will, therefore, be shutdown /m \\computername /r /f /c “This computer is about to restart” /t 30
  9. Press Enter.

2. Remote Shutdown Dialog

  1. Follow the first four steps above to launch the command prompt as an administrator.
  2. Type the following command and press Enter shutdown -i remote shutdown i command
  3. You will get a remote shutdown dialog window. Click Add on the right-hand side of the Remote Shutdown Dialogue window.add computer to restart
  4. Type the IP address of the computer you want to restart and then click the OK button. This allows you to restart a remote computer using its IP address.add computer to restart
  5. Choose what you want the remote computer to do. In this case, choose Restart.
  6. Click the Warn users of the action checkbox to set a timer for the computer to restart. This is, however, optional. 
  7. Type the number of seconds the computer should delay before the computer restarts.
  8. Click the Planned checkbox to create an event tracker for the remote restart. Again, this is optional.
  9. Select a reason from the dropdown list for the restart and type a comment to be displayed on the computer before it restarts.
  10. Click the OK button.leave comment before restart

3. Windows Powershell

  1. Click the start button and type Powershell
  2. Right-click on Windows Powershell and select Run as administrator.launching windows powershell
  3. Run the following command to restart a remote computer with Powershell even when it is in use. Restart-Computer -ComputerName REMOTE_COMPUTER_NAME -Force
  4. Replace REMOTE_COMPUTER_NAME with the name of the computer to restart and press enter.restart command

The three options discussed above will help you restart a remote computer using CMD easily without having to physically access the computer. However, make sure that you have saved any work before starting the process. If you don’t, you might end up losing the unsaved work.

You can also use a special tool such as Redmi 3 to access any remote computer within few moments. This software will give you secure access to safely restart any remote pc within your network.

Also if you have any other suggestions feel free to share them!

idee restoro Still having issues? Fix them with this tool:
  1. Download this PC Repair Tool rated Great on TrustPilot.com (download starts on this page).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues with Patented Technologies (Exclusive Discount for our readers).

Restoro has been downloaded by 0 readers this month.

This article covers:Topics: