HTML files in Windows XPIconSolution to changing to an unknown icon
After Firefox is installed in Windows XP, Firefox will affect the default browser settings for opening HTML files (for example, in the past, HTML files were opened with IE or Maxthon by default, but now Firefox is only available ), however, after the default settings are changed back to the original HTML file, sometimes the HTM and HTML file icons saved in the hard disk suddenly become unknown icons, and they are often associated with IE. To solve this problem, modify the Registry as follows:
1. First open the Registry Editor and locate hkey_classes_root \. htm,
Check that the default value on the right is htmlfile.
2. Locate hkey_classes_root \ htmlfile \ shellex \ iconhandler,
Check that the default value on the right is {420422062d85-11d3-8cff-0050048000097} (including curly braces ).
3. Locate hkey_classes_root \ CLSID \ {42042206-2d85-11d3-8cff-0050048000097} \ old icon \ htmlfile \ defaulticon, and confirm that the default value is
C: \ Program Files \ Internet Explorer \ iw.e. EXE, 1 (remember that the values do not contain quotation marks or parentheses ).
4. Disable Registry Editor. Refresh to restore to normal.
Solution to blank or incorrect HTML file icons
Go to registry Start Menu Run regedit
1st places:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Classes \. htm \
HKEY_LOCAL_MACHINE \ SOFTWARE \ Classes \. html \
If the "default" on the right is not htmlfile, change it to htmlfile to log out of the system and check whether the icon is restored. If the key value is htmlfile, the problem is not found here. Check the location
2nd places:
Hkey_classes_root \ htmlfile \ shellex \ iconhandler. Check that the default value on the right is {42042206-2d85-11d3-8cff-0050048000097} (the value under XP cannot be the same in other systems ), if not, change the value (including curly braces );
The other is hkey_classes_root \ CLSID \ {42042206-2d85-11d3-8cff-005004820.97} \ old icon \ htmlfile \ defaulticon. Check that the default value on the right is c: \ Program Files \ Internet Explorer \ iexplore. EXE, 1; otherwise, change back to this value. The common problem is that this 1 is changed to-1 ,-???? In short, it is not 1, so we need to change it back.
Supplement: After appeal is completedHtmL The icon returns to normal, but the HTM icon is still not changed back. Please confirm that the default value of hkey_classes_root \. htm on the right side of the 1st place is htmlfile.
Another option is hkey_classes_root \ CLSID \ {42042206-2d85-11d3-8cff-005004820.97} \ old icon \ mhtmlfile \ defaulticon. Check that the default value on the right is c: \ Program Files \ Internet Explorer \ iexplor. EXE, 1; otherwise, change back to this value.
Supplement: After appeal is completedHtmlThe icon returns to normal, but the HTM icon is still not changed back. Please confirm
Hkey_classes_root \. htm
The default value on the right is htmlfile. Otherwise, please change it back and save and refresh it. Everything will be OK.
Alternatively, right-click the HTML file and choose "open mode"> "browse ".
C: \ Program Files \ Internet Explorer \ iw.e. EXE,
Check "Always Use selectedProgramOpen "OK.
If the above method does not work, we recommend that you delete the Icon cache and repeat the above actions.
Icon cache location:
System partition: \ Documents ents and Settings \ User Name \ Local Settings \ Application Data
Delete the iconcache. DB file here
To display the system and all files
Then, end the process explorer and create a new process.
Save the following content as the reg file and directly run the import registry to solve the four problems mentioned above, orDownloadAttachment
Restore HTML icon. Reg
(Note: The method to create this file is to create a text document andCodeCopy, paste, and paste the text file. Save it as a file type and select *. *. The file name is randomly obtained, but the suffix is. Reg. Save and OK)
Windows Registry Editor Version 5.00
[Hkey_classes_root \. htm]
@ = "Htmlfile"
"Content type" = "text/html"
"Perceivedtype" = "text"
[Hkey_classes_root \. html]
@ = "Htmlfile"
"Content type" = "text/html"
"Perceivedtype" = "text"
[Hkey_classes_root \ CLSID \ {42042206-2d85-11d3-8cff-005004820.97} \ old icon \ htmlfile \ defaulticon]
@ = "C: \ Program Files \ Internet Explorer \ iw.e. EXE, 1"
[Hkey_classes_root \ CLSID \ {42042206-2d85-11d3-8cff-005004820.97} \ old icon \ mhtmlfile \ defaulticon]
@ = "C: \ Program Files \ Internet Explorer \ iw.e. EXE, 1"
If the HTML file icon cannot be restored by following the above method, the ultimate solution is to change it to an unknown icon (recommended)
Solution (1 ):Delete the hkey_classes_root \ htmlfile \ shellex \ iconhandler subitem in the Registry, and then specify the icon in "file type. This registry key is no different from its value, but the icon cannot be specified with it. File Type: start -- set -- control panel -- Folder Options (in tools-Folder Options-file type, create htm and HTML types respectively, and click Advanced, windows will automatically find the type (generally HTML documents ).
Solution (2 ):After deleting this item, you can also select "Reset Web Settings" in "Internet Options" to solve the problem and possibly reset the registry value.