RDC Shutdown

Discussion in 'Windows Desktop Systems' started by Geffy, Jan 3, 2007.

  1. Geffy

    Geffy Moderator Folding Team

    Messages:
    7,805
    Location:
    United Kingdom
    I frequently need want to shutdown my desktop machine over RDC on my Mac laptop. Usually because I have the monitor hooked up to the Mac as well and don't want to have to unplug it just to turn off my desktop.

    In the past I am sure that I just did something along the lines of "shutdown -t 10", disconnected and then a couple of seconds later the machine shut itself down.

    Now though whenever I try it I just the help bomph. I've tried "shutdown /t 10" as it would seem to indicate thats how it should be formatted but I still get the usage bomph each time.

    Anyone have any ideas whats going on here? Ideally I'd like to just hibernate the machine or something, but usually when I want to shutdown the machine I can't be bothered to go and find out how to do that when just trying to get the damn thing to shutdown is such a pain.

    The last couple of times I just resorted to logging off in Windows then holding down the power button until the motherboard cuts the juice. I know thats not the most favourable thing for a Windows machine, but I just get so frustrated trying to get it to do one simple thing that I dont care whats better for Windows, it just deserves whats damn well coming to it so to speak.

    So if anyone can shine any light on how to sort this out so I can easily shut down my desktop remotely I would be much obliged and I am sure my Windows machine will be the better for it.
     
  2. NetRyder

    NetRyder Tech Junkie Folding Team

    Messages:
    13,256
    Location:
    New York City
    I've tried the "shutdown" command a couple of times before, and it's worked for me. Check this out, and see if any of the alternatives work for you: http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx

    Also, if the Windows machine is nearby, you can also try using the Power Options in Control Panel to map the physical power button to shutdown/hibernate. That way, if you just push the power button (don't hold it down), it should shutdown or hibernate the machine, depending on your settings.
     
  3. American Zombie

    American Zombie Moderator Staff Member Political User

    Messages:
    2,932
    Location:
    Seattle
    I think you need the -s switch in there too or the machine will just log off and then go back to the login screen.

    shutdown -s -t 10
     
  4. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    As AZ pointed out, the -s switch is needed. I do this rather frequently, although I tend to use the -r (reboot) switch more often.
     
  5. fitz

    fitz Just Floating Along Staff Member Political User Folding Team

    Messages:
    4,076
    Location:
    Chicagoland
    what OS is the windows desktop running?
     
  6. Admiral Michael

    Admiral Michael Michaelsoft Systems CEO Folding Team

    If you run the remote desktop in full screen hitting ALT+F4 will actually bring up the shutdown box for the remote system. I've used this a few times.

    If it's not in full screen it will disconnect the session (will prompt you first).
     
  7. LordOfLA

    LordOfLA Godlike!

    Messages:
    7,027
    Location:
    Maidenhead, Berkshire, UK
    if you have xp style task bar click start > windows security, options to shutdown/restart should be present.
     
    Last edited: Jan 5, 2007
  8. Admiral Michael

    Admiral Michael Michaelsoft Systems CEO Folding Team

    I'm trying to decipher what you're trying to suggest Lord.
     
  9. Geffy

    Geffy Moderator Folding Team

    Messages:
    7,805
    Location:
    United Kingdom
    Windows XP x64 which oddly translates into some kind of Windows 2003 thinger

    I'll have to try the Alt+F4 thing. Many thanks so far I will report back when I boot my desktop machine tomorrow morning (off to bed now)
     
  10. LordOfLA

    LordOfLA Godlike!

    Messages:
    7,027
    Location:
    Maidenhead, Berkshire, UK
    what I said is fairly obvious if you login to a windows machine via remote desktop :)
     
  11. Geffy

    Geffy Moderator Folding Team

    Messages:
    7,805
    Location:
    United Kingdom
    The Alt+F4 trick worked. Thanks all :D

    LordOfLA the security thing brings up Task Manager which will then let you shutdown, restart or logoff. Alt+F4 is nicer as you can standby or hibernate as well.
     
  12. LordOfLA

    LordOfLA Godlike!

    Messages:
    7,027
    Location:
    Maidenhead, Berkshire, UK
    Cool!

    Though since my machine(s) are either off or on, I never went looking for an option to suspend/hibernate.