Let's say I want to open XML files in Notepad, I can change the default program through Control Panel > Programs > Default Programs > Associate a file type or protocol with a program.
However, that will also change its default icon to that of a text file. If I repeat the process for other file types then I lose the ability to easily distinguish different files in a folder based on their icon.
So after I change the default program, I would like to 'roll back' the icon change.
HKEY_CLASSES_ROOT\xmlfile\DefaultIcon stays the same as before the default program changed:
I tried adding
HKEY_CURRENT_USER\Software\Classes\xmlfile\DefaultIcon, as well as
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xml\DefaultIcon but neither seem to work.
What registry key(s) should I change to get back the old icon (
%SystemRoot%\System32\msxml3.dll,0) but keep Notepad as the default program?
I downloaded FileTypesMan and it shows
%SystemRoot%\System32\msxml3.dll,0 as the default icon for XML files, even though that is not the icon I see in Explorer, and even in FileTypesMan itself!