How to Remotely Restart a Windows Machine Through Command Line
Part 1 of 4:
Enabling Remote Restart
- Make sure that you're on the computer that you want to restart. Before you can remotely restart a computer on your network, you must set up the computer to receive remote instructions.
- Open Start
- Type services into Start. Doing so searches the computer for the Services app.
- Click Services. It's a gear-shaped app at the top of the Start window. The Services window will open.
- If this option doesn't appear, type services.msc into Start to force it to appear.
- Scroll down and click Remote Registry. It's in the "R" section of the main window. Clicking Remote Registry selects it.
- Click the "Properties" icon. It's a grey box with a folder on it just below the View tab at the top of the window. The Properties window will open.
- 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.
- Select Automatic. Click Automatic in the drop-down menu.
- Click OK. It's at the bottom of the window. Doing so enables remote restart on this computer.
Part 2 of 4:
Allowing Remote Restart in Firewall
- Open Start
- Type firewall into Start. This will search for the Windows Firewall app.
- Click Windows Firewall. It's an image of a brick wall and a globe. You'll find it at the top of the Start window.
- Click Allow an app or feature through Windows Firewall. This link is in the top-left corner of the window. Doing so opens a list of all programs and services on the computer.
- Click Change settings. It's above the upper-right corner of the list of programs. Clicking it unlocks the list of programs.
- Scroll down to the "Windows Management Instrumentation (WMI)" option. You'll find this near the bottom of the list of programs.
- Check the "Windows Management Instrumentation" box. It's to the left of this option.
- If the computers you're using are on a public network, you'll also need to check the "Public" box on the far-right side of the page.
- Click OK. It's at the bottom of the window. This computer will no longer block remote access in Firewall.
Part 3 of 4:
Finding the Computer's Name
- Open Start
- Open File Explorer
- Click This PC. It's a computer-shaped folder on the left side of the File Explorer window.
- Click the Computer tab. This option is in the upper-left side of the window. A toolbar will appear below the tab.
- Click Properties. It's a red checkmark on a white box in the far-left side of the toolbar. This will open the Properties page for this computer.
- Note the computer's name. You'll find the "Computer name" section under the "Computer name, domain, and work group settings" heading in the middle of the page.
- Make sure you write down the name exactly as it appears in this menu.
Part 4 of 4:
Restarting via Command Prompt
- Open another computer on your network. This computer must have administrative privileges, and it must be on the same network as the computer that you want to restart.
- Open Start
- Type cmd, then press ↵ Enter. This should open Command Prompt.
- Type shutdown /i into Command Prompt, then press ↵ Enter. This command brings up a window from which you can remotely restart the other computer.
- Click Add…. It's on the right side of the window. Doing so opens another window.
- Enter the other computer's name. Type the name of the computer that you want to restart into the text field in the window.
- If you didn't find the computer's name earlier, do so before continuing.
- Click OK. It's at the bottom of the window.
- Make sure the computer is set to restart. In the "What do you want these computers to do" section, click the drop-down box and select Restart if it isn't displayed here.
- You can also check or uncheck the option to deliver a warning to the user of the computer before shutting down, or you can adjust the time limit to restart (the default is 30 seconds).
- Click OK. It's at the bottom of the window. This will prompt the other computer to restart as soon as the selected time limit expires.
5 ★ | 1 Vote
You should read it
- How often should I restart my computer?
- How to Disable Automatic Reboot After Windows Update
- How to Restart a Mac
- How to Shut Down or Restart Another Computer Using CMD
- How to add 'Open command window here as administrator' to the right-click menu on Windows 10
- Please download more than 90 beautiful windows wallpapers for your computer
- How to Restart MacBook Pro
- How to fix the computer automatically restart repeatedly
May be interested
- How to Use Net Sendnet send is a command line tool used in windows xp for sending messages to other users and computers on a local network. with windows vista, net send was replaced with msg.exe, a command line tool that has very similar functionality and...
- How to Create and Delete Files and Directories from Windows Command Promptthis wikihow teaches you how to use the windows command prompt to create and delete files and folders (also known as directories). the files you create at the prompt can be modified and managed with windows apps, including file manager and...
- How to Decipher the Right Application to View an Unknown File Type on Windows Vistawith so many file extensions out there nowadays, its completely possible, that a few might not have a representable program existent on the 'open with' dialog box. if this is the case, this article will be for you. navigate to the proper...
- How to Optimize Windows Vistawindows vista is known for taking up a lot of memory, but here are a few ways to make it run faster. click the start orb and type regedit into the search box, then press enter. if you're prompted to enter the administrator password or...
- How to Change the Password to a Saved Wireless Network on a Windows Vista PChas your wireless network password recently changed and now you need to change it on your windows vista computer so you can connect to it again? read on from step 1 below to find out this process so you'll be on the road to reconnecting....
- How to Change Vista Icon Sizethis article will show you how to change the size of your desktop icons in windows vista. go to your desktop (you don't need to close any programs.) you can minimize every window or just click the show desktop button in the quick launch...