-
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?
-
Re: LAN shutdown help
Same username on both machines?
-
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.
-
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?
-
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
-
Forum Rules