Windows 7 schedule auto shutdown

April 26th, 2009

Below is a simple example about how to schedule shutdown your windows 7 automatically.

 

Method 1: automatically shutdown windows 7 using at command

 

1.Create a bat file,for example, “shutdown.bat” (Customize folder options to show file extensions ,then create a text file and rename it to shutdown.bat ,then right click this bat file and click Edit)

2.Add the following lines to this file

@echo off
 
at 22:50 /every:M,T,W,Th,F,S,Su shutdown -s -t 60 -c "Too late,it's time to go to bed!"
 
echo Done!
 
pause&end

3.Right-Click this file then click Run as administrator

runasadministrator

4.(Optional)To remove this job,just open an Open an Elevated Command Prompt  ,type command  at ,press Enter to find the Job ID,then use

at ID /delete

to remove this job

 

Updated 2011/10/19:

1 .Alternatively you can combine steps 1~3 by running the 2nd line code as a command in Elevated Command Prompt without creating a bat file

2.You also can refer Schedule a  task in Windows 7 to see how to schedule auto shutdown using Task Scheduler

 

Method 2: automatically shutdown windows 7 using  Task Scheduler

 

1.Click Start ,type scheduler in your search box then Hit Enter to open Task Scheduler

2.click Create Basic Task

3.Input your task name and description,then click Next

4.Select Daily(selected by default) then click Next

5.Choose the time that you want to shutdown your windows 7,then click Next

6.Choose Start a program ,then click Next

7. Click Browse and select C:\Windows\System32\ and selece shutdown.exe then add below line as argument

/s /f /t 90 /c "System will be shutdown within 90 Seconds"

8.Done.Now system will automatically shutdown your windows 7 at the time you choose every day.

61 Responses to “Windows 7 schedule auto shutdown”

  1. Prawo jazdy says:

    Pretty part of content. I simply stumbled upon your weblog and in accession capital to say that I get actually enjoyed account your blog posts. Anyway I will be subscribing in your feeds or even I achievement you access persistently rapidly.

  2. Lord John says:

    Thanx heaps men you have made a simple task so EASY

  3. Kathy says:

    If it’s supposed to auto-shutdown, it doesn’t work.

  4. Ared says:

    @Kathy you’re supposed to be in the kitchen

  5. Chivo says:

    Nice! Works perfectly.

  6. JOSEA says:

    The task scheduler method works flawlessly – I did check the box to “run with highest privledges”
    Many kudos to the author!

  7. Kathy says:

    @Ared you’re supposed to be killing something- enemy males/dinner/whatever

    but you can’t of course because you’re a too weak, as well as stupid

    make your own fucking dinner you extraneous piece of undershoe detritus

  8. alinuxg says:

    Thanks very much for these clear instructions on shutting down! I prefer your instructions with screenshots rather than videos.

  9. And it does incur some pretty large open trade draw downs (DD) to achieve this.
    Click here to get your “Master Plan of The Forex Millionaires”
    FREE. Excessive leverage in forex can practically make your account vanish in no time, in the event the market does not abide with your decisions.

  10. I think that ѡhat уоu saіd աas very logical. But, what aboսt tҺis?

    աhat if yoս composed a catchier title? I meаn, I don’t ish tߋ tell you how tto run your website,
    however suppose youu аdded а post title tɦat grabbed people’s attention? ӏ mewan Windows 7 schedule auto shutdown

Leave a Reply