Disable Shut Down Anyway Prompt in Windows 10, 11 and Auto Close Program While Shut Down

Disable Shut Down Anyway Prompt in Windows 10, 11 and Auto Close Program While Shut Down

We earn commissions using affiliate links.

When shutting down your Windows 10 or 11 PC, you’ll often get a message that one or more apps are still running. Then, you’ll be prompted to click on “Shut down anyway“ and turn off your computer regardless.

However, you can disable the “Shut down anyway” prompt in Windows 10 and 11 and auto-close the program while it Shuts Down easily. This will make turning off the PC simpler, as it’ll automatically close all the programs for you.

1. How Do I Disable the Shutdown Anyway Prompt in Windows 10 and 11?

Here are a few simple steps to disable the Shutdown Anyway prompt.

  1. Click on the Start button, type in “Run“, and press Enter.
  2. Type in “regedit“ and press Enter again. If it asks you to run it as an administrator, click on Yes.
    Shutdown prompt 1
  3. Navigate to this path in the new menu that opens: “HKEY_CURRENT_USER/Control Panel/Desktop.“
  4. On the right side, you’ll see multiple entries, and here, you should click on the empty space, place your arrow on New, and click on “String Value.“
    Shutdown prompt 2
  5. When the new value is added, right-click on it, select Rename, and enter the name “AutoEndTasks.“ Press Enter.
    Shutdown prompt 3
  6. Double-click on the new entry (AutoEndTasks) and under “Value data:“ enter 1.
    Shutdown prompt 4
  7. Press OK, close Registry Editor, and restart your computer.

When all steps are completed, the Shutdown Anyway prompt in Windows 10/11 is disabled, so the next time you shut down your computer, it’ll automatically close all programs and shut down without this prompt.


Learn how to stay safe online in this free 34-page eBook.

  Fix Keyboard Not Typing Problem on Windows 10/11 PC


Leave a Comment

Your email address will not be published. Required fields are marked *