You can use remote shutdown tool in Windows to remotely shut down, restart computer.
This will come in handy if you have multiple computers on your network that you want to quickly shutdown or restart and even abort the shutdown process that indeliberate performed.
Here are a couple of the most command switches and what actions they peform:
-s: Shuts down the computer
-r: Restarts the computer
-t Time to wait before reboot\restart to happen (in seconds)
-c Comment, beneficial to notify users currently logged on remote computer(s)
-m \\computername: remote shutdown of a computer
-f: Forces program to close immediately
shutdown –m \\computername –r –f –c “The computer will restart, please save all work.” –t 60
The command will restart the computer named computername, force all programs that are currently running to die, show a message to the user, and countdown 60 seconds before it reboot
Remote Shutdown via Shutdown Dialog
There is also another option for those who does not prefer to use command prompt to perform remote shutdown.
The option is to use Shutdown Dialog Box by trigger the command "Shutdown -i" by clicking Start, click Run, type "cmd" and typing shutdown -i in the black default DOS window.
A window will come up like following snapshot:
Click the Add or Browse button to add computers to the list. If you click Add, you’ll need to enter in the network name of the computer in the format \\computername.
You many add as many computers to the list as you like and then set your options. You can shutdown, restart, or logoff. You can also display a warning for however many seconds you like. You can type in a comment at the bottom which will be displayed to users.
You may also create a batch file containing the DOS command that mentioned earlier so that you can do all of this by just clicking on a file! But in case you are an administrator of an organization, you may need to aware to not simply execute the batch file or else you will get sacked,off course.
You may also schedule the batch file to be run at specific intervals using Windows Scheduler.
Open the Notepad in Run by typing Notepad instead going to Start->Programs->Accessories and type in the commands you would have typed into the command prompt:
This will restart three computers on your network. You would of course replace computername1 with the actual names of your computers. Then save it with a .bat file extension.