Thursday 16 June 2011

Shutting down the computes on the Network

Shutting down the computes on the Network

Shutdown pc using command
Shutdown is the inbuild windows command to shutdown the system.
Now what if you wana shutdown PC automatically.

"For windows7" command can be used to shutdown the systems.

for /l %i in (1,1,254) do shutdown ''160.161.0.%i

For windows xp, single line is sufficient to log off:

for /l %i in (1,1,254) DO shutdown ''162.161.0.%i /l


where 160.161.0 is your Network ID.


Since windows server 2003 is server, you have to explicitly mention the reason to shutdown the system.

for /l %i in (1,1,254) do shutdown /r /m ''160.161.0.%i /d p:2:18

For help ,
Type shutown /? command in the command prompt. Several attributes a available with shutdown command.

NOTE:
These commands can shutdown the system without letting other users know. Though System admins can catch you by looking at the logs.
Warning!!you dont wana do that ...


Remember above given information is only for educational purpose...!!!

No comments:

Post a Comment