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!

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


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 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.

65 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. I don’t know if it’s just me or if perhaps everyone else experiencing issues with your
    site. It seems like some of the text on your content are running off the screen.
    Can somebody else please comment and let me know if this
    is happening to them as well? This might be a problem with my web browser because I’ve
    had this happen before. Thank you

  10. Lea says:

    Having read this I thought it was very enlightening. I appreciate you spending
    some time and effort to put this content together.

    I once again find myself personally spending a significant amounnt of time both reading and postingg comments.
    But so what, it was still worthwhile!

    Heree is my blog post Lea

  11. Today, І went to the beacҺ ᴡitһ
    mү cҺiⅼɗгеn. I fοᥙnd а ѕᥱа sҺеll аnd gаνе
    іt tߋ mʏ 4 yᥱɑг
    οlԁ ɗаuɡһteг аnd ѕаiԁ “You can hear the ocean if you put this to your ear.” ЅҺe рlɑcᥱⅾ tһe ѕҺеll to heг ᥱɑг ɑnd
    Thеге աаѕ а Һᥱrmіt
    crab іnsіde аnd it ρincҺеd һег eɑг.
    Տhe neѵег ᴡаntѕ tⲟ ǥо Ƅacк!
    ⅬοⅬ Ӏ қnoԝ tҺіѕ іs tⲟtаlⅼу off
    toρіϲ but I hаɗ tо tеll ѕοmᥱߋne!

  12. Rob says:

    What is the /s and /f for?

  13. Κατασκευή Ιστοσελίδων, Κατασκευή Site, Με τις μεγαλύτερες πλατφόρμες CMS παγκοσμίως – WORDPRESS – JOOMLA – OPEN CART – PRESTA SHOP – MAGENTO We’re also a bunch of volunteers plus beginning a whole new structure within our group. Your site supplied people along with very helpful details to be able to work about. You’ve done an extraordinary undertaking in addition to each of our full community might be happy to you.

  14. Hello there his dad representative! I must claim that advantages and drawbacks wonderful, excellent authored are available along with somewhere around most important infos.. κατασκευή και προώθηση ιστοσελίδων I want to professional additional articles like that .

Leave a Reply