7

The problem is pretty straightforward. When I set an .html file to open with Chrome, the thumbnail icon is broken and doesn't show the Chrome logo.

I already tried deleting the IconCache.db file and then restarting my computer. Sadly, that didn't fix anything.

It works perfectly fine when I set the default program to IE or Firefox. Any idea on how to fix this issue?

enter image description here enter image description here enter image description here

harrymc
  • 498,455
DrZoo
  • 11,391

4 Answers4

3

File types and assocations are stored in the Registry, under HKEY_CLASSES_ROOT. Interestingly, that branch isn't actually a hive of its own; it's put together on the fly by combining the \SOFTWARE\Classes data from HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE. HKCU takes precedence, but the assoc and ftype utilities look at HKLM.

The Chrome HTML file type is usually found at HKEY_CLASSES_ROOT\ChromeHTML. If yours is missing or doesn't specify an icon, save this as a .reg and run it:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\ChromeHTML]
@="Chrome HTML Document"
"AppUserModelId"="Chrome"

[HKEY_CLASSES_ROOT\ChromeHTML\Application]
"AppUserModelId"="Chrome"
"ApplicationIcon"="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe,0"
"ApplicationName"="Google Chrome"
"ApplicationDescription"="Access the Internet"
"ApplicationCompany"="Google Inc."

[HKEY_CLASSES_ROOT\ChromeHTML\DefaultIcon]
@="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe,0"

[HKEY_CLASSES_ROOT\ChromeHTML\Shell]

[HKEY_CLASSES_ROOT\ChromeHTML\Shell\open]

[HKEY_CLASSES_ROOT\ChromeHTML\Shell\open\command]
@="\"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\" -- \"%1\""

(Remove the (x86) part if your Chrome installation is actually in the plain Program Files folder.)

Now we need to make sure the association between the file extension and file type is correct. Go to HKEY_CLASSES_ROOT\.html and set the default value to ChromeHTML. That will change the value for your user account, but if you want to make sure it affects all users on the machine, update the version under HKLM as well. You will likely need to log off and back on to see the effect.

Ben N
  • 42,308
2

I also had this issue months ago. I solved by reinstalling the Chrome. It fixed for me.

0

If none of the solutions offered in the other answers has worked, and as the problem is not very critical, it is better to avoid solutions that menace the stability of your computer. I would suggest a workaround rather than a complete solution.

  • Right-click the shortcut
  • Choose Properties
  • Click the Change Icon ... button
  • Enter as the file name C:\\Program Files (x86)\Google\Chrome\Application\chrome.exe and then Enter
  • Click OK.

This should change the icon to that of Chrome. If this does not happen, then your Windows has a problem, but I do not think that this problem merits any more radical solution.

harrymc
  • 498,455
0

Try this

  1. open regedit from start Menu\ Run
  2. go to HKEY_CLASSES_ROOT
  3. go to ChromeHTML
  4. go to ShellEx
  5. then rename IconHandler
  6. log off or restart your PC.
Gazal
  • 1