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

Getting the "can't load xpcom" error

  • 8 replies
  • 1 has this problem
  • 1 view
  • Last reply by fastcat

more options

I had been using FF on my PC Windows 10 for some time. I'm not sure which update was the cause, but I am getting the can't load xpcom error. I tried installing a newer version of dropbox and it wouldn't install becuase of the same error. Ive tried uninstalling and wiping the registry as some others have sugessted but I still can get away from the XPCOM error. Thanks

I had been using FF on my PC Windows 10 for some time. I'm not sure which update was the cause, but I am getting the can't load xpcom error. I tried installing a newer version of dropbox and it wouldn't install becuase of the same error. Ive tried uninstalling and wiping the registry as some others have sugessted but I still can get away from the XPCOM error. Thanks

Chosen solution

If you didn't already, could you also shut down Windows 10 and restart it, then test again.

If problems continue, could you make sure you are not trying to run Firefox as Administrator, just as your regular user?

Read this answer in context 👍 0

All Replies (8)

more options

Hi fastcat, that message usually indicates a problem in Firefox's program folder. Could you try:

Clean Reinstall

This takes about 5 minutes. It's not about your settings, it's about making sure the program files are clean (no inconsistent or alien code files). As described below, this process does not disturb your existing settings. It's not essential to uninstall Firefox, but you can if you like, saying No to any request about removing personal data.

It only takes a few minutes.

(A) Download a fresh installer for Firefox to a convenient location:

https://www.mozilla.org/firefox/all/

(B) Exit out of Firefox (if applicable).

If you use Microsoft Office, please change your default browser to Internet Explorer temporarily before the next step.

(C) Using Windows Explorer/My Computer (hold down the Windows key and press E to launch it), right-click > rename the program folder as follows (you might have one or both):

C:\Program Files (x86)\Mozilla Firefox =to=> C:\Program Files (x86)\OldFirefox

C:\Program Files\Mozilla Firefox =to=> C:\Program Files\OldFirefox

(D) Run the installer you downloaded in step (A). It should automatically connect to your existing settings.

Any improvement?

more options

Didn't work. Same XPCOM error response. Did exactly as you had described.

more options

Chosen Solution

If you didn't already, could you also shut down Windows 10 and restart it, then test again.

If problems continue, could you make sure you are not trying to run Firefox as Administrator, just as your regular user?

more options

I did a complete uninstall, clean reg, restart and re-install on another drive partition, made sure it wasn't admin and I still get the XPCOM error.

more options

Hmm, this is strange.

Can I assume your security software isn't quarantining or deleting any Firefox files after installation?


Could you test whether this makes any difference:

In the Firefox program folder, for example,

C:\Program Files (x86)\Mozilla Firefox

right-click firefox.exe and Rename it to firefox1.exe

Then double-click it to launch it. Any difference?


Also, in case this is all caused by malware, please run some of the cleaners listed in this support article: Troubleshoot Firefox issues caused by malware.

more options

Changing it to firefox1 give same XPCOM error. Interestingly enough, I tried opening my Malware software and it had a fatal error. Uninstalled Malwarebytes and re-installed. Now I get application was unable to start correctly 0xc0000022 error for mbam.exe Virus maybe?

more options

It is sounding suspicious. You could check out the specialized forums in the malware article and they can walk you through some deep cleaning. (It's beyond our scope here.)

more options

Thanks for your help. I’ll have to look at other causes.