viernes, 22 de febrero de 2013

Remotely-Restart a Windows Machine Through Command-Line


The DOS command line built into every windows machine can be used to perform a lot of useful tasks including shutting down or restarting another device remotely. To remotely restart a Windows machine through command line, follow these instructions.

EditSteps

Enable Remote Restart on the Desired Windows Machine

  1. 1
    Log into the machine you’d like to remote-restart as an Administrator.

    Soluciones SharePoint

     Desarrollos a medida especificos para Intranet, Extranet, Internet
    www.huddle.com.ar
  2. 2
    Go to Start > Run.




    • Alternatively, type services.msc into the Search function and skip to Step 3.




  3. 3
    Type services.msc and hit Open.




  4. 4
    Scroll down to Remote Registry, right-click, and select Properties from the drop-down list.




  5. 5
    To the right of Startup Type, select Automatic from the drop-down list, then hit OK.




  6. 6
    Configure your firewall to make Windows Management Instrumentation (WMI) an allowed program. How you do this will depend on your firewall program.
    • To do this on Windows Firewall, go to Windows Firewall, click Change Settings, go to the Exceptions tab, and check the box next to Windows Management Instrumentation (WMI).




  7. 7
    Make a note of the device name, as you will need it later. To do this on a Windows computer:
    • Right-click on My Compter and select Properties.




    • Scroll down to Computer name, domain, and workgroup settings. You will find the computer name listed here.




Remotely Restart via Command Prompt

  1. 1
    Log into a remote Windows computer as an Administrator.
  2. 2
    Go to Start > Run.







    • Alternatively, type cmd.exe into the Search function and skip to Step 3.




  3. 3
    Type cmd.exe and hit Open.




  4. 4
    Type shutdown /i and hit Enter.




  5. 5
    Click Add, type in the name of the remote device, and hit OK.




  6. 6
    Apply the desired settings and hit OK. For example, you can choose to shut down or restart, warn the user on the remote machine, display the warning for a set length of time, etc.

Remotely Restart on Windows XP Professional

  1. 1
    Log into a remote Windows computer as an Administrator.
  2. 2
    Go to Start > Control Panel.
  3. 3
    Navigate to Performance and Maintenance > Administrative Tools > Computer Management.
  4. 4
    Right-click Computer Management (Local) and select Connect to another computer.
  5. 5
    Click Another computer, type the name of the machine you want to restart, and click OK. You can also click Browse to find this name.
  6. 6
    Right-click Computer Management (Name You Supplied) and select Properties.
  7. 7
    Under the Advanced tab, click Startup and Recovery.
  8. 8
    Click Shutdown, find Actions, and select Restart.
  9. 9
    Under Force Apps Closed, adjust to the desired settings and hit OK.