Prevent Windows 10 from resetting default applications?

My Photos app broke, somehow, so I got the nomacs photo viewer, but Windows does NOT like it. I kept setting it to the default photo viewer in Default Apps, but at some point in time it would be reset to Photos and my taskbar/desktop icons would all flash so I knew it would be resetting it.

I ended up uninstalling Photos with a powershell prompt, and now the default stays nomacs. Windows still tries to reset it to no avail though, so my taskbar/desktop icons still flash from time to time.

Any help would be much appreciated.


Solution 1:

Windows 10 is well known for resetting apps which the user has set by default.

  • Press Win+R keys on your keyboard, the "Run" dialog will appear. Type regedit in it.

  • The User Account Control dialog box opens up. Click on YES.

  • The Registry Editor dialog box opens.

  • Go to the following key

HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Packages\Microsoft.Windows.Photos_16.122.14020.0_x64__8wekyb3d8bbwe\App\Capabilities\FileAssociations

and Further refer to https://winaero.com/blog/prevent-windows-10-from-resetting-your-default-apps/