Results 1 to 5 of 5

Thread: LAN shutdown help

  1. #1
    rawrnomnom diluzio91's Avatar
    Join Date
    Jan 2010
    Posts
    2,471

    Default LAN shutdown help

    I'm trying to remote shutdown my desktop from my laptop and when i give the command

    shutdown -s -m \\desktop

    i get

    desktop: access is denied (5)

    Any idea what im doing wrong?
    Not dead yet

  2. #2
    Its not cool till its watercooled. Fuganater's Avatar
    Join Date
    Oct 2007
    Location
    Kinshasa, DRC
    Posts
    2,843

    Default Re: LAN shutdown help

    Same username on both machines?

  3. #3
    Administrator OvRiDe's Avatar
    Join Date
    Dec 2005
    Location
    Tulsa, OK
    Posts
    4,586

    Default Re: LAN shutdown help

    ^ This.. and that it is an administrator on the box you are trying to shutdown, or the account exists on both machines and is an administrator.

    You might check out PSShutdown as an alternate command. it allows you to specify user credentials in the command line. Its part of the PSTools suite but it is free to download from MS.

  4. #4
    rawrnomnom diluzio91's Avatar
    Join Date
    Jan 2010
    Posts
    2,471

    Default Re: LAN shutdown help

    rats, no, its a different username on the 2 machines.

    I'll try PSShutdown

    Silly question, but how do i install it?
    Not dead yet

  5. #5
    Administrator OvRiDe's Avatar
    Join Date
    Dec 2005
    Location
    Tulsa, OK
    Posts
    4,586

    Default Re: LAN shutdown help

    They are just command executables so you don't need to install them.. just run them. So if you put them in a folder in the root of C: called PSTools. You would just type something like into your command line:

    c:\PSTools\Psshutdown \\desktop -u deluzio -p -s -f

    OR you could add the C:\PSTools to your path or just copy the PSTools folder to a location that is already in your path and then you would be able to just type psshutdown etc etc... I usually just copy it to the windows\system32 dir.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •