I want to change the default icon of the text files without hacking the shell32.dll. So this is what I did. Under the HKCR\txtfile\DefaultIcon, I manually changed the default value to the path of my icon file. In my case, it is "%SystemRoot%\Resources\Icons\txt.ico",0. However, if I export that entry so I can use it on my unattended installation, the value changed to hex. Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\txtfile\DefaultIcon] @=hex(2):22,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\ 00,25,00,5c,00,52,00,65,00,73,00,6f,00,75,00,72,00,63,00,65,00,73,00,5c,00,\ 49,00,63,00,6f,00,6e,00,73,00,5c,00,74,00,78,00,74,00,2e,00,69,00,63,00,6f,\ 00,22,00,2c,00,30,00,00,00 Is there a way to change this hex value to a more readable text? And I'm not sure if this will work on a different installation. I tried [HKEY_CLASSES_ROOT\txtfile\DefaultIcon] @="%SystemRoot%\Resources\Icons\txt.ico",0 but it didn't work.