How to Fix Task Host Window Preventing Windows 11 Shutdown.

This is one of those annoying issues that everyone will get at some stage and prevents your computer from shutting down. Leaving it hung up on a stupid little text box that says - Task Host is Stopping background tasks. It's a super vague error message that doesn't give you any idea what to do in order to fix it so follow along as we guide you through all the known solutions for getting rid of it.

How to Fix Task Host Window Preventing Windows 11 Shutdown

Keep it simple! Close any of the background processes and programs that you aren't actually using. There is probably a problematic one that keeps causing the hangup so get rid of it.

End Task Host Process

If Task Host refuses to release control, manually terminating the process may help.

Disable Fast Startup

Fast Startup can sometimes leave tasks running, interfering with a smooth shutdown. Disabling it might help.

Run System Maintenance Troubleshooter

This built-in tool detects and fixes issues with background tasks that might be causing Task Host to stall shutdown.

Update Windows

Let any pending updates finish, sometimes updates that are waiting to finish their install can cause this error.

Check for Corrupted System Files

Damaged system files may prevent Task Host from closing properly. Running a scan can identify and repair these issues.

sfc /scannow

 

Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /RestoreHealth

 

Adjust Registry Settings

Modifying the registry to reduce service timeout can help Task Host terminate more quickly.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

Boot in Safe Mode

Booting into Safe Mode starts the system with a base Windows set of tools that will allow you to run certain processes without any interference.

Comments