Tuesday, April 11, 2017

Some file associations are not controlled by the usual place

Yesterday, I mentioned that file associations are managed by data accessible under HKEY_CLASSES_ROOT. A few extensions, though, get special treatment because programs really liked to mess with them instead of letting the user choose. Those can be found here:

HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts

Protected types have a UserChoice subkey with the file type ID and a hash. The hash is likely there to throw another roadblock up against developers of would-be poorly behaved applications.

On my main machine, the usual file association Registry entries associate .html with htmlfile (Internet Explorer), but the UserChoice subkey provides the real value: ChromeHTML.

No comments:

Post a Comment