If Windows says “This app is preventing shutdown,” the fix is to force-close that app or disable the automatic restart of apps at sign-in. This message appears when a program has unsaved work or a background process that won’t end, and Windows waits for your input before shutting down.
Why Windows Shows This Message
When you shut down, restart, or sign out, Windows sends a signal to every running app asking it to close. Most apps close immediately. Some apps—especially ones with unsaved documents, ongoing downloads, or background services—take longer. If an app doesn’t respond within a few seconds, Windows displays the “This app is preventing shutdown” screen with two buttons: Shut down anyway and Cancel.
The message is not an error. It is a safety feature designed to prevent data loss. Windows cannot know whether the app is saving a file or stuck in a loop, so it asks you to decide. If you choose “Shut down anyway,” Windows terminates the app forcefully, and any unsaved work in that app is lost.
How to Fix It Right Now
- Click “Shut down anyway” if you have already saved your work or do not care about the unsaved data. This is the fastest fix and is safe for most apps.
- Click “Cancel” if you need to save something. The shutdown will be aborted, and you can go back to the app, save your work, and then shut down again.
- If the same app always causes this, open Task Manager (Ctrl+Shift+Esc), find the app under “Apps” or “Background processes,” right-click it, and choose “End task.” Then shut down normally.
If the message appears every time you shut down, the app likely has a background process that never closes. You can prevent it from starting automatically at sign-in (see below).
Why the Same App Keeps Blocking Shutdown
Some apps are designed to keep running in the background even after you close their main window. Examples include:
- Web browsers with many tabs (they may keep background processes for extensions).
- Chat and video apps that stay in the system tray.
- Game launchers that check for updates.
- Apps with auto-save features that write to disk periodically.
If the app has a setting to “minimize to tray” or “close to tray,” it may not actually exit when you click the X button. You may need to right-click its tray icon and choose “Exit” or “Quit” before shutting down.
Another common cause is a hung process—the app is frozen and cannot respond to Windows. In that case, the app itself is not saving anything, and “Shut down anyway” is the correct choice.
How to Stop Apps from Restarting at Sign-In
Windows 10 and 11 have a feature that automatically reopens apps that were running before you shut down. This can make the “preventing shutdown” message recur every time. To disable it:
- Open Settings (Win + I).
- Go to Accounts → Sign-in options.
- Scroll to “If you’ve been signed in, automatically save my restartable apps and restart them when I sign back in” and turn it Off.
This does not stop apps from starting normally at boot (like those in the Startup folder or Task Manager’s Startup tab). It only prevents the automatic restoration of apps that were open before shutdown.
Using Task Manager to Find the Culprit
If you want to know exactly which process is blocking shutdown, open Task Manager before you shut down. Look under the Processes tab for any app with a status like “Not responding.” That is the likely blocker.
You can also use the Details tab to see all processes. Right-click any process and choose “End task” to force-close it. Be careful not to end critical Windows processes (like “System” or “Windows Explorer”)—those can cause instability.
If the problem persists across multiple apps, run the built-in System File Checker (sfc /scannow) and DISM (DISM /Online /Cleanup-Image /RestoreHealth) from an elevated Command Prompt. These tools repair corrupted system files that can cause shutdown problems.
Common Misconceptions
“The app is frozen, so it’s safe to force-close.” Usually true, but if the app was writing to a file (like a video editor rendering), force-closing can corrupt that file. If you see disk activity (hard drive light blinking) or the app says “Saving…”, wait a few seconds before clicking “Shut down anyway.”
“This message means my PC is broken.” No. It is a normal prompt. It only becomes a problem if it appears every single time and you cannot avoid it.
“Clicking ‘Shut down anyway’ will damage Windows.” It will not. Windows is designed to handle forced termination of user apps. It may cause the app to lose unsaved data, but it will not harm the operating system.
Alternatives to Force-Shutting Down
- Use Alt+F4 on the app’s window to close it gracefully before shutting down.
- Use Ctrl+Shift+Esc to open Task Manager and end the app’s process tree (right-click → “End task”).
- If the app is stuck, try Win+Ctrl+Shift+B to reset the graphics driver (this can unstick some video-related apps).
- If the problem is a system service, restart the service via services.msc instead of shutting down.
Frequently Asked Questions
Will I lose my unsaved work if I click “Shut down anyway”?
Yes. Any unsaved changes in that app will be lost. Windows gives you the option to cancel so you can save first. If you have already saved, force-closing is safe.
Why does this happen with Chrome or Edge?
Browsers keep background processes for extensions, tabs, and preloading. If a tab is running heavy JavaScript or a download, the browser may take longer to close. You can reduce this by disabling “Continue running background apps when Google Chrome is closed” in the browser’s settings.
Can I disable this message completely?
Not easily. It is a Windows security feature. You can reduce its frequency by closing apps manually before shutdown, disabling fast startup, or using the command shutdown /s /f to force shutdown without the prompt (but this is not recommended for regular use).
What if the message appears for “Windows Explorer”?
That is rare and usually indicates a system issue. Try restarting Windows Explorer from Task Manager (right-click “Windows Explorer” → “Restart”). If it persists, run the System File Checker as described above.
Does this happen on Windows 11 as well?
Yes. The behavior is identical in Windows 10 and 11. The settings path for restartable apps is the same, though the Settings layout may differ slightly.
Is there a way to see which app is blocking without waiting?
Yes. Open Task Manager before shutting down and look for any app with “Not responding” status. You can also check the Event Viewer under Windows Logs → System for events with source “User32” or “Kernel-Power” that mention a hung app.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Turn Off Shutter Sound on iPhone
- VPN Setup on iPhone SE: Step-by-Step Guide
- Fix Internet Not Working on Windows 11
- Fix Right Click Not Working in Firefox
- Compare Two Columns with Comma Separated Values in Excel
- How to Limit Ad Tracking on iPhone Apps