{"id":4496,"date":"2008-10-27T09:00:46","date_gmt":"2008-10-27T03:30:46","guid":{"rendered":"https:\/\/www.quickonlinetips.com\/archives\/?p=4496"},"modified":"2020-04-16T12:43:17","modified_gmt":"2020-04-16T07:13:17","slug":"troubleshooting-windows-wont-shutdown-or-restart","status":"publish","type":"post","link":"https:\/\/www.quickonlinetips.com\/archives\/2008\/10\/troubleshooting-windows-wont-shutdown-or-restart\/","title":{"rendered":"Troubleshooting: Windows Won&#8217;t Shutdown or Restart"},"content":{"rendered":"<p>Have you ever clicked on the <strong>Shutdown or Restart button<\/strong> 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&#8217;t be ended in the normal way.<\/p>\n<p>Hence, you try to shutdown or restart your computer, nothing happens at all. If you&#8217;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 <strong>End Now!<\/strong><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-4517\" title=\"windows end now \" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/windows-endnow.gif\" alt=\"windows end now\" width=\"354\" height=\"243\" \/><\/p>\n<p>Unfortunately, sometimes Windows simply refuses to shutdown and it won&#8217;t give you any kind of message. Don&#8217;t worry, the underlying cause of this is still a hung process, so all you need to do is <strong>kill the non-critical Windows processes<\/strong> one by one or modify the registry so that a hung process is automatically ended without manual intervention. I&#8217;ll explain both methods.<\/p>\n<h2>Kill Windows Processes Using Task Manager<\/h2>\n<p>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 <strong>CTRL + ALT + DEL<\/strong> and press the <strong>Task Manager<\/strong> button.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-4518\" title=\"ctrl alt del task manager\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/ctrlaltdel-taskmanager.gif\" alt=\"ctrl alt del task manager\" width=\"416\" height=\"298\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/ctrlaltdel-taskmanager.gif 416w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/ctrlaltdel-taskmanager-300x214.gif 300w\" sizes=\"(max-width: 416px) 100vw, 416px\" \/><\/p>\n<p>You can also press <strong>CTRL + SHIFT + ESC<\/strong> and the Task Manager will start up automatically. Click on the <strong>Processes<\/strong> tab and press the <strong>User Name<\/strong> column header to sort the processes by user.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-4519\" title=\"task manager processes\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/taskmanager-processes.gif\" alt=\"task manager processes\" width=\"311\" height=\"216\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/taskmanager-processes.gif 311w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/taskmanager-processes-300x208.gif 300w\" sizes=\"(max-width: 311px) 100vw, 311px\" \/><\/p>\n<p>Now beginning ending each process that has a user name that matches the current user name of the Windows account you are logged into. <strong>Do not kill the Local Service, Network Service or System processes<\/strong>. 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.<\/p>\n<p>Once you&#8217;ve figured out the process name, <strong>uninstall that program or repair it<\/strong>. You can also search on Google for the process name if it is not something obvious like Safecfg.exe, etc.<\/p>\n<h2>Automatically Kill Processes via Registry<\/h2>\n<p>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 <strong>Start<\/strong>, then <strong>Run<\/strong> and typing in <strong>regedit<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-4520\" title=\"start run regedit \" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/startrun-regedit.gif\" alt=\"start run regedit&lt;br \/&gt;\" width=\"343\" height=\"183\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/startrun-regedit.gif 343w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/startrun-regedit-300x160.gif 300w\" sizes=\"(max-width: 343px) 100vw, 343px\" \/><\/p>\n<p>Navigate to the following registry key:<br \/>\nHKEY_USERS.DEFAULTCONTROL PANELDESKTOP<\/p>\n<p>In the right hand pane, double click on <strong>AutoEndTasks<\/strong> and change the value from 0 to 1.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-4521\" title=\"autoend tasks\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/autoend-tasks.gif\" alt=\"autoend tasks\" width=\"468\" height=\"215\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/autoend-tasks.gif 468w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/autoend-tasks-300x137.gif 300w\" sizes=\"(max-width: 468px) 100vw, 468px\" \/><\/p>\n<p>Now simply reboot your machine and hung processes will be ended automatically when you restart or shutdown your computer.<\/p>\n<p>NOTE: Whenever modifying any keys in the Registry, be sure to make a <strong>backup of the entire Registry<\/strong> in case something goes wrong.<\/p>\n<p><em>This is a guest post by Aseem Kishore, the lead blogger for HelpDeskGeek, which focuses on providing Help Desk tips to IT Professionals.\u00a0 <\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have you ever clicked on the Shutdown or Restart button in Windows and have absolutely nothing happen? Sometimes Windows gets&#8230;<\/p>\n","protected":false},"author":4,"featured_media":4518,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[23],"tags":[44],"class_list":["post-4496","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computers","tag-guest-posts"],"_links":{"self":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/4496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/comments?post=4496"}],"version-history":[{"count":0,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/4496\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media\/4518"}],"wp:attachment":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media?parent=4496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/categories?post=4496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/tags?post=4496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}