We can't set file type associations in XnView, the options are grayed out. It works fine on Win7 but not on Win11. Normally, I want to click the "the most used" button option. Please fix.
but it is a big hassle to have to manually set associations in windows settings. can you fix it to make the xnview association options work in win11, to be more convenient? normally, i want to simply click the "the most used" button option.
ghost zero wrote: Tue Jun 20, 2023 7:34 pm
but it is a big hassle to have to manually set associations in windows settings. can you fix it to make the xnview association options work in win11, to be more convenient? normally, i want to simply click the "the most used" button option.
"From Windows 10 20H2, none of these solutions really work for an existing user. If you want to make changes, you can, except, the system will totally ignore them. Moreover, Windows now also assigns a hash to any program & file association, and this hash is used to verify that the change is legit, i.e., done by the user. So you can't really go about manually mucking through the registry, because Windows will ignore your manual changes, as they won't match the hash. How is the hash computed, beats me."
I had issues launching XnView MP from Windows Explorer with any type of image file, SetUserFTA saved the day using your example. Thank you
(I'm going to put that into a BAT file so next time I need that trick I won't need to search in the forum again xD )
Note: I'm using Windows 10 21H2 and using the settings didn't work; this trick is easier anyway
ghost zero wrote: Tue Jun 20, 2023 7:34 pm
but it is a big hassle to have to manually set associations in windows settings. can you fix it to make the xnview association options work in win11, to be more convenient? normally, i want to simply click the "the most used" button option.
It's no more possible
Hi Pierre, I agree with you about the hassle of file type associations on Windows 10 and 11. However, there are still some well-known programs accomplishing bulk file type associations using their on settings menu on Windows 10/11, such as WinRAR. Can you make comments on that in order to make the same with XnView?
There appears to be list of protected extensions. On a new Windows installation the ".bmp" extension cannot be changed, but ".reg" can be changed normally. Have people found where this list is to hack it?
Edit: On Server 2022 only these extensions are protected. Strangely, some important ones like EXE are not. Many image extensions like PSD DDS are not on the list, and neither is RAR and 7Z.
I have deleted/renamed OEMDefaultAssociations.dll
Removed the Deny permission and then deleted all subkeys from HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts
On later builds there is also a driver service HKLM\SYSTEM\CurrentControlSet\Services\UCPD (start := 4)