This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

In "Set your default programs" under Win7, file associations of Firefox are tampered!

  • 4 replies
  • 2 have this problem
  • 1 view
  • Last reply by drkh

more options

In "Set your default programs" under the Control Panel of Windows 7, Firefox does appears in the "Programs" list on the left. But, its icon is that of Windows Media Player.

After I click on the program's name (Firefox) to display the details on the right, I notice the icon for Firefox becomes that of Windows Media Player, too. And, "Mozilla Corporation" becomes "Microsoft Corporation."

If I click on "Set this program as default", files of these types are opened by Windows Media Player, not by Firefox: htm, html, shtml, xht, xhtml.

So, I have to manually associate those file types with Firefox from "Associate a file type or protocol with a specific program."

To solve this problem, what registry entries should I edit?

In "Set your default programs" under the Control Panel of Windows 7, Firefox does appears in the "Programs" list on the left. But, its icon is that of Windows Media Player. After I click on the program's name (Firefox) to display the details on the right, I notice the icon for Firefox becomes that of Windows Media Player, too. And, "Mozilla Corporation" becomes "Microsoft Corporation." If I click on "Set this program as default", files of these types are opened by Windows Media Player, not by Firefox: htm, html, shtml, xht, xhtml. So, I have to manually associate those file types with Firefox from "Associate a file type or protocol with a specific program." To solve this problem, what registry entries should I edit?

Modified by drkh

Chosen solution

You can try to uninstall and reinstall Firefox, possibly as Administrator.

Do a clean reinstall and delete the Firefox program folder before (re)installing a fresh copy of the current Firefox release.

Download a fresh Firefox copy and save the file to the desktop.

Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.

  • Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you lose personal data like bookmarks and passwords from profiles of other Firefox versions.

Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.

  • (32 bit Windows) "C:\Program Files\Mozilla Firefox\"
  • (64 bit Windows) "C:\Program Files (x86)\Mozilla Firefox\"

Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.


Read this answer in context 👍 0

All Replies (4)

more options

Try to rebuild the Windows icon cache.

  1. Open the Task Manager (Shift+Ctrl+ESC)
  2. In the Process tab, right-click on the Explorer.exe process and select End Process.
  3. Open the file picker via "File > New Task (Run)" and click the Browse button.
  4. Type or Paste %USERPROFILE%\AppData\Local in the File name field (AppData is a hidden folder).
  5. Select the IconCache.db file and use "Delete" in the right-click context menu to delete the file.
  6. After the IconCache.db file has been deleted, start a new explorer.exe process via "File > New Task" to get the desktop and Taskbar back.

The IconCache.db file is a hidden file, so make sure that you can see hidden files.

more options

IconCache.db is rebuilt, but problem remains.

Perhaps icon cache is not to blame because

Mozilla Corporation becomes Microsoft Corporation,

and

If I click on Set this program as default, files of these types are opened by Windows Media Player, not by Firefox: htm, html, shtml, xht, xhtml.

So, I assume something somewhere in registry must have gone wrong.

Also, I notice that the following registry key contains nothing:

HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox

Is that a problem?

more options

Chosen Solution

You can try to uninstall and reinstall Firefox, possibly as Administrator.

Do a clean reinstall and delete the Firefox program folder before (re)installing a fresh copy of the current Firefox release.

Download a fresh Firefox copy and save the file to the desktop.

Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.

  • Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you lose personal data like bookmarks and passwords from profiles of other Firefox versions.

Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.

  • (32 bit Windows) "C:\Program Files\Mozilla Firefox\"
  • (64 bit Windows) "C:\Program Files (x86)\Mozilla Firefox\"

Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.


more options

I don't know if the extensions I use for version 19.2 suit the latest version. So, I just re-installed 19.2, and all is well now. Thank you very much for your help.

After the re-installation, I noticed there is a string value Firefox under

HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications

This registry key contains all the program names listed in Set your default programs. So, I guess that if the string Firefox points to Windows Media Player, I get the trouble.

Modified by drkh