Whenever you shut down your Windows PC, Windows is responsible for securely saving your data and closing all of the open applications. This step is highly important as it ensures that none of your data gets corrupted. Not only that but unless all of the running applications and process are terminated, a computer can’t be turned off. Therefore, if due to any reason the shut down process in Windows 10 gets interrupted, your PC will not be able to turn off. And today we are to talk about such an error where the Task Host Window Prevents Shut Down in Windows 10. We will be taking a look at the possible causes of this issue in a Windows 10 computer as well as how you can fix it.
Causes of Task Host Window prevents Shut Down in Windows 10
As the name tells, this error is faced by the user when the Task Host Windows causes interference with the shut down process. The Task Host is, in fact, responsible for closing all of the applications and process open in Windows 10 after you have clicked on shut down. But sometimes once the task host has closed all of the processes and saved your work, it is not able to close itself. And due to this, the user faces the error where the task host window prevents shut down in Windows 10.
How to Fix Task Host Window prevents Shut Down in Windows 10?
Now coming to the possible fixes for this issue in Windows 10, there are a lot of things that you can try. Since this error causes issues while turning off your computer, it can be quite frustrating. The first thing that you can try in order to fix this issue is to make sure that you have manually closed all of the open programs in Windows 10. But, if you are still experiencing this issue in your computer make sure to go through all of the given solutions one by one:
Boot into Safe Mode in Windows 10
Whenever you’re facing issues in Windows 10 you can boot into safe mode to overcome them. By booting into Windows 10, multiple features and options are disabled in your PC that can help in fixing the issue. Similarly, if you’re facing issues while turning off your computer due to Task Host you can try booting into safe mode in Windows 10. In order to boot into safe mode in Windows 10 you have to follow the given steps:
- First, press the Windows Key on your keyboard to open the start menu.
- Now, click on the power icon and while holding shift on your keyboard, select Restart.
- Doing so will restart your computer, and once Windows 10 has booted, you will see that you are in the safe mode.
- If you’re not facing the shut down issue while in safe mode in Windows 10, then you are facing the task host issue due to a third party software. In such a case you should uninstall any recently installed application from your Windows computer.
Disable Fast Startup in Windows 10
Since the aforementioned issue is related to turning off your PC, things like fast startup can be the reason for the error. The fast startup feature in Windows 10 is quite useful since it saves a lot of time on the user’s side. It simply makes your computer boot much faster into Windows 10 by tweaking different processes. But it can cause issues with the Task Host application interrupting the shut down process in Windows 10. In such a case you can simply disable Fast Startup from the control panel by following these instructions:
- Using Windows Search open Control Panel in Windows 10.
- In here, go to Hardware and Sound and open Power Options.
- Now, from the left side pane, select Choose what the power buttons do.
- After that click on Change settings that are currently unavailable which will highlight more options at the bottom part of the window.
- Finally, disable Turn on fast startup (recommended) option and click on Save changes to save these settings. Once you have restarted your computer after changing these settings, Task Host should not cause any issues while turning off your PC.
Scan and Fix Corrupted and Missing System Files in Windows 10
Many errors and issues found in Windows 10 are mostly due to corrupted or missing system files. Since all of the important files and process are dependent on the system files, the user will start facing problems if these files get corrupted. And as the Task Host process also works using the system files, it might also have issues due to corrupted system files. To fix such an issue you can simply use Windows 10’s inbuilt commands to scan and fix all of the corrupted system files as shown here:
- To run the required commands in Windows, open Command Prompt by pressing Windows Key + R on your keyboard and typing cmd in here followed by enter.
- Once you’re inside the command prompt, type sfc /scannow and press enter.
- After that, type these commands one by one followed by an enter:
- Dism /Online /Cleanup-Image /CheckHealth
- Dism /Online /Cleanup-Image /ScanHealth
- Dism /Online /Cleanup-Image /RestoreHealth
- Finally, once you have run these commands in Command Prompt, simply restart your computer which will successfully fix all of the corrupted system files in Windows 10. This will fix the shut down issue in your computer if it was caused due to corrupted system files. Not only that but since the DISM command uses internet, it means that even if some system files are missing from your computer, it will simply redownload them from Microsoft servers resolving your issue.
We hope that you’ve successfully fixed the Task Host Window prevents Shut Down error in your Windows 10 PC. We are pretty sure that at least one of the fixed mentioned above has worked for you and you’re not facing the shut down error on your computer. In case you liked this article, then make sure to share it on social media. If you have any doubts regarding any of the solutions, feel free to ask any queries in the comments section below.