Windows

Fix: Task Host Window Prevents Shut Down in Windows 8/10

Task Host is a windows program, not a virus or malware. So you don’t have to worry about it being a virus damaging your system. When you shut down your system, Task Host ensues that programs previously running were closed properly to avoid data and program corruption.

An example of this, would be a notepad file or a word file open, whilst it’s open if you attempt to shut down, Task Host window will be shown.

Technically, it is recommended to close all running programs before you initiate shutdown/reboot. However, if you feel that no programs were running prior to you shutting down, then follow the steps/methods below.

Method 1: Repair Corrupt System Files

Download and run Reimage Plus to scan and repair corrupt/missing files from here, if files are found to be corrupt and missing repair them and then see if the problem persists if it does, move onto the next Method below.

Method 2: Turn Off Hybrid Shutdown/Fast startup

On Windows 8 and 10, the issue is usually caused by Hybrid Shutdown and the Fast Startup feature designed to speed up Windows. Technically, this feature when enabled pauses the running processes in their existing state instead of closing them, so when the system resumes it’s operations it doesn’t have to re-initiate the programs from scratch, instead it just restore the processes and resumes it from there. This technique allowed MS to boost speed but no idea why they did not diagnose and address the “Task Host” in relation to this feature.

Therefore the method in this guide is to disable the use of Hybrid Shutdown/Fast Startup.

Hold the Windows Key and Press R. In the run dialog, type powercfg.cpl and click OK.

task host windows 10

Click on Choose what the power buttons does from the left pane

task host windows 10-1

Then choose Change settings that are currently unavailable. Click Yes if the User Account Control warning appears.

2016-02-15_015430

Now in the Shutdown settings section, clear the check next to Turn on fast startup (recommended) to disable it. Click the Save changes button. Now restart your system and test, if issue is still not resolved then Follow Method 2.

2016-02-15_015611

Method 3:  Edit WaitToKillServiceTimeout via Registry Editor

WaitToKillServiceTimeout determines how long the system waits for services to stop after notifying the service that the system is shutting down. This entry is used only when the user issues a shut-down command by clicking the Shut Down

Hold the Windows Key and Press R. Type regedit and Click OK. Navigate to the following path: 

task host windows 7

HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Control

In the Right Pane double click WaitToKillServiceTimeout and change value to 2000, Click OK. By default, the value is 12000.

task host windows 7 - 1

Now navigate to the following path:

HKEY_CURRENT_USER -> Control Panel -> Desktop.

With Desktop highlighted in the left pane, right click in the blank space in right pane and choose New > String Value. Name the String Value WaitToKillServiceTimeout.

task host windows 7 - 2

Now Right click on WaitToKillServiceTimeout and click Modify. Under Value data, type 2000 and click OK.

task host windows 7 - 3

Exit out of Registry Editor and reboot. Then test to see if the issue is resolved or not, if not then proceed to Method 2.

Method 4: Modifying Account Settings (For Users Affected after 1709 update)

After the recent 1709 update by Windows, many system functions began conflicting and numerous problems arose. One of these problems is the one we are discussing. There is a workaround present for users experiencing this problem post-1709 update.

  1. Press Windows + S to launch the search bar. Type “account” in the dialogue box. Open the first relevant result which comes forth.

  1. Once in the account settings, navigate to “Sign-in options” and uncheck (turn off) the option “Use my sign-in info to automatically finish setting up my device after an update or restart”.

  1. Restart your computer and check if the problem has solved.

Method 5: Installing the Delayed Update

The “Task Host Windows is Preventing Shutdown” error is sometimes seen when an update file has been downloaded on the computer but for some reason, it can’t be installed. In order to fix this issue, we will be running the Windows Update Troubleshooter. For that:

  1. Press the “Windows” + “I” keys simultaneously to open the settings.
  2. Click on the “Update & Security” option.
    Opening Update & Security Options
  3. In the left pane, click on “Troubleshoot” and selectWindows Update” from the list.
    Selecting Troubleshoot from the left pane
  4. Click on the “Run the Troubleshooter” option.
    Clicking on the “Run the Troubleshooter” option
  5. The troubleshooter will automatically detect the problem and solve it by implementing a fix.
  6. Wait for the update to be installed and check to see if the issue persists.

Method 6: Running a Windows Defender Offline Scan

Windows Defender is the default Antivirus for Windows and it has improved a great deal over its predecessors with new virus definitions and fast scans. In this step, we will be using the Windows Defender to scan our PC for malware/viruses which can prevent the Task Host from initiating shutdown. For that:

  1. Press the “Windows” + “I” keys simultaneously to open the run prompt.
  2. Click on the “Update and Security” option and click on “Windows Security” in the left pane.
    Selecting Windows Security from the left pane
  3. Click on the “Virus & Threat Protection” option and select the “Scan Options” button.
    Clicking on the “Virus & Threat Protection” option
  4. Check the “Windows Defender Offline Scan” option and click on the “Scan Now” button to initiate the scan.
    Checking the “Windows Defender Offline Scan” option and clicking on the “Scan Now” option
  5. Check to see if the issue persists after the scan is finished.

7 Comments

  1. https://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_desktop-insiderplat_pc/task-host-window/c47b5fca-cc6d-405e-b563-5ba0a4c82892?auth=1

    Post By:- NguyenDex

    Apparently Microsoft added a new option in the Accounts section in Windows 10 1703

    (Settings -> Accounts -> Sign-In Options) called “Use my sign-in info to automatically finish setting up my device after an update or restart.”.

    the option doesn’t really work and to turn this option off and it should fix the task host / task bar/start menu issue.

  2. I ran into this issue after updating to the Fall Update (1709) for both my Personal Desktop and my Work Dell Laptop. The only work around I found was to restart Windows Explorer in Task Manager or signing out and back in. When I signed out I would get
    the “Task Host Window: microsoftwindowsplug and playdevice install reboot required”. After searching this I found a dutch (?) website (https://www.deskmodder.de/blog/2017/10/31/problem-bei-der-anmeldung-meine-anmeldeinfos-verwenden-um-die-geraeteeinrichtung-einem-update-oder-neustart-automatisch-abzuschliessen/).
    Apparently Microsoft added a new option in the Accounts section in 1703 (Settings -> Accounts -> Sign-In Options) called “Use my sign-in info to automatically finish setting up my device after an update or restart.”. The dutch website says (according the google
    translate) the option doesn’t really work and to turn this option off and it should fix the task bar/start menu issue. I am testing this on my desktop at the moment, shutting off/restarting my Desktop, and haven’t ran into the task bar/start menu issue yet.

Leave a Reply

Your email address will not be published.

Expert Tip

Fix: Task Host Window Prevents Shut Down in Windows 8/10

If the issue is with your Computer or a Laptop you should try using Reimage Plus which can scan the repositories and replace corrupt and missing files. This works in most cases, where the issue is originated due to a system corruption. You can download Reimage by clicking the Download button below.

Download Now

I'm not interested

Close