remote reboot

Posted on 2009-12-28
Last Modified: 2012-05-08
can someone show me how to reboot a XP machine remotely by script or any other way? Thanks
Question by:Thomas N
    LVL 31

    Accepted Solution

    From a command prompt:
    shutdown /r /f /m \\machinename /t xx

    where \\machinename is the netbios name of your remote computer (\\computer1, for example) and xx is the amount of seconds you want to delay the reboot.

    /r = reboot
    /f = force
    /m = remote machine name
    /t = time delay in seconds

    You will need administrative access to the remote computer to do this.

    LVL 22

    Expert Comment

    You can remote reboot a machine in many ways but you first need to be connected to it... Are you already connected to it?
    If the answer is yes then all you would need to type from the command prompt or from the start-run:
    shutdown  /r
    LVL 13

    Expert Comment

    LVL 81

    Expert Comment

    Hello thomastxiee,

    You may use PSSHUTDOWN from PSTOOLS of Sysinternal :

    LVL 6

    Expert Comment

    If you have domain and you are administrator, I prefer "shutdown -i" command - it gives me graphical interface as I don't have to remember whole command syntax.
    LVL 22

    Expert Comment

    I for example like to remote connect to my customer's computers using Logmein Free....
    This service alows me to restart, shutdown, provide any maintenance to the computers at will and remotely.
    LVL 57

    Expert Comment

    by:Pete Long
    Hello thomastxiee,

    Or use


    LVL 62

    Expert Comment

    by:☠ MASQ ☠

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    This script will sweep a range of IP addresses (class c only, and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
    Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now