Wednesday, March 4, 2009

Shut down a system in your network with DOS

First open your command prompt.Go to Start-->Run-->type out cmd
Type in Code:Net View
This will give you all the names for all the computers on the network.

Then you want to find a target so write it down for example a name is \\SUNIL-AD1950D6 then you will utilize that name to shutdown the computer.
What next? Next thing to do is type in

Code:shutdown -i

which will give you a Gui interface and you'll be able to shutdown whichever computer you want with it,you can set a timer.
some of the commands useful for the command interface are

Code:shutdown -m //computername
This command shuts down the system.

Code:shutdown -m -c "comment"
This command shuts down the pc with a comment.

Code:shutdown -l
This command logs off the users.

Code:shutdown -r
This command restarts the computer.

It only works for systems connected to same server in a work station.Use this code

Code:shutdown -m \\computername

CAUTION--FOR EDUCATIONAL PORPOUS ONLY

No comments: