How to fix Task host and speed up slow shutdown in Windows 10/8

When I open Start menu and try to shut down my Surface Pro tablet or other Windows 10 computer, the system always run into slowing process and sometimes displays the error message “Task host window is stopping background tasks (\Microsoft\Windows\WindowsUpdate\Automatic App Update)”. But there is no any open app and programs so I have to hold down the power button to force shutting down. Any way to prevent this from happening or speed it up?

The Task host process is not a virus or malware, and is used for ensuring that all of previously running programs were closed properly without making the data of program to be corruption. If the System Files are not corrupt or missing, you could set up a short time to let the Windows 10 system wait for running applications and services to stop before shutting down the device.

How to Fix Task Host Window Prevents Shut Down in Windows 10/8
* Press Win + R from your keyboard, type regedit into Run dialog box, and hit Enter to open the Registry Editor.
* Navigate to the location below in left pane:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

* Highlight the Control key and go to its right side pane. Double click on WaitToKillServiceTimeout string with REG_SZ type, change its value data to 2000, and click OK.
By default the value is 12000 and must be between 1000 and 20000. The number is how many milliseconds and Windows 10 use it to wait for everything closing.
* Go to another path:

HKEY_CURRENT_USER > Control Panel > Desktop

In its right pane, right click any empty area, select New > String Value, name it as WaitToKillServiceTimeout, and also set its value data to 2000.
* Finally make a rebooting to apply changes.

test2

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>