Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

0098386

Suspended
Original poster
Jan 18, 2005
21,574
2,908
Is it possible to do this? Just my brother has a habit of leaving the desktop PC, the big energy guzzler, on overnight. Is there anyway to shut it down remotely? FTP or whatever? *I really have no idea :)
All'st I know is the Mac technician at uni can shut all the machines down in a block from one machine.
 
It can be done via SSH or telnet by using UNIX commands. I cannot remember off my head.
 
edesignuk said:
Then you can just remote on to it using the remote desktop client for mac, and shut it down normally.

another option would be to enable telnet service or install an ssh server and issue the shutdown.exe command.

http://aumha.org/win5/a/shutcut.php
http://www.chicagotech.net/telnet.htm
http://www.ss64.com/nt/shutdown.html

However, remote desktop or VNC would be your best bet.

Remote desktop (MS)
http://www.microsoft.com/mac/otherproducts/otherproducts.aspx?pid=remotedesktopclient
http://www.microsoft.com/windowsxp/using/mobility/getstarted/remoteintro.mspx

VNC
http://ultravnc.sourceforge.net/
http://sourceforge.net/projects/cotvnc/
 
howesey said:
It can be done via SSH or telnet by using UNIX commands. I cannot remember off my head.
Uh, not really, considering it's running Windows XP. I don't think sudo shutdown -h now would give you anything other than an error.
That said, it's possible to install sshd on XP, and probably run whatever command in the prompt that would give the desired effect.
 
You can use Remote Desktop Connection to connect to the PC. Once you're connected go to Start > Run > CMD

From there type shutdown -t *countdown time here in seconds*

So if I wanted the PC to shutdown in 60 seconds I would enter this command in CMD:

shutdown -t 60

Badabing Badaboom
 
terriyaki said:
Once you're connected go to Start > Run > CMD

From there type shutdown -t *countdown time here in seconds*

So if I wanted the PC to shutdown in 60 seconds I would enter this command in CMD:

shutdown -t 60

Or press Ctrl-Opt-Del and click Shut Down :)
 
Hmm never knew about that. Thanks.

Also there is a way to remotely restart your PC as well. Just add '-r' to the end of that command line.

shutdown -t 60 -r
 
Unix command line

The comand is

net rpc shutdown 111.111.111.111 -f

The -f is a command that forces it to shut down.

Note. a password will be requested when you press enter. this is the administrator password of the remote machine
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.