top of page

Solved: This app is preventing shutdown Windows 10

While Restart or shutdown Windows Laptop/PC getting This app is preventing shutdown Windows 10? Or an unknown app preventing the shutdown of windows 10 PC every time While restarting or shutdown. Normally when you shut down your system, Task Host ensures that programs previously running were closed properly to avoid data and program corruption. If due to any reason still any application running in the background  this will prevent Windows 10 from shutdown by showing the following message:

Closing apps and shutting down/restarting To go back and save your work, click Cancel and finish what you need to. This app is preventing shutdown.

The options are Shut down anyway and Cancel.


This app is preventing the shutdown of Windows 10

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

Run Power troubleshooter

First run the build windows power troubleshooter, to check and fix if any power-related bug prevents windows from the shutdown. This is optional but sometimes it’s very helpful.

  1. Simply type Troubleshoot in the start menu search and hit enter key.

  2. Scroll down and look for Power, Click on it and run the Troubleshooter.

  3. This will check and fix if any Power related problem causing the issue.

Windows power troubleshooter

Run System file checker

Again if system files get corrupted, this may cause unnecessary services/ applications to run in the background which prevents windows from shutdown and display a message like an unknown app preventing shutdown of windows 10. Run the SFC utility to make sure corrupted system files not causing the issue.

  1. Open command prompt as administrator

  2. Type command sfc /scannow and hit enter key.

  3. Wait until 100% complete the scanning process, After that restart windows and check.

system file checker utility Windows 10

If SFC scan results are unable to repair corrupted system files then run the DISM command which scans and repairs the system image. After that again run SFC utility.

Disable Fast Startup

  1. Press Windows + R, type powercfg.cpl and click ok to open power options.

  2. Click on Choose what the power buttons do from the left pane.

  3. Then choose Change settings that are currently unavailable.

  4. Click Yes if the User Account Control warning appears.

  5. Now in the Shutdown settings section, clear the check next to Turn on fast startup (recommended) to disable it.

  6. Click the Save changes button, And restart windows to check there is no more app preventing the shutdown of windows 10.

Modifying Account Settings

  1. Press Windows + S to launch the search bar.

  2. Type “account” in the dialogue box and Open the first relevant result which comes forth.

  3. Once in the account settings, navigate to “Sign-in options”

  4. Here uncheck (turn off) the option “Use my sign-in info to automatically finish setting up my device after an update or restart”.

  5. Restart your computer and check if the problem has been solved.

Tweak registry editor

If all the above methods fail to fix the issue and still getting an unknown app preventing the shutdown of windows 10 on every shutdown/restart. Let’s tweak the windows registry to fix this problem.

Note: We recommend Backup registry database before making any changes.

Tweak 01:

  1. Press Windows + R, type Regedit and ok to open the windows registry editor.

  2. Here navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control.

  3. In the right pane, double-click on WaitToKillServiceTimeout.

  4. Set the Value data to 500 or less. Click OK to save changes. Restart windows and check.

registry Tweak to fix this app is preventing shutdown

Tweak 2

  1. Navigate to HKEY_CURRENT_USER\Control Panel\Desktop.

  2. In the right pane, right click the empty space and choose New >DWORD Value.

  3. Rename the newly created DWORD (REG_DWORD) as AutoEndTasks.

  4. Double click on it and change its value 1 As show image below.

registry Tweak to fix this app is preventing shutdown

That’s all, Close registry editor and restart windows, Check there is no more App preventing shutdown of windows 10. Still, have any query, suggestion feel free to discuss them in the comments below.

Also, read


Featured Posts
Recent Posts
Search By Tags
Follow Us
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square
bottom of page