Task Host Window, Task Host is stopping background tasks

Usually, while trying to shut down Windows, if a program remains unclosed, the operating system pops up a window asking to close the program or Shut down anyway. We could use either of the options to proceed. However, in some situations, a specific internal process could be prohibiting the shutdown/restart, and the user gets the error:

Task Host Window, Task Host is stopping background tasks

This usually occurs when there is an update file is preventing your PC updating.

Task Host Window, Task Host is stopping background tasks

The tough part here is that that a Clean Boot cannot be attempted to troubleshoot the issue since the system cannot be restarted unless we force shut down it.

Task Host Window, Task Host is stopping background tasks

If Task Host Window is preventing shut down, then these suggestions will help you fix the problem.

1] Try Windows Update Troubleshooter

  1. Click on the Start button and then on the gear-like symbol to open the Settings page.
  2. Select the option for Updates and Security and then click on the Troubleshoot tab to open the Troubleshooters Page.
  3. Scroll to find the Windows Update Troubleshooter in the list and run it.

If it fixes the issue, well and good, else proceed to the next step.

2] Restart InstallService Service

  1. Open Services Manager, scroll down and locate InstallService Service.
  2. Right-click on it and select Restart.
  3. Reboot your computer.

3] Change Sign-in option

Open Settings > Accounts. Now go to ‘Sign-In Options and scroll down to find ‘Use my sign-in info to automatically finish setting up my device after an update or restart under ‘Privacy’. Turn off this feature and see if it that works for you.

3] Turn Off Hybrid Shutdown/Fast Startup

While the Hybrid Shutdown/Fast Startup is used to speed up Windows, it might cause the issue mentioned here. Try the following steps to turn off Hybrid Shutdown/Fast Startup:

  1. Press Win+R to open the Run window and type the command powercfg.cpl.
  2. Among the options on the left-hand side, select “Choose what the power button does.”
  3. The click on the option “Change settings that are currently unavailable.”
  4. Uncheck “Turn on fast startup.”

4] Reduce shutdown time

Should all the solutions mentioned above fail, you could do the following:

  1. Press Win + R to open the Run window and type the command regedit. Press Enter to open the registry editor.
  2. Navigate to the path HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control.
  3. Right-click WaitToKillServiceTimeout in the right-pane and change the value to 5000.
  4. Now navigate to HKEY_CURRENT_USER/Control Panel/Desktop.
  5. Again, right-click WaitToKillServiceTimeout in the right-pane and change the value to 5000.

Setting this to a lower four digit value, (say 5000) will make your PC shutdown faster, but you could end up losing data or cause possible disk corruption, so use this tweak judiciously. Remember, Windows does not, in any case, recognize a 3-digit numeral here.

The steps mentioned above should help resolve your issue.

Posted by on , in Category Windows with Tags
Karan Khanna is a passionate Windows 10 user who loves troubleshooting Windows problems in specific and writing about Microsoft technologies in general.