Pages

Monday, September 24, 2012

How to shutdown windows with command prompt

Sometimes, we don't want to shutdown computer directly, but after next hours because the downloading process that has not been completed. We can do that using command prompt. The following are the steps to do that :
  1. Open the command prompt: Windows Key + R
  2. type the command :
     
    cmd
    
  3. To shutdown local machine with specified time, type this command for example :
     
    shutdown -s -t 60
    

    while 60 is number of seconds before the computer is shutdown.
  4. To shutdown remote machine next 60 second, you can use this command :
     
    shutdown -s -m \\desktop -t 45
    

    while \\desktop is computer ip address or hostname
  5. To cancel shutdown you can use this command :
     
    shutdown -a
    
  6. To get more command you can use help as below :
     
    shutdown --help
    

No comments:

Post a Comment

Don't Forget To Join Our Community
×
Widget