Windows Won’t Shutdown or Restart

Posted on October 30th, 2008 by Jason

Have you ever clicked on the Shutdown or Restart button in Windows and have absolutely nothing happen? Sometimes Windows gets stuck because of some process that has become hung, meaning it is running, but can’t be ended in the normal way.

Hence, you try to shutdown or restart your computer, nothing happens at all. If you’re lucky, after a minute or two, you might see a message pop up saying that a process is hung and you can either let Windows try to end it or you can press End Now. I always prefer End Now!

Unfortunately, sometimes Windows simply refuses to shutdown and it won’t give you any kind of message. Don’t worry, the underlying cause of this is still a hung process, so all you need to do is kill the non-critical Windows processes one by one or modify the registry so that a hung process is automatically ended without manual intervention. I’ll explain both methods.

Kill Windows Processes Using Task Manager

If you want to figure out exactly which process is preventing Windows from shutting down properly, then you need open the Task Manager and start ending processes one by one. To open the Task Manager, press CTRL + ALT + DEL and press the Task Manager button.

You can also press CTRL + SHIFT + ESC and the Task Manager will start up automatically. Click on the Processes tab and press the User Name column header to sort the processes by user.

Now beginning ending each process that has a user name that matches the current user name of the Windows account you are logged into. Do not kill the Local Service, Network Service or System processes. Those are usually not the cause of the hang. Once you kill the process that is holding up the shutdown process, Windows will be begin shutting down immediately, so make sure you remember the name of each process before killing it.

Automatically Kill Processes via Registry

You can also modify a registry key so that Windows will automatically kill any process that is hung. This will ensure Windows will shutdown or restart when you ask it to. Open the registry by clicking on Start, then Run and typing in regedit.

Navigate to the following registry key:

HKEY_USERS\.DEFAULT\CONTROL PANEL\DESKTOP

In the right hand pane, double click on AutoEndTasks and change the value from 0 to 1.

Now simply reboot your machine and hung processes will be ended automatically when you restart or shutdown your computer.

NOTE: Whenever modifying any keys in the Registry, be sure to make a backup of the entire Registry in case something goes wrong.

Tags: , , , , , , , , , , , , ,

Related posts

3 Responses to “Windows Won’t Shutdown or Restart”

  1. Timothy King on 10 Nov 2008 at 1:10 am #

    Thank you so much!!! That was driving me crazy until I found this page. I had formatted the computer twice because of this problem. It was a flash player install plugin that didn’t like Google Chrome that was hanging the system. I didn’t figure that out until I read this article.

  2. Alan Chadwick on 29 Oct 2009 at 12:55 pm #

    Widow 7 will NOT shut down automatically I have to doit Thru the tower switch

  3. John Dennis on 17 Feb 2010 at 4:57 am #

    Dear Jason,

    Your article great articl about getting WinXP to shutdown properly was great. But I now have Win 7 and it would be very helpful to have the same solution to be applied to Win 7 since I am not an expert. For instance, you describe how to “kill the processess via the registry.” And then you say to navigate to: HKEY_USERS\.DEFAULT\CONTROL PANEL\DESKTOP

    But I tried this in Win 7 and nothing looks like this in 7.

    So, do you have / could you provide the same steps to be applied to WIn 7? I would greatly appreciate it!

Leave a Reply