You can time shutdown on your computer easily by creating a short VBScript that contains either only the shutdown command or shutdown command with an integrated second timer. If you do not add a timer, you can also use Windows' Scheduled Tasks function to have the computer shut down at a specific time. The VBScript to shutdown looks like this:

Set objShell = wscript.CreateObject("wscript.Shell")"shutdown /s")

If you want a timer, add

/t ***

to the quoted expression in the second line, where * is the number of seconds to count down. Enter this code into a notepad and save the file as .vbs. Do not save it as a text file.

Timed Shutdown on Windows
Tagged on:                         

2 thoughts on “Timed Shutdown on Windows

  • Avatar
    June 26, 2013 at 1:40 pm

    I am amazed and pleased by the work performed by this script file

  • Avatar
    June 26, 2013 at 1:41 pm

    please send us the script code


Leave a Reply

Your email address will not be published. Required fields are marked *