How To Close Tasks Automatically At Shut Down In Windows 10

Windows usually tries to close all your open apps automatically when you try to shut down or restart your PC. However, if there’s an ongoing or unsaved app in the background, it prevents Windows from shutting down or restarting.

So, when you see the screen where Windows is trying to close an open app or unsaved work as you try to shut down or restart your PC, you have the choice to click on the Restart anyway or Shut Down anyway button at the bottom. This will help you to Restart or Shut Down your PC without saving the work or closing the apps.

But, if you miss clicking the button quickly, your Windows PC will cancel the Restart or Shut Down request. So, let’s see how to close tasks automatically at shut down, restart, or sign out.

 

How To Turn On AutoEndTasks For Current User

 

Step 1: Press the Windows key + R together on your keyboard to open the Run box. Type regedit in the search box and hit Enter.



 

Go To Run And Type Regedit

 

Step 2: In the Registry Editor window, navigate to the below path:

 

HKEY_CURRENT_USER\Control Panel\Desktop

 

Now, on the right-side of the pane, right-click, select New, and click on String Value.

 

Navigate To Path Right Click On Right Side New String Value

 

Step 3: Name the new string value as AutoEndTasks.

 

Name The New String Autoendtasks

 

Step 4: Double-click on this new string value (AutoEndTasks) and change the Value data to 1. Hit OK.

 

Double Click On New String Value Change Value Data To 1

 

Now, restart your system for the changes to be effective. Windows will no more allow apps to prevent your PC to restart, shut down or sign out.

 

*Note – This method is effective only for the current user and not for any other user on your system, which means, the apps will still prevent other users to shut down or restart the system.

 

Method 2: How To Turn On AutoEndTasks For All Users

 

*Note – To allow your Windows to automatically close tasks at shut down, restart, or sign out for all users, you need administrative privileges.

 

Step 1: Click on the Start on your desktop, and type regedit in the search box. Now, right-click on the result and select Run as administrator.

 

Start Type Regedit Right Click On Result Run As Administrator

 

Step 2: In the Registry Editor window, navigate to the below path:

 

HKEY_USERS\.DEFAULT\Control Panel\Desktop

 

Next, right click on the right side of the pane, select New, and click on String value.

 

Regedit Admin Navigate To The Path Right Click On Right Side New String Value



 

Step 3: Name the new string value as AutoEndTasks and hit Enter.

 

Admin Name The New String Value Autoendtasks

 

Step 4: Double-click on this new string value (AutoEndTasks) and change the Value Data field to 1. Hit OK.

 

Double Click On New String Value Change Value Data To 1

 

That’s it. Now, restart your system and apps will no more prevent your Windows 10 PC to restart, shut down or sign out.



1 thought on “How To Close Tasks Automatically At Shut Down In Windows 10”

  1. Hello, Very helpful, but I need the OPPOSITE ! I need Windows 10 to yes, DISPLAY the screen advising me that a certain program (for bookkeeping) is still running, so that I WON’T exit Windows by mistake without going back to properly close that program. Can you help? Thanks in advance.

Comments are closed.