Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Restart/Shutdown Windows Remote machine using DOS command prompt!!!  (Read 5572 times)

0 Members and 1 Guest are viewing this topic.

sajay

  • Guest

" shutdown /m \\Computer-name /r /t 01 /y /f "


1. /m\\Computer-Name -  Here the remote computer IP or Name is specified if not specified the local machine is   shutdown.
2. /r - This option gives instruction to restart the machine.
3. /t 01 - Here the time in seconds is specified for the system to hold the shutdown.
               By default it holds 20 seconds.
4. /y - Gives yes to all questions asked by the system when shutting down.
5. /f - This option is given to forcefully end all programs running in the system also can lead to loss of data.