Link to home
Start Free TrialLog in
Avatar of rickpary
rickparyFlag for United States of America

asked on

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

Hi,
How do I restart an XP Pro computer through remote desktop?
I am in the remote sesion but have no restart options?
Help!
Avatar of stevenlewis
stevenlewis

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.


ASKER CERTIFIED SOLUTION
Avatar of SheharyaarSaahil
SheharyaarSaahil
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rickpary

ASKER

I mispoke. I see the Shutdown.exe but how about a restart???
Thanks
start -->run shutdown -r
or just press

CTRL-ALT-END

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

Shutdown
Restart
Logoff
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
Restart
Stand by (if configured)
Hibernate (if configured)
Disconnect

hope that helps!

cheers
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 )
shutdown.exe

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)
You can alternatively use a shutdown utility such as Poweroff.exe

http://users.pandora.be/jbosman/poweroff/poweroff.htm

Very customizable and get's the job done.
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, ...
or windows key + R, then taskmgr will also get task manager.
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
Press Alt-F4 when the session is in front.  It will give you the shutdown, restart, standby menu.
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