Shutdown automatically when you quit Windows

You will definitely have to try to end Windows and these will alert you that there are still open programs. The result is a few clicks above and the associated irritation, since your job is not immediately and quickly.

Generally, when you shut down or restart your system, Windows automatically tries to close all applications. However, when an application does something in the background or if there is some unsaved work, it can prevent Windows from closing. To shut down the system, you must click the "Shut down anyway" button. If you do not click the button within the specified time, Windows will cancel the shutdown action. This is mostly good because it gives you the opportunity to save your work and close the application properly.

However, if there are some apps that abuse this feature or if you think you do not want applications that block the shutdown or restart process, you can force Windows to shut down all applications regardless of their status. In this article you will see how to do it.

Enable "AutoEndTasks" for the current user
If you want to stop applications from blocking or restarting your system for the current user, follow these steps. Note that any other user on your system will not be affected by the changes you make here. Also, since we're going to process Windows Resgistry, back up. It helps you restore the registry if something ugly happens.

1. To open the Windows Registry, press the Win + R keys at the same time, and in the Run window that appears, write and press the OK button.

2. In the registry, navigate to the following location. If you're using Windows 10, copy and paste the path into the Editor's address bar and press Enter. You will be immediately taken to the key.
HKEY_CURRENT_USER \ Control Panel \ Desktop

3. Now right-click on the right panel and select "Create" and then "String Value".

4. Name the string value as "AutoEndTasks".

5. Double-click the newly created value, type "1" in the "Value Data" field, and click the "OK" button to save the changes.

Restart your system for changes to take effect. After restarting, Windows will no longer allow applications to shut down the shutdown, reboot, or disconnect process.

If you want to reset Windows as it was, either delete the AutoEndTasks value or change the value data to "0."

Enable "AutoEndTasks" for all users
If you want to automatically close apps for all users when restarting or shutting down, you can also do this. However, since you are going to make changes for all users, you must have administrator rights.

1. Look for “regedit” from the Start menu, right-click on it and select “Run as administrator”. This will open the Registry Editor with administrator privileges.

2. Now go to the following location:
HKEY_USERS \ .DEFAULT \ Control Panel \ Desktop

3. In the right pane, right-click and select “Generate > String Value”. Set the value as “AutoEndTasks” and press Enter to confirm it .

4. After creating the value, double-click on it to open the "String Edit" window. Type "1" in the value data field and click "OK" to save the changes.

Restart your system. From now on, applications will not block the restart or shutdown process for any user on your system. To go back, change the value data to “0” or simply delete the AutoEndTasks value.

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.082 registrants.

Written by Dimitris

Dimitris hates on Mondays .....

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).