How to Fix Task Host Window Preventing Shutdown?

By Dominic Chooper on March 27, 2023

If you’ve ever experienced the frustrating problem of your PC not shutting down due to the Task Host window, you’re not alone. This issue can be caused by a variety of factors, including failed updates, unsaved data, and conflicting third-party services.

Fortunately, there are several ways to fix the issue and get your computer to shut down properly. In this article, we’ll explore the various reasons why the Task Host window may be preventing your PC from shutting down and provide step-by-step instructions for fixing the problem.

Whether you’re a beginner or an experienced user, you’ll find helpful tips and tricks to overcome this annoying hurdle.


Why the Task Host Window Prevents Shutdown?

One of the most common reasons for the Task Host window to prevent shutting down your PC is some sort of problem with the automatic update feature of Windows. Any corrupted, failed or pending updates may also result in such an issue.

Well, there are also a few other primary reasons for your computer failing to shut down due to the Task Host window. These are:

How to Fix Task Host Window Preventing Shutdown?

How to Fix Task Host Window Preventing Shutdown

One common way to resolve the Task Host window preventing shutdown issues is to disable the Fast Startup feature. You may also try making changes in the Registry to solve this problem.

Apart from that, updating Windows, cleaning viruses and malware, removing all third-party services that may be conflicting with Microsoft updates, and a lot more methods can be followed to put things back on the right track.

Method 1: Change the Value Data of Start

The Task Host window may interfere with the background tasks and prevent the PC from shutting down. In such a situation, changing the Value Data will resolve the issue.


(Alternatively, you can Press the Windows and R keys together).

Rub app





Now, restart the PC.

Method 2: Disable Fast Startup and Change Value Data of Service Timeout

Sometimes, there may be some issues in the system control that may interfere with the service timeout function, especially when you are working on an Excel file and give a shutdown command to the operating system.

In such a situation, making changes in this specific control of the system after disabling the fast startup feature will also resolve the issue.



Choose what power button does

Change settings that are currently unavailable

Turn on fast startup


Edit String


Now, restart your computer.

Method 3: Change the Sign-In Option

The sign-in options may also cause problems at times and prevent shutting down of the PC by the Task Host Window.

So, making small changes in it may resolve the issue easily as well.


Select Settings

Choose Accounts from the Settings window

options

Finally, close the windows and restart your system.

Method 4: Running Windows Update Troubleshooter

Even if the operating system is updated, there may be some internal issues in Windows that may prevent shutting down of the PC by the Task Host window.

Therefore, running the Windows update troubleshooter is a good way to resolve the issue.


Update & Security

Click on Additional troubleshooters on the right side

click on Run the troubleshooter

Run the troubleshooter

Close the window and reboot your system.

Method 5: Clean the Registry

There may be some issues in the Registry itself that may also cause this issue. You must, therefore, clean the registry by using CCleaner. If you have it installed in your system, run it, but if you do not, download and install it and then run it.


CCleaner Scan for Issues

It will take some time to complete the scanning process. When done, click on the Fix selected Issues button on the extreme right side.

Fix selected Issues

Do you want to backup changes to the registry

Fix All Selected Issues

Now, restart your system.

Method 6: Update Windows

If the above steps do not resolve the issue, then the operating system itself may be outdated and create such a Task Host window preventing shutdown error. Needless to say, you will need to update it.


Read Also:  Why Does the CPU Beep? (5 Reasons & Fixes)

Check for updates

When it is done, it will inform you about the available updates. Update your Windows. You may also install the optional updates if you wish.

Method 7: Scan and Remove Viruses from Windows Security

There may be some virus existing in your PC and affecting Windows security to result in the Task Host window preventing shutdown.

Scanning for viruses and removing them, if any, will prove to be a smart move and an easy solution.


Choose Windows Defender

Windows Security settings

Virus and threat protection

If everything is fine then it will say that no action is needed.

If it is not, then you will have to click on the Advanced Scan option, select Windows Defender Offline Scan option and finally click on the ‘Scan now’ button.

Windows Defender Offline Scan

This will let the tool scan for the viruses and malware and remove them.

Method 8: Customize the Power Plan

The power settings of the PC may also cause such an issue sometimes. Therefore, changing the plan may help in most cases.


Control panel app

Hardware and Sound

Power Options

Change plan settings

Change advanced power settings

Link State Power Management

Make sure that both the ‘On battery’ and ‘Plugged in’ states are turned off. If they are not, change them to it by clicking on the small arrow key at the right side of the box and choosing the Off option from the drop-down menu, as indicated above.

Finally, click on the Apply button and then on the OK button.

Method 9: Updating Driver and Setting Power Management of System Devices

The system devices may also cause issues while shutting down. In that case, there may be a need to update the driver of the system devices as well as make some changes in the power management.


Select Device Manager

System devices


Update driver option

Search automatically for updated driver software

The best drivers for your device are already installed

Allow the computer to turn off this device to save power

Close all the windows and restart your computer.

Method 10: Turning Third-Party Services Off

Sometimes, several components of Microsoft Update and any third-party services installed on your PC may conflict with each other and cause such an issue as well.

Therefore, disabling these services will help you to fix the issue.


system configuration

Hide all Microsoft services

Finally, click on the Restart button when the next window appears.

You may also run a clean boot for the same in the following way:

General tab

When the system is done booting, check whether or not the issue has been resolved in this way.

Method 11: Restarting the Microsoft Store Install Service

Sometimes there may be problems with the Microsoft Store Install Service which may erroneously consider the situations as an effect of a virus. In such a situation, restarting this service may bring things back to normal.

Read Also:  8 Ways to Fix Wificx.sys Blue Screen of Death



Microsoft Store Install Service

This will take a couple of minutes. Wait for the process to complete and service to start again.

Method 12: Disabling Startup Applications

A few startup applications may also cause this issue and therefore disabling them may keep your system up and running.


(Alternatively, you may right-click on a blank space on the Taskbar for the same).

Task Manager

Disable app

When you have completed disabling each of them one by one, restart the system.

Method 13: Use the Command prompt to Run SFC and DISM Scans

Running SFC or System File Checker along with Deployment Image Servicing and Management or DISM scans in the Command Prompt may also allow you to identify the issue and fix it.


First, open the Run box and then enter the command sfc /scannow. When the system is done scanning, reboot the system. Most of the time, it will resolve the issue.

If that does not, you may also try this command: sfc /scannow /offbootdir=c:\ /offwindir=c:\windows.

When you are done scanning your system, open the Command Prompt once again and type the following commands in the prompt, one at a time, and Press Enter after each:

This should resolve the issue.

However, sometimes, the last command may not work depending on different factors. In that case, you should use the following commands:

Here, the source C: should be replaced with the location source you are using such as a Windows installation or recovery disk.

When done, restart the system to save the changes. This will reset things to normal.

Method 14: Create a New User Account

If the problem persists, sometimes there may be issues in the user account itself. In such a situation, it is best to create a new account.


Family & other people

How will this person sign in

Add a user without a Microsoft account

Create an account for this PC

Now, you will have a new account altogether and with no more issues in shutting down the system.

Method 15: Delete the Software Distribution Folder

The software distribution folder may also corrupt the data needed by Windows to install updates, which eventually can cause the issue. Clear this folder to resolve the issue.


Delete the Software Distribution Folder

When you are done deleting the files, you will have to restart the Windows update service. Type in the command net start wuauserv in the Command Prompt and then run, download and install Windows Updates.

Finally, restart your computer system.


So, hopefully, coming to the end of this article, now you know that the Task Host may prevent your PC from shutting down, and that is quite normal for it to behave like that.

However, you can fix this issue very easily and quickly and shut down your computer safely in more than one way as described in this post.