How to Restart a Windows Computer Remotely Using the Command Line

Today's TipsMake will show you how to restart another computer on the network from your own computer using the Windows Command Prompt application. To restart a remote computer with Command Prompt, that computer must be set up to start remotely and at the same time connected to your Internet network.

Enable remote start

Picture 1 of How to Restart a Windows Computer Remotely Using the Command Line

You need to make sure you're using the computer you want to restart. Before restarting a computer remotely on the network, you must set up the computer to receive remote instructions.

Picture 2 of How to Restart a Windows Computer Remotely Using the Command Line

Open Start . Click the Windows icon in the lower left corner of the screen.

Picture 3 of How to Restart a Windows Computer Remotely Using the Command Line

Enter servicesStart. Your computer will find the Services application.

Picture 4 of How to Restart a Windows Computer Remotely Using the Command Line

Click the gear-shaped Services option at the top of the Start window. The Services window will open.

If this option doesn't appear, type services.mscStart to force the application to appear.

Picture 5 of How to Restart a Windows Computer Remotely Using the Command Line

Scroll down and click Remote Registry . This option is located in the "R" section of the main window. Click Remote Registry to select it.

Picture 6 of How to Restart a Windows Computer Remotely Using the Command Line

Click the folder-shaped "Properties" icon in the gray frame just below the View tab at the top of the window. The Properties window will open.

Picture 7 of How to Restart a Windows Computer Remotely Using the Command Line

Click the "Startup type" drop-down box. This box is to the right of the "Startup type" heading in the middle of the window. A drop-down menu will appear.

Picture 8 of How to Restart a Windows Computer Remotely Using the Command Line

Select Automatic . Click Automatic in the drop-down menu.

Picture 9 of How to Restart a Windows Computer Remotely Using the Command Line

Click OK at the bottom of the window. So this computer has been enabled for remote restart.

Allow remote boot on Firewall

Picture 10 of How to Restart a Windows Computer Remotely Using the Command Line

Open Start . You need to make sure you're still using the computer you want to remotely restart.

Picture 11 of How to Restart a Windows Computer Remotely Using the Command Line

Enter firewallStart. The Windows Firewall application will be found.

Picture 12 of How to Restart a Windows Computer Remotely Using the Command Line

Click Windows Firewall . The app has a globe and a brick wall at the top of the Start window.

Picture 13 of How to Restart a Windows Computer Remotely Using the Command Line

Click Allow an app or feature through Windows Firewall. This link is in the upper left corner of the window. A list of programs and services on your computer opens.

Picture 14 of How to Restart a Windows Computer Remotely Using the Command Line

Click Change settings . Options in the upper right corner of the program list. List of programs to be unlocked.

Picture 15 of How to Restart a Windows Computer Remotely Using the Command Line

Scroll down to the "Windows Management Instrumentation (WMI)" option. This option is near the bottom of the program list.

Picture 16 of How to Restart a Windows Computer Remotely Using the Command Line

Check the "Windows Management Instrumentation" box to the left of this option.

If this computer is on a public network, you will need to check the "Public" box on the right side of the page.

Picture 17 of How to Restart a Windows Computer Remotely Using the Command Line

Click OK at the bottom of the window. The computer will no longer block remote access through the firewall.

Find the computer name

Picture 18 of How to Restart a Windows Computer Remotely Using the Command Line

Open Start . Again, you must do this on the computer you want to restart, not the computer to which you are sending the "Restart" command.

Picture 19 of How to Restart a Windows Computer Remotely Using the Command Line

Open File Explorer. Click the folder icon on the Start window.

Picture 20 of How to Restart a Windows Computer Remotely Using the Command Line

Click This PC . This desktop image option is on the left side of the File Explorer window.

Picture 21 of How to Restart a Windows Computer Remotely Using the Command Line

Click the Computer tab in the upper left of the window. A toolbar will appear below the card.

Picture 22 of How to Restart a Windows Computer Remotely Using the Command Line

Click Properties . This option has a red check mark in a white frame on the left side of the toolbar. The computer's Properties page opens.

Picture 23 of How to Restart a Windows Computer Remotely Using the Command Line

Record the computer name. The "Computer name" section will appear below the "Computer name, domain, and work group settings" heading in the center of the page.

You need to write down the exact computer name displayed in this menu.

Restart via Command Prompt

Picture 24 of How to Restart a Windows Computer Remotely Using the Command Line

Open another computer on your network. This computer must have administrator rights and be on the same network as the computer you want to restart.

Picture 25 of How to Restart a Windows Computer Remotely Using the Command Line

Open Start . Click the Windows icon in the lower left corner of the screen.

Picture 26 of How to Restart a Windows Computer Remotely Using the Command Line

Enter cmdthen press ↵ Enter. Command Prompt will open.

Picture 27 of How to Restart a Windows Computer Remotely Using the Command Line

Type shutdown /iinto Command Prompt, then press ↵ Enter. This command will open a window for you to remotely restart another computer.

Picture 28 of How to Restart a Windows Computer Remotely Using the Command Line

Click Add… on the right side of the window. Another window will open.

Picture 29 of How to Restart a Windows Computer Remotely Using the Command Line

Enter another computer name. Enter the name of the computer you want to restart in the text field on the window.

If you haven't looked up the computer name before, do so before continuing.

Picture 30 of How to Restart a Windows Computer Remotely Using the Command Line

Click OK at the bottom of the window.

Picture 31 of How to Restart a Windows Computer Remotely Using the Command Line

You need to make sure that computer is set up to reboot. In the "What do you want these computers to do" section, click the drop-down box and select Restart if the option isn't already visible here.

You can also check or uncheck the option to send a warning to users of this computer before shutting down, or you can customize the time limit for restarting (by default it is 30 seconds).

Picture 32 of How to Restart a Windows Computer Remotely Using the Command Line

Click OK at the bottom of the screen. The other computer will restart immediately after the time limit expires.

Update 23 June 2024
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile