If you wish to undo the changes this file makes, you can download the undoforcecloseshutdown.zip file and follow the same steps as above to import them. Any unsaved data in applications will be lost as each app is simple forced closed. After the restart, from that point forward Windows 10 will no longer prompt you to “ Shut down anyway” and will automatically close all applications when shutting down or restarting. You can now close all applications and restart Windows for the settings to take effect. The registry settings should be imported.
Select “ OK” on the second Registry Editor prompt.Select “ Yes” on the Registry Editor prompt.Select “ Yes” on the User Account Control prompt.Double-click the forcecloseshutdown.reg file.Next, execute the below command to force the unresponsive. You need to write down the name of the application which isn’t responding. Open Windows Terminal as administrator, and then run the tasklist command to view a list of programs and services running on your system. Perform the following steps to import these settings into Windows 10: Method 3: Force an Unresponsive Program to Quit Using Windows Terminal.
There are many modifications that you’ll need to make to the registry for this change. If you want Windows 10 to simply shut down without any of these prompts, you can solve this problem with a registry hack. After about two minutes, if the user hasn’t made a choice, it will kick back to the Desktop and not proceed with the Shut Down or Restart process. Individual applications are listed as saying “ This app is preventing shutdown” or “ this app is preventing you from restarting“. By default, if applications have unsaved data, Windows 10 will show a “ closing apps and shutting down” screen that prompts the user to “ Shut down anyway” or “ Cancel“.