Registry Hack: Automatically Kill All Running Programs At Shutdown
Written by Saman Sadeghi on July 23, 2007 Add comments
This is a pretty big pet peeve of mine: When trying to shut down the computer, I get message boxes telling me that a program is still running! I always close all programs before I shut down, but that doesn’t actually mean that the program has closed - some programs still run in the background!
This Registry Hack will automatically kill all programs that are running, either in the background or in the foreground, upon shutdown.
As always, please read this important information on editing the System Registry.
How To
- Hit the Windows Key+R, type regedit into the run dialog and hit OK.
- Now that you’re in the the Registry, navigate to this key:
HKEY_CURRENT_USER\Control Panel\Desktop

- Double click the AutoEndTasks key (in the right pane) and change the Value Data to 1
- Close the Registry and restart your machine to enable the change!
Now, when you shut down this computer, all programs will be killed and the computer shouldn’t be delayed!
Frog Mario Hops For These Related Posts:
omg that is soo annoying. i hate when i go to shut down my desktop, come back half an hour later and there’s that prompt telling me there’s a program still running! argh! thanks saman, i’m bookmarking this page for when i get home!
You are certainly welcome! This time should take care of that problem for you!
Thanks for the tip.
I was looking all over the Internet for this. 
Sweet! I like what I see on your site too!
Thanks!
Nice! I always get this one that has Chinese writing! I have no idea what it is, but it’s annoying nonetheless.
This freeware solves this problem too, provides even hotkeying or shortcuts for really fast shutdown.
http://www.ergoworx.net/fsd/index.html
Sounded nice to me as well and applied it.
But when I tried to save an image opened on my firefox browser using the right click menu, I had to wait longer than before. The destination folder window’s opening sequence got slower. Then I restored previous data (0) and the problem is solved.
I do not know whether it just happened to me but I would like to inform you about the situation.
This Registry Key has nothing to do with Firefox, this is a deep system level edit - Must have been a hiccup, but thanks for the info!
WOAH AWESOME! This place is so full of useful goodness. *BOWS*
Hello!
I took your post and translated to Portuguese and posted on my portfolio.
There’s any problem?
I putted your credits, ok?
Fe. Køs - Digital Designer
http://portfoliofekos.wordpress.com
[…] down and have it tell you some crap is still running. So does he. He tells you how to avoid it in Registry Hack: Automatically Kill All Running Programs At Shutdown. Such an annoying situation. Just shut down already! Saman isn’t always serious though. He […]
AutoEndTasks.reg:
Windows Registry Editor Version 5.00
;Automatically kill all running programs at shutdown
;1 to enable 0 to disable
[HKEY_CURRENT_USER\Control Panel\Desktop]
"AutoEndTasks"="1"