Task Host is stopping background tasks synchronize language Settings

The ‘task host is stopping background tasks’ error appears when you try to shut down your computer. It prevents your system from shutting down even if you try to ‘force shut down.’ Forcing shutdowns is generally not a good idea but if it takes a long time, you may long press the power button as a last resort.

Waiting for a while usually fixes it, but If it doesn’t, you can follow through with us in this article to know what causes it and how to fix it.

This issue pops up because there’s probably a Windows update or another service installing in the background which is holding off the shutdown process. It usually stays up for some time and automatically shuts off after the process ends. However, if it’s not, you can try the methods below and fix the issue. 

How to Fix Task Host Preventing Shutdown?

These types of errors usually stay up for 30- 60 seconds and resolve by themselves. However, if it is holding the shutdown process for a fairly long time, the installation process might be encountering issues. Here are some possible fixes you can try from:

Check Windows Update

Since Windows is trying to install updates and preventing your PC from shutting down, you might want to wait until it’s done. You can check the progress of the Update in windows update settings.

The steps below will guide you on how to check the progress. 

  1. Press the Windows key + I to open settings.
  2. Click on Updates & Security.
  3. Select Windows update on the left pane.
  4. Click on Check for updates.
    check-for-updates
    This will show you the current state of the update process.

You can also check the update history by clicking on the ‘View update history.’ Pausing the update is also a good solution to pause the windows update temporarily. Just click on ‘Pause updates for 7 days.’ It will even pause any ongoing update process.

Restart InstallService Service

The Installservice is a windows service that deals with installing windows system programs. You can try restarting this service. Here’s how you do it:

  1. Right-click on the taskbar and click on the task manager.
  2. Go to the Services tab.
  3. Look for ‘Installservice.’ Sort by name and navigate to “I” for easier findings.
  4. Right-click on the service and click Restart.
    install-service-restart

Perform a Clean Boot

A clean boot excludes all services except for verified Microsoft services. Third-party services may conflict with the basic Microsoft services, which causes issues. You can learn how to do a clean boot here:

  1. Press Windows + R, type msconfig in the box, and press Enter.
  2. Go to the Services tab.
  3. Tick the box labeled ‘Hide all Microsoft services.’
  4. Click Disable all and press Ok.
    clean-boot
  5. It will then ask you to restart your computer. You need to force restart your computer to apply the changes. You can either restart now or click Exit without Restart to apply the changes next time you boot your computer.

Note: Do remember to revert all the changes later.

Scan for Corrupt Files

You can use the sfc /scannow command in the command prompt to scan your system for corrupt files. This command will automatically scan for corrupt files and fix them for you.

  1. Search for cmd on the search bar and Run as administrator.
  2. Type the following command and press Enter after each command:
    • sfc/scannow
    • DISM /Online /Cleanup-Image /Restore Health
      running-dism-and-sfc-command

Disable Fast Startup

The fast startup is a Windows feature that makes the computer load faster when starting. When Windows fast startup is enabled, windows goes into a hybrid of shutting down and hibernating when you press the shutdown button. Also, the next time you turn it on, it just resumes the session. You can disable this mode in the power options.

Here’re the steps:

  1. Go to power options by right-clicking on the battery icon in the taskbar.
  2. Click on Choose what the power button does in the left panel.
  3. Click on Change settings that are currently unavailable. It might ask you to input your administrator password.
  4. Untick the Turn on fast startup (recommended) to disable the fast startup.
    disable-fast-startup

Perform Defender Offline Scan

The defender offline scan is a deep scan that executes when restarting. This will even remove difficult malware that cannot be detected otherwise.

Here’re the steps:

  1. Press Windows key + I to open settings.
  2. Click on Update & Security.
  3. Select Windows security on the left pane.
  4. Click on Virus & Threat protection
    virus-and-threat-protection
  5. Click on Scan options.
  6. Scroll down and select choose Microsoft defender offline scan
  7. Click on Scan now. It will restart your computer and start the scan after the restart.
    microsoft-defender-offline-scan-scan-now

Windows Update Troubleshooting

You can use the built-in Windows troubleshooter to troubleshoot any issues in updating. The program will automatically search and fix any issues found. Follow these steps to learn how to do it.

  1. Press the Windows key + I
  2. Select Updates and Security.
  3. Click on Troubleshoot.
  4. Click on Additional troubleshooters.
    Additional-troubleshooter
  5. Expand Windows Update and click on Run the troubleshooter. This will automatically check for faults and fix them for you.

Registry Editing

We highly recommend backing up the registry before making any changes to it(LINK). The registry is an important part of the computer, so if you want to change it back, then the backup will come in handy. You will be fine if you just follow these steps.

  1. Press Windows key + R to open Run.
  2. Type regedit, and press Enter.
  3. Follow through to this root in the registry editor:
    HKEY_LOCAL_MACHINE>SYSTEM>CurrentControlSet>Control
  4. Right-Click on the WaitToKillServicesTimeout and set the value data to 3000 and click OK.
    waittokillservice-change-value-data
  5. Then again, go to this root:
    HKEY_CURRENT_USER/Control Panel/Desktop
  6. Right-click on the WaitToKillServiceTimeout again and set the value to 3000 and click OK.

This changes the time the system waits to force kill the service. Setting the value very low is not a great idea because the service won’t have enough time to save its work, and the abrupt shutdowns could also cause data corruption.

How do I fix task host is stopping background tasks?

Fix 1..
Press Win+R to open the Run window and type the command powercfg. cpl hit OK..
Among the options on the left-hand side, select Choose what the power button does..
Click on the option Change settings that are currently unavailable..
Uncheck Turn on fast startup..

How do I stop Microsoft background task host?

Under Startup tab, click on Open Task Manager. Select each startup item, right-click and select Disable. Close Task Manager. On the System Configuration, click on Apply then OK.

How do I fix task host?

Close the Running application and Perform a Shutdown The basic and easy fix for this error is to close the running application from the task manager. The issue often occurs due to unsaved work; when this happens, the task host file through the error to close the application. Now, try to shut down your computer.

What is Task host on my computer?

Task Host is a generic process which acts as a host for processes that run from DLLs rather than EXEs. An example of this would be a Word file or Windows Media Player would be open and while you still attempt to shut down the PC, the task host window will prevent the shutdown and you will see the error message.