How do I restart an XP Pro computer through remote desktop?

Posted on 2004-11-17
Last Modified: 2013-11-21
How do I restart an XP Pro computer through remote desktop?
I am in the remote sesion but have no restart options?
Question by:rickpary
    LVL 41

    Expert Comment

    you can always run the shutdown shortcut with the -r switch
    In Windows XP, restoring the shortcut is amazingly easy. Right-click on the Desktop and choose New | Shortcut from the pop-up menu. Browse to the file C:\Windows\ System32\Shutdown.exe, click Next, name the shortcut, and click Finish. Now right-click on the new shortcut and choose Properties. In the Target box, append the command line switch -l (to log off), -s (to shut down), or -r (to reboot).

    If you also add the switch –t xx (where xx is a number of seconds), Shutdown.exe will display a warning and count down the specified number of seconds before activating. You can specify a comment to be displayed with the warning by adding the switch -c "Your text". The countdown behavior is particularly useful if the shutdown program is launched through the Scheduled Tasks applet. For example, a library computer might be scheduled to shut down 10 minutes before closing, with a 60-second warning. Once the countdown has begun, the only way to stop it is to launch the program again with the -a (for abort) switch on its command line.

    Shutdown.exe is included with Windows XP, and you can add it to Windows NT 4.0 or 2000 via the corresponding Resource Kit.

    LVL 65

    Accepted Solution

    Hello rickpary =)

    Read some suggestions here,

    Is there a way to perform a remote re-boot for a Windows XP Pro computer

    Author Comment

    I mispoke. I see the Shutdown.exe but how about a restart???
    LVL 41

    Expert Comment

    start -->run shutdown -r
    LVL 3

    Expert Comment

    or just press


    and that simulates control alt delete so now you can press the actual SHUTDOWN button and have all yoru choices

    LVL 3

    Expert Comment

    To be clear, you need to be in the Remote Desktop window when you press CTRL - ALT - END.
    This command sends control alt delete to the remote desktop computer and you will then see the Windows Security dialogue box for the remote session.

    When you press the Shutdown button you have the following options:
    Log off <current user>
    Shut down
    Stand by (if configured)
    Hibernate (if configured)

    hope that helps!

    LVL 1

    Expert Comment

    Alternatively in Remote Desktop you'll have a button on the Start Menu called 'Windows Security'

    If you click on the Windows Security button you should be given the option to restart.

    ( or as kkohl says you can use CTRL + ALT + END )
    LVL 6

    Expert Comment


    Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-d up:xx:yy]

            No args                 Display this message (same as -?)
            -i                      Display GUI interface, must be the first option
            -l                      Log off (cannot be used with -m option)
            -s                      Shutdown the computer
            -r                      Shutdown and restart the computer
            -a                      Abort a system shutdown
            -m \\computername       Remote computer to shutdown/restart/abort
            -t xx                   Set timeout for shutdown to xx seconds
            -c "comment"            Shutdown comment (maximum of 127 characters)
            -f                      Forces running applications to close without warning
            -d [u][p]:xx:yy         The reason code for the shutdown
                                    u is the user code
                                    p is a planned shutdown code
                                    xx is the major reason code (positive integer less than 256)
                                    yy is the minor reason code (positive integer less than 65536)

    Expert Comment

    You can alternatively use a shutdown utility such as Poweroff.exe

    Very customizable and get's the job done.
    LVL 2

    Expert Comment

    Right Click Your Task Bar
    Select "Task Manager"
    With the Application Tab Selected
    Select "Shut Down Fom the Tool Bar
    With in "Shut Down" you should have options to shutdown, reset, logoff, ...
    LVL 1

    Expert Comment

    or windows key + R, then taskmgr will also get task manager.
    LVL 1

    Expert Comment

    shutdown -r  \\Computername -t 50
    shutdown -s  \\Computername -t 50
    -s is to shutdown and -r is to restart. \\Computername is the name of the NETWORKED computer to shutdown and -t 50 is giving 50 seconds to save all files. just do start->run: then the command
    just the same thing everyone has been posting
    LVL 1

    Expert Comment

    Press Alt-F4 when the session is in front.  It will give you the shutdown, restart, standby menu.

    Expert Comment

    i was looking for command witch let me restart that computer im worcing on trhoug rdp

    solution i used is :
    start - run - cmd.exe

    command line :
    shutdown -r -t XX (where XX is a number of seconds)

    It worked really good
    THX 4 Help

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
    In a recent article here at Experts Exchange (, I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    731 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