How to Remotely Restart a Windows Machine Through Command Line

Part 1 of 4:

Enabling Remote Restart

  1. How to Remotely Restart a Windows Machine Through Command Line Picture 1
    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.
  2. How to Remotely Restart a Windows Machine Through Command Line Picture 2
    Open Start
    How to Remotely Restart a Windows Machine Through Command Line Picture 3
    . Click the Windows logo in the bottom-left corner of the screen.
  3. How to Remotely Restart a Windows Machine Through Command Line Picture 4
    Type services into Start. Doing so searches the computer for the Services app.
  4. How to Remotely Restart a Windows Machine Through Command Line Picture 5
    Click Services. It's a gear-shaped app at the top of the Start window. The Services window will open.
    1. If this option doesn't appear, type services.msc into Start to force it to appear.
  5. How to Remotely Restart a Windows Machine Through Command Line Picture 6
    Scroll down and click Remote Registry. It's in the "R" section of the main window. Clicking Remote Registry selects it.
  6. How to Remotely Restart a Windows Machine Through Command Line Picture 7
    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.
  7. How to Remotely Restart a Windows Machine Through Command Line Picture 8
    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.
  8. How to Remotely Restart a Windows Machine Through Command Line Picture 9
    Select Automatic. Click Automatic in the drop-down menu.
  9. How to Remotely Restart a Windows Machine Through Command Line Picture 10
    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

  1. How to Remotely Restart a Windows Machine Through Command Line Picture 11
    Open Start
    How to Remotely Restart a Windows Machine Through Command Line Picture 12
    . Make sure you're still using the computer that you want to remotely restart.
  2. How to Remotely Restart a Windows Machine Through Command Line Picture 13
    Type firewall into Start. This will search for the Windows Firewall app.
  3. How to Remotely Restart a Windows Machine Through Command Line Picture 14
    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.
  4. How to Remotely Restart a Windows Machine Through Command Line Picture 15
    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.
  5. How to Remotely Restart a Windows Machine Through Command Line Picture 16
    Click Change settings. It's above the upper-right corner of the list of programs. Clicking it unlocks the list of programs.
  6. How to Remotely Restart a Windows Machine Through Command Line Picture 17
    Scroll down to the "Windows Management Instrumentation (WMI)" option. You'll find this near the bottom of the list of programs.
  7. How to Remotely Restart a Windows Machine Through Command Line Picture 18
    Check the "Windows Management Instrumentation" box. It's to the left of this option.
    1. 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.
  8. How to Remotely Restart a Windows Machine Through Command Line Picture 19
    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

  1. How to Remotely Restart a Windows Machine Through Command Line Picture 20
    Open Start
    How to Remotely Restart a Windows Machine Through Command Line Picture 21
    . Again, you'll need to do this on the computer that you want to restart, not the computer from which you send the "Restart" command.
  2. How to Remotely Restart a Windows Machine Through Command Line Picture 22
    Open File Explorer
    How to Remotely Restart a Windows Machine Through Command Line Picture 23
    . Click the folder-shaped icon in the Start window.
  3. How to Remotely Restart a Windows Machine Through Command Line Picture 24
    Click This PC. It's a computer-shaped folder on the left side of the File Explorer window.
  4. How to Remotely Restart a Windows Machine Through Command Line Picture 25
    Click the Computer tab. This option is in the upper-left side of the window. A toolbar will appear below the tab.
  5. How to Remotely Restart a Windows Machine Through Command Line Picture 26
    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.
  6. How to Remotely Restart a Windows Machine Through Command Line Picture 27
    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.
    1. Make sure you write down the name exactly as it appears in this menu.
Part 4 of 4:

Restarting via Command Prompt

  1. How to Remotely Restart a Windows Machine Through Command Line Picture 28
    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.
  2. How to Remotely Restart a Windows Machine Through Command Line Picture 29
    Open Start
    How to Remotely Restart a Windows Machine Through Command Line Picture 30
    . Click the Windows logo in the bottom-left corner of the screen.
  3. How to Remotely Restart a Windows Machine Through Command Line Picture 31
    Type cmd, then press Enter. This should open Command Prompt.
  4. How to Remotely Restart a Windows Machine Through Command Line Picture 32
    Type shutdown /i into Command Prompt, then press Enter. This command brings up a window from which you can remotely restart the other computer.
  5. How to Remotely Restart a Windows Machine Through Command Line Picture 33
    Click Add…. It's on the right side of the window. Doing so opens another window.
  6. How to Remotely Restart a Windows Machine Through Command Line Picture 34
    Enter the other computer's name. Type the name of the computer that you want to restart into the text field in the window.
    1. If you didn't find the computer's name earlier, do so before continuing.
  7. How to Remotely Restart a Windows Machine Through Command Line Picture 35
    Click OK. It's at the bottom of the window.
  8. How to Remotely Restart a Windows Machine Through Command Line Picture 36
    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.
    1. 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).
  9. How to Remotely Restart a Windows Machine Through Command Line Picture 37
    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

May be interested

  • Command line parameter in CCommand line parameter in C
    this chapter only really makes sense for you if you are using a command promt to compile the program. it is possible to pass values ​​from the command line - command line to program c when it is executed.
  • How to use Command Prompt, how to use cmd on WindowsHow to use Command Prompt, how to use cmd on Windows
    hidden deep within windows is a command line world that few people know about. in this article, we will show you how to resolve errors and make your computer more secure using the cmd command line tool.
  • Ways to restart a Windows 11 PCWays to restart a Windows 11 PC
    in some situations, you will need to restart your windows 11 pc to fix problems, install updates, complete the installation process, or perform some other necessary tasks.
  • 6 ways to restart your Windows computer from simple to 'Pro'6 ways to restart your Windows computer from simple to 'Pro'
    restarting the computer is a task that must be done quite often when the computer is slow, hanging, and installing software. there are many ways to restart your computer, in addition to using the start button to restart your computer, you have 7 other options to apply in different situations.
  • How to Open a Command Line Program on WindowsHow to Open a Command Line Program on Windows
    tipsmake today will show you how to open the command prompt command line window on windows pc. you can open command prompt from the start menu or any folder in file explorer. besides, the windows run feature is also an option.
  • The Nox App Player command line parameters supportThe Nox App Player command line parameters support
    this article will list for you some command line parameters that nox app player supports (from version 3.0 and above). these command line parameters are used to set up system settings, launch applications and control nox.
  • 10 tips for using Command Line Windows 10 users should know10 tips for using Command Line Windows 10 users should know
    you can use the cmd command to perform some tasks that normally only use mouse, drag and click. the cmd command is also quite useful when you need to create scripts and automated tasks.
  • 5 reasons why people love the Linux command line5 reasons why people love the Linux command line
    many people are afraid of the command line. they see it as something for software developers or geeks. but the command line is merely another way of interacting with a pc, and there are some tasks that are very easy to do with the cli.
  • 10 useful commands in Windows you should know10 useful commands in Windows you should know
    command prompt is used to execute batch files, perform tasks quickly, help you troubleshoot and solve some windows problems when the system crashes. however, not all commands in windows are useful and must be done regularly. with the 10 command lines in the following article it is very useful even if you are not an administrator.
  • How to use the Linux command line on Android with TermuxHow to use the Linux command line on Android with Termux
    android is a very operating system 'capacity with more and more desktop accessibility applications. however, sometimes you want to make some things on android that can be as easy as desktop. fortunately, you can use the termux tool, which builds on the existing infrastructure and provides a command line environment that allows you to install real linux applications on your android device.