Most likely, more than once you have turned off the computer and the screen and you have left confident that it has been closed. Or, lower the lid of the laptop confident that you’ve started the shutdown process.
But the next day you find out that it stayed on because you didn’t realize you left a file open. Find out how prevent open tasks from blocking on Windows shutdown.
When the Windows 10 shutdown process begins and an application is open, an alert message may appear to the user for confirm shutdown even with apps. This usually happens because no changes have been saved to a file and if you don’t notice the message, the PC may stay on waiting for confirmation.
You may also be interested in:
This can be useful to avoid losing information, but it is often interrupt the shutdown or restart process of a PC at the time. Luckily there are options that allow you to configure this process.
How to prevent open tasks from preventing Windows shutdown?
Windows allows you to modify the shutdown settings from the Registry editor. So it is not necessary to install a third-party application. It is important that a backup is made before making any changes.
The change will only apply to your user account, so the other users will keep the default Windows settings.
Enter Registry Editor from Windows Start. Press the key Start or Windows on the keyboard and then type regedit, the Registry Editor application appears in the menu that you must run as administrator.
In the Registry Editor window look for the path HKEY_CURRENT_USER Control Panel Desktop. Windows 10 users just have to copy the path and paste it into the Registry Editor’s address bar and it automatically positions you in the Desktop folder.
Right-click anywhere in the right pane of the Editor and select the option New / String value. A new file is created at the end of the list of those that are already created and you must edit the name and place AutoEndTasks.
Double click on the file and change the Value data field to 1. Press the accept button to save the changes made.
To finish restart the PC and from now on applications will no longer be a problem for Windows shutdown. If for some reason you want to revert your changes, just go back to the same path in Registry Editor and change the AutoEndTasks value to 0.
Create shortcut to shut down Windows
Windows shutdown process can be slow, especially if the computer is several years old and has several applications running in the background. There is a simple way to add a shortcut to the desktop to shut down the system in any time we want.
On the desk create a shortcut by right clicking with the mouse and selecting the option New / Shortcut.
Put a path of the application to be executed. In this case, the name of the Command Prompt executable file is placed with a command line that must be executed when it is opened: cmd.exe / c shutdown.exe -S -F -T 06 -C «The system will shut down in 6 seconds»
In the previous line the command is being executed shutwown which indicates the shutdown of Windows. The value of T found in 06 indicates how long after executing the command the PC will be turned off.
In this case the value is 6 seconds, but it can be modified as you prefer. Like the text in quotation marks you can Modify to display the message you want.
Put the name you want to the shortcut and to finish press the button Finalize. Every time you want to turn off the PC, you just have to double click on the shortcut to execute the command.
I'm sorry this content was not useful for you!
Let me improve this content!
Tell me, how can I improve this content?
You may also be interested in: