how to use remote shutdown command in vista
#1
Posted 25 June 2008 - 06:18 AM
#2
Posted 25 June 2008 - 07:51 AM
blastedtoys said:
I've got 2 computers with vista. They are both on the same LAN network but when i use the shutdown -m computername -s command nothing happens.. What can i be doing wrong??:|
use the administrative command prompt rather than a normal one. Type cmd in vista start menu , right click and run as administrator to get an adminstrative command prompt. Then write the shutdown command.
#3
Posted 25 June 2008 - 07:56 AM
#4
Posted 25 June 2008 - 08:15 AM
#5
Posted 25 June 2008 - 09:01 AM
#6
Posted 25 June 2008 - 11:43 AM
#7
Posted 25 June 2008 - 11:53 AM
The above method should also work , i cant relate it to any such that the password has to be same.
#8
Posted 25 June 2008 - 11:57 AM
#9
Posted 16 January 2010 - 02:46 PM
blastedtoys, on 25 June 2008 - 11:57 AM, said:
I have been using the following syntax with the same issues
bother server and client usernames and passwords are the same
from client cmd (ran as admin):
host machine name (trying to be shutdown": "server"
Win R, cmd
runas "/user:server\login" "shutdown -m \\server -f -s -t 05"
Enter the password for server\login: (typed in pw then hit enter)
it then opens a second cmd prompt which is blank, then closes...but nothing happens on server
#10
Posted 24 January 2010 - 01:22 PM
blastedtoys, on 25 June 2008 - 06:18 AM, said:
It looks like you are using the wrong syntax(s) on it. It is actually this:
shutdown -s -m \\otherpc -t 30 -c "Your message here"
You can replace -s with -r for restart. Replace otherpc with the actual name, but keep the \\ before it. The -t 30 is optional (if not specified 30 seconds will be used), and is in seconds. -c "Your message here" is also optional, but if you choose to use it make sure you keep the double quotes ", just replace Your message here with whatever you want.
Need a Windows ISO image?
#11
Posted 20 November 2012 - 05:54 PM
blastedtoys, on 25 June 2008 - 11:43 AM, said:
That didn't work because the person who brought it up made a bunch of typos. This should work: 'net use \\(computername)\IPC$ (password) /u:(computername)\(username)'
if you get an error that you can't connect to the same resource with multiple accounts, then 'net use' will tell you what is already mounted, and 'net use [whatever is mounted, like "\\[computername]\[share]"] /delete' will take care of that, then try the first command again.
After that, run 'shutdown /i' and you can pick your options in a nice fancy window. I successfully used this just now to shut down a remote machine on our network that was giving me fits. Or try to build the correct command line for that, which I suspect is your other problem. Every time I have ever used the shutdown command, I must use '/' switches, not '-' switches, it ignores the '-' ones in my experience, which would fit your statement that it "does nothing," as opposed to the problem I was having when I googled up this thread, which was "Access Denied" errors. Your idea about using "runas" might also work if you use '/' switches. (That is, maybe try 'runas "/user:server\login" "shutdown /m \\server /f /s /t 05"')
Thanks, other thread folks, for giving me the idea of mounting with net, I was a little surprised that there was no direct command switch to authenticate (at least 'shutdown /?' doesn't list anything about authenticating with the remote computer.)
Help











