Shutdown two Computers that are Networked together.

Status
Not open for further replies.

devarajan

Journeyman
Joined
Feb 26, 2006
Messages
214
Shutdown two Computers that are Networked together:

*open command prompt

*start---> run---> cmd

type---> shutdown... it'll give what switches available.


Code:
Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-d up:xx:yy] 

No args Display this message (same as -?) 
-i Display GUI interface, must be the first option 
-l Log off (cannot be used with -m option) 
-s Shutdown the computer 
-r Shutdown and restart the computer 
-a Abort a system shutdown 
-m \\computername Remote computer to shutdown/restart/abort 
-t xx Set timeout for shutdown to xx seconds 
-c "comment" Shutdown comment (maximum of 127 characters) 
-f Forces running applications to close without warning 
-d [u][p]:xx:yy The reason code for the shutdown 
u is the user code 
p is a planned shutdown code 
xx is the major reason code (positive integer less than 256) 
yy is the minor reason code (positive integer less than 65536)


ALTERNATIVE - FOR NETWORK:


Start>Run>Cmd, then type in shutdown, and gives that info .


Code:
shutdown -m bob

If bob was the pc name.
:wink:
 

vijay_7287

Cyborg Agent
Joined
Aug 12, 2005
Messages
1,148
thx
but can u tell me how to shutdown a PC on DOS
is there any command or is switchin off the system is the only way
 

theraven

Technomancer
Joined
May 5, 2004
Messages
2,889
the above can be found by typing shutdown /? at the command prompt
and copy pasting it here isnt much effort
wheres the tut in that ?
i suggest u ponder over ur definition of tutorials and maybe check what ppl want from the requests thread before posting anymore
 

im

Right off the assembly line
Joined
Mar 28, 2006
Messages
2
Excuse me
I have tried your option in windows server 2003 which is connected to the network of 6 clients but the command you have supplied here have futher asked for the other syntax?
 

Zeeshan Quireshi

C# Be Sharp !
Joined
Jun 9, 2006
Messages
1,801
Maybe the advanced security measrues in windows server systems doesn't allow this type of shutdown !
 
Status
Not open for further replies.
Top