Remotely shut down XP from OSX?

Discussion in 'macOS' started by Dagless, Apr 1, 2006.

  1. Dagless macrumors Core

    Dagless

    Joined:
    Jan 18, 2005
    Location:
    Fighting to stay in the EU
    #1
    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.
     
  2. edesignuk Moderator emeritus

    edesignuk

    Joined:
    Mar 25, 2002
    Location:
    London, England
  3. Dagless thread starter macrumors Core

    Dagless

    Joined:
    Jan 18, 2005
    Location:
    Fighting to stay in the EU
  4. edesignuk Moderator emeritus

    edesignuk

    Joined:
    Mar 25, 2002
    Location:
    London, England
    #4
    Then you can just remote on to it using the remote desktop client for mac, and shut it down normally.
     
  5. howesey macrumors 6502a

    Joined:
    Dec 3, 2005
    #5
    It can be done via SSH or telnet by using UNIX commands. I cannot remember off my head.
     
  6. superbovine macrumors 68030

    superbovine

    Joined:
    Nov 7, 2003
    #6
    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/
     
  7. Counterfit macrumors G3

    Counterfit

    Joined:
    Aug 20, 2003
    Location:
    sitting on your shoulder
    #7
    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.
     
  8. terriyaki macrumors 6502a

    Joined:
    Aug 4, 2005
    Location:
    Vancouver
    #8
    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
     
  9. Nermal Moderator

    Nermal

    Staff Member

    Joined:
    Dec 7, 2002
    Location:
    New Zealand
    #9
    Or press Ctrl-Opt-Del and click Shut Down :)
     
  10. terriyaki macrumors 6502a

    Joined:
    Aug 4, 2005
    Location:
    Vancouver
    #10
    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
     
  11. steelfist macrumors 6502a

    Joined:
    Aug 10, 2005
    #11
    i would use vnc to control my other computers to do everything including to restart.
     
  12. mullmeister macrumors newbie

    Joined:
    Jul 3, 2009
    #12
    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
     

Share This Page