$3 Per Year Web Hosting

Sunday 12 November 2017

How to Remotely Restart a Windows Machine Through Command Line

This wikiHow teaches you how to restart another computer on your network from your own computer by using the Windows Command Prompt app. You cannot remotely restart a computer with Command Prompt if you haven't previously set the computer up to be remotely restarted, nor can you remotely restart a computer that isn't on your Internet network.

EditSteps

EditEnabling Remote Restart

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

EditAllowing Remote Restart in Firewall

  1. Open Start . Make sure you're still using the computer that you want to remotely restart.
    Remotely Restart a Windows Machine Through Command Line Step 10 Version 7.jpg
  2. Type into Start. This will search for the Windows Firewall app.
    Remotely Restart a Windows Machine Through Command Line Step 11 Version 7.jpg
  3. Click . It's an image of a brick wall and a globe. You'll find it at the top of the Start window.
    Remotely Restart a Windows Machine Through Command Line Step 12 Version 7.jpg
  4. Click . This link is in the top-left corner of the window. Doing so opens a list of all programs and services on the computer.
    Remotely Restart a Windows Machine Through Command Line Step 13 Version 7.jpg
  5. Click . It's above the upper-right corner of the list of programs. Clicking it unlocks the list of programs.
    Remotely Restart a Windows Machine Through Command Line Step 14 Version 6.jpg
  6. Scroll down to the "Windows Management Instrumentation (WMI)" option. You'll find this near the bottom of the list of programs.
    Remotely Restart a Windows Machine Through Command Line Step 15 Version 6.jpg
  7. Check the "Windows Management Instrumentation" box. It's to the left of this option.
    Remotely Restart a Windows Machine Through Command Line Step 16 Version 6.jpg
    • 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. Click . It's at the bottom of the window. This computer will no longer block remote access in Firewall.
    Remotely Restart a Windows Machine Through Command Line Step 17 Version 6.jpg

EditFinding the Computer's Name

  1. Open Start . 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.
    Remotely Restart a Windows Machine Through Command Line Step 18 Version 6.jpg
  2. Open File Explorer . Click the folder-shaped icon in the Start window.
    Remotely Restart a Windows Machine Through Command Line Step 19 Version 6.jpg
  3. Click . It's a computer-shaped folder on the left side of the File Explorer window.
    Remotely Restart a Windows Machine Through Command Line Step 20 Version 6.jpg
  4. Click the tab. This option is in the upper-left side of the window. A toolbar will appear below the tab.
    Remotely Restart a Windows Machine Through Command Line Step 21 Version 6.jpg
  5. Click . 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.
    Remotely Restart a Windows Machine Through Command Line Step 22 Version 6.jpg
  6. 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.
    Remotely Restart a Windows Machine Through Command Line Step 23.jpg
    • Make sure you write down the name exactly as it appears in this menu.

EditRestarting via Command Prompt

  1. 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.
    Remotely Restart a Windows Machine Through Command Line Step 24.jpg
  2. Open Start . Click the Windows logo in the bottom-left corner of the screen.
    Remotely Restart a Windows Machine Through Command Line Step 25.jpg
  3. Type . This will search your computer for the Command Prompt app.
    Remotely Restart a Windows Machine Through Command Line Step 26.jpg
  4. Click Command Prompt. It's at the top of the Start window.
    Remotely Restart a Windows Machine Through Command Line Step 27.jpg
  5. Type into Command Prompt, then press . This command brings up a window from which you can remotely restart the other computer.
    Remotely Restart a Windows Machine Through Command Line Step 28.jpg
  6. Click . It's on the right side of the window. Doing so opens another window.
    Remotely Restart a Windows Machine Through Command Line Step 29.jpg
  7. Enter the other computer's name. Type the name of the computer that you want to restart into the text field in the window.
    Remotely Restart a Windows Machine Through Command Line Step 30.jpg
  8. Click . It's at the bottom of the window.
    Remotely Restart a Windows Machine Through Command Line Step 31.jpg
  9. 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.
    Remotely Restart a Windows Machine Through Command Line Step 32.jpg
    • 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).
  10. Click . It's at the bottom of the window. This will prompt the other computer to restart as soon as the selected time limit expires.
    Remotely Restart a Windows Machine Through Command Line Step 33.jpg

EditTips

  • If the computer that you're trying to shut down has third-party antivirus or firewall software, you may need to disable it before the remote restart will work.

EditWarnings

  • Don't restart a computer if you don't have permission to do so.

EditRelated wikiHows




from How to of the Day http://ift.tt/2AyGu4q
via Peter

No comments:

Post a Comment

$3 Per Year Web Hosting