Task Host Window Prevents Windows From Shutting Down. How To Easily Fix It?
The Task Host process can be seen running in the background when you open Task Manager and scroll through the running processes list. Task Host is a Windows system file that can be found in the Windows system 32 folder, however, it is usually hidden and can only be seen in Task Manager. It is a legitimate process and an essential part of process hosting. Seeing this process running is normal, however, some users have reported that it prevents Windows from shutting down.
Users have reported that they started experiencing problems with Task Host after they upgraded to Windows 10, however, this problem could affect other Windows versions as well. This problem often occurs when users are attempting to shut down the Windows operating system. The Task Host process is responsible for proper closure of opened/running programs to avoid any program or data corruption. For example, if you leave programs open and running, and then click the "Shut down" button, the Task Host window will appear and begin to stop running background tasks (such as opened programs) so that the computer shuts down properly.
This feature is useful and required for Windows to operate correctly each time you shut down or start the operating system. Some users, however, report that the Task Host window appears every time, even when there appear to be no open or running programs. Alternatively, Task Host attempts to close apps (or programs) but cannot do this successfully. It then continually retries for several hours - in this situation, it appears that Task Host is closing apps, but the computer never shuts down.
There are various solutions to this problem, depending on the cause. To fix the issue, you might need to edit Windows Registry, turn off fast start-up, change sign-in options, or run the Windows troubleshooter (if AutomaticAppUpdate is the cause of the problem). Read the guide below and follow the steps.
Table of Contents:
- Edit Windows Registry
- Turn Off Fast Start-Up
- Change Sign-In Options
- Run Windows Update Troubleshooter
- Clean Registry
- Update Windows
- Video Showing How To Fix A Problem With Task Host If It Prevents Windows From Shutting Down
Edit Windows Registry
Windows Registry, usually referred to as just 'the registry', is a collection of databases of configuration settings in Microsoft Windows operating systems. It is used to store much of the information and settings for software programs, hardware devices, user preferences, operating system configurations, and much more. Many of the options exposed in the registry are not accessible elsewhere in Windows. In this guide, we show how to reduce the shutdown time - i.e. control how long Windows waits before killing programs at shutdown. Normally, you would not need to change these settings, but reducing the time period given to close apps and shut down the computer, might solve the problem with Task Host preventing the computer from shutting down. First, open the Run dialog box. Press the Windows key + R or right-click Start and select "Run" and type "regedit". Press Enter or click "OK".
Now follow this path "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control" and right-click the "WaitToKillServiceTimeout" on the right-pane and select "Modify...".
You will need to enter a lower value than the current one. For example, if it is 20000, then Task Host is given 20 seconds to close apps and programs. Try to set the value data to 2000 (for 2 seconds) or to 5000 (5 seconds). We do not recommend that you set it below 2000. Click "OK" to save the changes.
Now follow this path "HKEY_CURRENT_USER\Control Panel\Desktop", right-click the "Desktop" key, select "New", and then "String Value" from the contextual menu.
Name the new string value as "WaitToKillServiceTimeout", right-click it and select "Modify...".
Set Value data to the same figure as the previously modified string and click "OK". Close Registry Editor and see if you are still having problems with Task Host preventing you from shutting down Windows.
Turn Off Fast Start-Up
Fast startup is a feature on Windows 10 (and also Windows 8) that provides a faster boot time when starting up your computer. It is a useful feature and one that most people use without knowing, however, some people disable it immediately when they receive a new computer with the Windows operating system. With the fast startup feature enabled, shutting down your computer might seem like you are completely shutting it down, but this is not entirely true, since it moves into a state between hibernation and shutdown. Leaving fast startup enabled should not harm your PC, since it is a Windows feature, but it could possibly cause problems with Task Host preventing your computer from shutting down. To disable Fast Startup, go to Search and type "power". Click on the "Choose power plan" result to open it.
In the Power Options window, click "Choose what the power buttons do".
Click on "Change settings that are currently unavailable" and then uncheck the "Turn on fast startup (recommended)" option if it is enabled. Click "Save changes" to save the changes made, restart your computer, and see if the problem is now solved.
Change Sign-In Options
Some users report that turning off the "Use my sign-in info to automatically finish setting up my device and reopen my apps after an update or restart" option solved the problem (if their Windows operating system was updated to version 1709 or later). To turn off this feature, go to Settings and select "Accounts".
Now select "Sign-in options" on the left pane and scroll down through the settings until you find the "Use my sign-in info to automatically finish setting up my device and reopen my apps after an update or restart" option under Privacy settings. Toggle the switch to the "Off" position. Restart your computer and see if you are still having problems with the Task Host window preventing Windows from shutting down.
Run Windows Update Troubleshooter
Windows includes a number of troubleshooters designed to quickly diagnose and automatically resolve various computer problems. Troubleshooters cannot fix all problems, but they are a good place to start if you encounter a problem with your computer, operating system or connected devices. If Task Host window shows that it is closing the "AutomaticAppUpdate" and Windows has problems with it, then the Windows Update troubleshooter might solve this problem. To start troubleshooting, go to Settings and type "troubleshoot", and select the "Troubleshoot" option from the list.
Find "Windows Update" under Get up and running and select it. Click "Run the troubleshooter" and see if it is able to fix this particular Task Host problem .
Additionally, we recommend that you run the "Power" troubleshooter. You can find it under the Find and fix other problems section. Select it and click "Run the troubleshooter".
If there are some registry corruptions, missing shared DLL's, unused file extensions, ActiveX and Class issues, obsolete software etc., then you might need to scan for issues and fix them to solve the problem with the Task Host window preventing Windows from shutting down. We recommend you try to fix registry entries using third-party software called CCleaner.
CCleaner is a small, effective utility for computers running Microsoft Windows. It cleans junk and issues that accumulate over time: temporary files, broken shortcuts, and other problems. It protects privacy, cleans browsing history and temporary Internet files, allowing you to be a more confident Internet user and less susceptible to identity theft. CCleaner can clean redundant files from various programs, thus saving hard disk space, remove unneeded entries in Windows Registry, help uninstall software, and select which programs start with Windows. You can download CCleaner from here.
When downloaded, install CCleaner and open it. Select "Registry" on the left pane and click "Scan for Issues". It will find various registry issues on your computer, to clean or fix them, click "Fix selected Issues...". Close CCleaner when you have finished fixing registry and see if you are still having problems with the Task Host window preventing Windows from shutting down.
Sometimes checking for the latest Windows updates and installing them can solve many problems. If Windows has not been updated for some time, check for updates manually and see if there are any updates to be installed. To check for Windows Updates, type "check for updates" in Search and click the "Check for updates" result.
You should be automatically directed to the Windows Update section. Click "Check for updates". Windows will start checking for updates. If there are updates available, install them. After updates are installed (if there were any to install), restart your computer and see if the problem persists.
We hope this guide was useful and you found a solution. If you know of other solutions to this problem, not mentioned in our guide, please share them with us by leaving a comment in the section below.
Video Showing How To Fix A Problem With Task Host If It Prevents Windows From Shutting Down: