How to fix modern apps spontaneously minimizing or closing in Windows 8 and later

Rejected in the past, Modern applications (they are modern, and more recently, universal) are gradually becoming an integral part of the process of using Windows 8 and later versions of the operating system, at least on touch devices.

Very often, however, these apps exhibit peculiar behavior when working with them, and this can be terribly annoying. One of the most common problems is associated with the fact that at one point they can simply stop starting for no apparent reason, and recently I encountered another strange behavior: applications are minimized or close themselves immediately after opening.

This issue is already known to Microsoft and I hope it will be resolved in one of the upcoming updates, or at least in Windows 10. But now, if you encounter this issue on your system, here's what you can try to fix it. snag.

Note

Making mistakes in registry management can adversely affect system performance. So be careful when editing registry entries, or better yet, if you create before proceeding.

1. Press + R and run Regedit in the Run dialog box to open Registry Editor.

2. In the Registry Editor window, right click on the branch HKEY_LOCAL_MACHINE and select "Permissions" from the context menu.

Repeat steps 2 and 3 for the rest of the registry keys.

4. Now navigate to the Program Files folder inside the system drive. This folder is located in C: \ Program Files, assuming the operating system is installed on drive C. Right-click on the folder and select Properties.

6. Finally, in the Advanced Security Settings for Program Files window, ensure that the ALL APPLICATION PACKAGES principal has access Read and Execute which applies to this folder, its subfolders and files... This is important, and if different settings are applied in your case, take ownership of the Program Files folder with and assign permissions to "ALL APPLICATION PACKAGES".

Repeat steps 5 and 6 for the Program Files (x86) folder if you are using 64-bit Windows.

After completing steps 3 through 6 and setting the appropriate permissions, reboot the machine. After rebooting, the problem should be fixed.

Have a great day!