Fix: Task Host window is preventing shutdown on Windows 10

Milan Stanojevic avatar. By: Milan Stanojevic
11 minute read

Home » Fix: Task Host window is preventing shutdown on Windows 10

Windows 10 runs with many default services and apps in the background, but sometimes those apps can interfere with your system. Users reported that Task Host window is preventing shutdown on their PC, and today we’ll show you how to fix this problem.

Task Host window is preventing shutdown, how to fix it?

Solution 1 – Run the Power troubleshooter

If you can’t shut down your PC due to problems with Task Host, you might be able to fix the problem by running the Power troubleshooter. Windows comes with built-in troubleshooting tools that can fix various problems and you can run them by following these steps:

  1. Open the Settings app. The fastest way to do that is to press Windows Key + I on your keyboard.
  2. When Settings app opens, go to Update & security section.
  3. Select Troubleshoot from the menu on the left and in the right pane select Power and click on Run the troubleshooter.
  4. Troubleshooter will now start. Follow the instructions on the screen to complete it.

You can also start the troubleshooter from Control Panel. To do that, follow these steps:

  1. Press Windows Key + S and enter control panel. Select Control Panel from the list of results.
  2. When Control Panel opens, navigate to Troubleshooting.
  3. In the left pane, click on View all.
  4. List of all available troubleshooters will appear. Click on Power.
  5. When the troubleshooter window opens, click on Next and follow the instructions on the screen.

Several users reported that running the Power troubleshooter fixed the issue for them, so be sure to try it.

Solution 2 – Close all applications and wait few moments before shutting down

According to users, this problem can occur if you don’t close all running applications properly before shutting down your PC. You can avoid this problem by ensuring that all your applications are properly closed. In addition, users suggest to wait for about a minute before shutting down your PC.

By doing so you’ll allow Windows to stop all processes related to your applications. After all processes are stopped, you should be able to shut down your PC without any problems. We have to mention that this is just a workaround, so your results may vary. If this solution works for you, you’ll have to use it every time you want to turn off your PC.

Solution 3 – Start your PC in Safe Mode

Safe Mode is a special part of Windows that runs with default applications and drivers so it’s perfect for troubleshooting. To find out if third-party applications are causing this problem you need to enter Safe Mode by doing the following:

  1. Open the Start Menu, click the Power button, press and hold the Shift key and click on Restart.
  2. Select Troubleshoot > Advanced options > Startup Settings and click on Restart button.
  3. Once your PC restarts, you’ll see a list of options. Select any version of Safe Mode by pressing the corresponding key.

Once you enter Safe Mode, use it for a couple of minutes. Try running few applications that you usually run and then try to turn off your PC. If the problem doesn’t appear, it’s most likely that a third-party application is the cause for this issue.

Solution 4 – Perform a clean boot

Several users claim they fixed the problem simply by performing a clean boot. To perform a clean boot you need to disable all startup applications and third-party services. This is relatively simple and you can do it by following these steps:

  1. Press Windows Key + R and enter msconfig. Press Enter or click OK.
  2. When System Configuration window opens, go to Services tab. Check Hide all Microsoft services option and click on Disable all.
  3. Navigate to Startup tab and click on Open Task Manager.
  4. When Task Manager opens you’ll see a list of all startup applications. Select the first application on the list, right click it and choose Disable. Repeat this step for all entries on the list.
  5. Close Task Manager and go back to System Configuration window. Click on Apply and OK to save changes.
  6. Restart your PC to apply the changes.

Once your PC starts, use it for a while and try to turn it off. If the problem doesn’t appear, it means that one of disabled applications or services was causing the issue. To find the problematic application you need to repeat the same steps and enable applications and services one by one or in groups. Keep in mind that you need to restart your PC in order to apply changes after enabling services or applications. Once you find the problematic application you can keep it disabled or remove it from your PC.

Solution 5 – Perform sfc and DISM scan

According to users, sometimes problems with Task Host window can occur due to file corruption. Your system files can become corrupted as well, and that will cause this error to appear. To fix the problem, you need to run sfc scan and you can do that by following these steps:

  1. Press Windows Key + X to open Win + X menu and choose Command Prompt (Admin) from the menu. If you don’t have Command Prompt available, you can also use PowerShell as administrator.
  2. When Command Prompt opens, enter sfc /scannow and press Enter to run the command.
  3. Scanning process will now start. This process can take about 15 minutes, so be patient and don’t interrupt it.

