Are you getting a “Task Host Window is preventing shutdown” error on Windows?
Here’s the other error message, “To go back and save your work, click Cancel and finish what you need to”.
When this occurs, you’ll be stuck on a blue screen and your PC will fail to shut down.
In addition, there is no way to close the app that’s causing the error because it’s not specified.
In this guide, you’ll learn how to fix the Task Host Window is preventing shutdown error on Windows 10 or 11.
How to Fix Task Host Window is Preventing Shutdown
Fix 1: Scan for malware and remove them
- Go to malwarebytes.com and select “Free download”.
- Install Malwarebytes and run the app.
- Select “Scan” and wait for the scan to complete.
- Quarantine or remove the scanned malware.
- Try shutting down your PC again.
Editor’s note: This fix worked for me because I accidentally installed a file that contained malware and it prevented my PC from shutting down.
Fix 2: Turn off fast startup
- Search for “Control Panel” using Windows Search and open it.
- System and Security > Power Options > Choose what the power buttons do.
- Select “Change settings that are currently unavailable”.
- Disable “Turn on fast startup”.
- Select “Save changes”.
- Try shutting down your PC again.
Fix 3: Run the Windows update troubleshooter
- Search for “Troubleshoot settings” using Windows Search and open it.
- Select “Other troubleshooters”.
- Run the Windows Update troubleshooter.
- Select “I can’t download, install, or uninstall an update”.
- Select “Yes” to run the Windows Update automated diagnostic.
Fix 4: Update Windows to the latest version
- Search for “Check for updates” using Windows Search and open it.
- Select “Check for updates”.
- Select “Download & Install” if there’s an update available.
- Try shutting down your PC again.
Fix 5: Select “Shut down anyway”
- Select the Windows icon and select the power icon.
- Select “Shut down” and select “Shut down anyway”.
Further reading
How to Fix Sorry, Capcut Isn’t Available Right Now
How to Fix OBS Game Capture Black Screen
How to Fix “Your device isn’t part of the Netflix Household for this account”