Page 1 of 1

Command Prompt Shutdown

Posted: Thu Mar 09, 2006 1:00 am
by beef
My roomate and i are trying to figure out how to shut down computers on our school nextwork using the comand promt on windows xp.

we know that the code is something like: shutdown -r -m \\"computer name"

the big thing is we arent sure what to put in for the computer name, and cant seem to get it to work.

Posted: Thu Mar 09, 2006 7:14 am
by b-man1
remote shutdown via computer management:

http://www.microsoft.com/resources/docu ... eboot.mspx


command line:


Although shutting down the computer from the Start menu is faster and easier, the shutdown command can also be issued at a command prompt to shut down the computer. The shutdown command also offers parameters to log off a user, restart the computer, and abort a system shutdown. If you ever have to boot to the command-line to troubleshoot a problem, you'll want to know how this command works. To shut down the computer and experiment with other options:

1. Close all open programs to avoid loss of data.

2. Open Command Prompt from the shortcut created in the previous section or by clicking Start, pointing to All Programs, pointing to Accessories, and clicking Command Prompt.

3. At the command prompt, type shutdown -s. Press Enter or Return on the keyboard. A shutdown dialog box opens.

4. To abort the shutdown in progress, at the command prompt, type shutdown -a.

Other options include -r to restart the system, -m \\computername to shut down a remote computer, and -l to log off of the computer. To see all the options, type shutdown /? at the command prompt.

-------------------------

for the name, use the netbios name...if that doesn't doesn't do it, try the IP address as well.

Posted: Thu Mar 09, 2006 2:24 pm
by beef
we were more looking into shutting down one of our roomates computers. he did it a lot in high school, but he couldnt remeber exactly how to do it. its not a life or death matter, just kinda like a personal goal we would like to accomplish. that way maybe we can teach our roomate there is more to life then final fantasy.

Posted: Thu Mar 09, 2006 6:29 pm
by Shadow250
Which Final fantasy?

Posted: Fri Mar 10, 2006 7:36 am
by 123cool
wont help you do this cause switching off his computer just gonna annoy him and keep him in rather than get him out.