After the sfc scan is finished, check if the problem appears again. If sfc scan didn’t fix the problem, you can also try using DISM scan. To do that, follow these steps:

  1. Start Command Prompt as an administrator.
  2. Now enter the following commands:
    • DISM /Online /Cleanup-Image /CheckHealth
    • DISM /Online /Cleanup-Image /ScanHealth
    • DISM /Online /Cleanup-Image /RestoreHealth
  3. DISM scan take a while to restore and repair your system, so don’t interrupt it.

Once the scan is completed, check if the problem still appears.

Solution 6 – Modify your registry

If Task Host window is preventing your shutdown, you might be able to fix the problem by editing your registry. Your registry holds sensitive information, therefore we advise you to be cautious while modifying it. To fix this problem, you need to do the following:

  1. Press Windows Key + R and enter regedit. Press Enter or click OK.
  2. Optional: Modifying the registry can sometimes cause problems to appear, especially if you don’t modify it properly. To avoid any problems it’s advised to back up your registry. To do that, simply go to File > Export.Set Export range to All and enter a desired name. Now choose a safe location and click on Save.
    In case any problems occur after modifying the registry, you can use the exported file to restore it to the previous state.
  3. In the left pane, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control. In the right pane, double click on WaitToKillServiceTimeout.
  4. Set the Value data to 500 or less. Click OK to save changes.

Few users claim that you can fix the problem by creating WaitToKillServiceTimeout string in your registry. To do that, follow these steps:

  1. In Registry Editor navigate to HKEY_CURRENT_USER\Control Panel\Desktop. In the right pane, right click the empty space and choose New > String Value from the menu. Enter WaitToKillServiceTimeout as the name of the new string.
  2. Double click the newly created WaitToKillServiceTimeout string to open its properties. Set Value Data to 2000 or less and click on OK to save changes.

After making these changes, restart your PC and check if the problem still appears.

Solution 7 – Disable all Internet Explorer addons

According to users, sometimes the cause for this problem can be your Internet Explorer addons or toolbars. To fix the problem, you just have to disable all addons in Internet Explorer. This is rather simple and you can do it by following these steps:

  1. Open Internet Explorer.
  2. In the top right corner click the Gear icon and choose Manage add-ons.
  3. Select Tools and Extensions in the left pane. In the right pane, select the desired plug-in and click on Delete or Disable.

After deleting all extensions and addons from Internet Explorer your problem should be resolved.

Solution 8 – Disable Fast Startup feature

Fast Startup feature was first introduced in Windows 8, and this feature works similarly to hibernation in order to speed up your boot time. The feature is rather useful, but it can cause this and other problems to appear. To fix the problem, you need to disable Fast Startup by following these steps:

  1. Press Windows Key + S and enter control panel. Choose Control Panel from the list of results.
  2. When Command Prompt opens, select Power Options.
  3. Now click on Choose what the power button does in the menu on the left.
  4. Click on Change settings that are currently unavailable.
  5. Uncheck Turn on fast startup (recommended) option and click on Save changes.

After disabling Fast Startup, your computer might boot a bit slower, but you won’t have problems with shutdown and Task Host window.

Solution 9 – Install the latest updates

If you’re having this problem in Windows, you might be able to solve it simply by installing the latest updates. Microsoft is frequently releasing updates, and by default Windows is downloading those updates automatically in the background. However, sometimes you might miss an important update due to various reasons. To fix this issue, you need to check for updates and you can do that manually by following these steps:

  1. Press Windows Key + I to open the Settings app.
  2. Navigate to Update & security section.
  3. Now click on Check for updates button.

If any updates are available, Windows will download them in the background and install them once you restart your PC. Several users claim that this issue was resolved after updating Windows to the latest version, so be sure to try it out.

Solution 10 – Disconnect your PC from the network

Few users claim that you can fix this problem simply by disconnecting your computer from the network. According to users, some applications might be using your network bandwidth in the background and that can prevent you from shutting down your PC. To fix the problem you need to disable your Internet connection or unplug your Ethernet cable before turning off your PC. If this workaround works for you, you’ll have to repeat it every time before you turn off your PC.

Solution 11 – Upgrade your RAM

Several users claim that this problem can occur due to your RAM. According to users, your PC might have some data in your RAM once you try to shut it down, and that can cause this problem to appear. Even though the amount of RAM is an unlikely cause, few users claim that upgrading their RAM fixed the problem, so you might want to try this solution out.

Solution 12 – Use CCleaner

According to users, this problem can sometimes appear due to your registry. Your registry can become corrupted and that can lead to this problem. The easiest way to fix the problem is to use CCleaner to clean your registry. According to users, cleaning the registry fixed the problem for them, so be sure to try using CCleaner.

Solution 13 – Remove the problematic applications

Third-party applications can sometimes cause this and other errors to appear. Several users claim that Greenprint application was causing this problem on their PC. It’s possible that the application was running silently in the background causing this error to appear. After removing the problematic application, the issue was resolved completely.

Solution 14 – Turn off your sound scheme

Several users claim that this problem occurs because your system is trying to play a shutdown sound. To fix the problem, users are advising to disable your sound scheme. This is relatively simple and you can do it by following these steps:

  1. Press Windows Key + S and enter sound. Select Sound from the list of results.
  2. Go to Sounds tab and select No Sounds as Sound Scheme. Now click on Apply and OK to save changes.

After saving the changes try to shut down your PC and check if the problem still appears. Your sound scheme is an unlikely cause for this problem, however few users claim that they fixed the issue simply by changing their sound scheme.

Solution 15 – Disable RacTask

According to users, this problem can appear because RacTask is set to start every hour. To fix the problem, you need to disable RacTask, and you can do that using Task Scheduler. To disable RacTask, do the following:

  1. Press Windows Key + S and enter task scheduler. Select Task Scheduler from the list of results.
  2. When Task Scheduler starts, go to Microsoft > Windows > RAC in the right pane. Now you just have to find and disable the RacTask.

After doing that, you need to end Task Host from Task Manager. To do that, follow these steps:

  1. Press Ctrl + Shift + Esc to open the Task Manager.
  2. When Task Manager opens, go to Details tab. Select taskhost process and click on End Task.

After you disable RacTask from running, the problem should be resolved and you’ll be able to shut down your PC without any problems. If you can’t find RacTask for some reason, be sure to try ending Task Host process using the Task Manager.

Solution 16 – Create a new user account

According to users, this problem can sometimes appear due to corrupted user account. To fix the issue, you need to create a new user account from scratch. This is relatively simple and you can do that by following these steps:

  1. Press Windows Key + I to open the Settings app.
  2. When Settings app opens, go to Accounts section.
  3. Now go to Family & other people in the left pane. In the right pane click on Add someone else to this PC.
  4. Click on I don’t have this person’s sign-in information.
  5. Select Add a user without a Microsoft account.
  6. Enter the desired user name and click on Next.

After doing that, you’ll have a new account ready. Simply switch to a new account and check if the issue appears. If not, you might want to switch completely to a new account and use it instead of the old one.

Solution 17 – Change the priority of the Applicationframehost.exe

Sometimes application priority can cause this problem to appear. You can fix the problem simply by changing the priority of Applicationframehost.exe. To do that, follow these simple steps:

  1. Open Task Manager.
  2. When Task Manager opens, go to Details tab. Locate ApplicationFrameHost.exe and right click it. Choose Set priority > High from the menu.
  3. After doing that, close Task Manager.

If changing the priority fixes the problem, you might have to apply this solution every time before you shut down your PC.

Solution 18 – Turn off OneDrive synchronization

OneDrive is a cloud storage service, and Windows 10 comes with OneDrive app by default. The application will sync your files in the background, and according to users that can cause this problem to appear. Because your files are syncing in the background, sometimes you won’t be able to turn off your PC. This can be a big problem, but you can fix it simply by disabling file synchronization for OneDrive. In addition, you can also turn off OneDrive and check if that solves the problem.

Task Host is a core Windows process, but sometimes it can prevent you from shutting down your PC. If you’re having any problems with Task Host on your PC, feel free to try any of these solutions.

REAL ALSO:

Discussions

Next up

Download Microsoft Surface Diagnostic Toolkit to fix your device

Giles Ensor avatar. By: Giles Ensor
2 minute read

Computer problems are usually not that complicated to fix. The real problem is that most people are not that keen to try and fix them, […]

Continue Reading

Happy broadcasting with these 4 live streaming software for Twitch

Madhuparna Sukul avatar. By: Madhuparna Sukul
Less than a 1 minute read

Live streaming is the hottest trend and a powerful streaming software makes the entire process a lot easier. A streaming software primarily helps you with […]

Continue Reading

How to fix common Camtasia errors on Windows 10

Matthew Adams By: Matthew Adams
7 minute read

In this guide, you’ll learn how to fix the following Camtasia errors: Error Code: (5) Setup Error Error 1720, 1721, or 1723 Problem With Your […]

Continue Reading