PDA

View Full Version : Advanced Untangle Tip of the Day! (Reboot/Shutdown through RDP)


gotkimchi
04-25-2007, 05:40 PM
Today, I got a support call, and the caller wanted to know how to reboot a PC through the RDP. When you go through the RDP, the shut down under the start button is missing. After some googling, came across this page.

"So you’ve stumbled upon one of the rare HowTo’s that I will write for Windows… Here’s the situation: You’re connected to your Windows workstation at work from your workstation at home. You installed an update or an application that needs the computer to be restarted, but when you click on start, your shutdown option is gone. You should only have Log Off and Disconnect on the menu. So, how do you reboot?Command prompt to the rescue!
I assume you already know how to open a command prompt window on your remote machine. Once you have it open, run this command:
shutdown -r -f -t 10

That will give you a ten second window to log off before the machine reboots."
http://www.pronetit.com/2007/04/08/howto-shutdown-a-windows-machine-through-rdp/

Your other option is to go to the run command, type "tskmgr", then you have the option to do the shutdown.
http://wiki.untangle.com/images/8/85/Shutdown.JPG

alwirick
10-24-2007, 09:10 PM
so easy it hurts
Start > windows security>shut down
or yeah the gear heads can use start > run > "shutdown -r -f -t 10"

BYGino
12-08-2007, 03:38 AM
or if you don't like typing...

right click in the system tray -> taskmanger !

glamontagne
08-29-2008, 01:44 PM
I have an even easier way to reboot or shutdown from RDP. Click in the middle of the desktop, hit Alt-F4. The logoff/shutdown menu will appear.

IceMage
09-04-2008, 08:09 AM
In most remote situations I like to use PsTools.
http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx

You can actually bring up a command prompt remotely by using
"psexec \\computername -s cmd"
and use the shutdown command that was mentioned earlier, or simply use
"psshutdown -f -r -t 30 \\computername"
where the f stands for force, the r for restart, and the t 30 for time: 30 seconds.

if you haven't used PsTools yet, you're missing out.

Edit:
You'll need admin access to the box, or you'll have to type in your username and password using "-u username -p password"

YeOldeStonecat
09-04-2008, 08:25 AM
I have an even easier way to reboot or shutdown from RDP. Click in the middle of the desktop, hit Alt-F4. The logoff/shutdown menu will appear.

That's what I've always used. Much more simple IMO.

jchaves3
09-05-2008, 02:14 PM
just type "taskmgr"....