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

cannot start Firefox because of Netapi32.dll error

  • 3 replies
  • 1 has this problem
  • 2 views
  • Last reply by cor-el

more options

I am getting an error saying "c:\windows\system32\netapi32.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc0000020."

When I close that error window I get another error saying "Couldn't load XPCOM".

I have uninstalled Firefox and deleted the Mozilla folders from all profiles and tried reinstalling it, but still get the error. I did a system restore to a checkpoint dated prior to when the problem began, but that did not resolve the issue either.

I am getting an error saying "c:\windows\system32\netapi32.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc0000020." When I close that error window I get another error saying "Couldn't load XPCOM". I have uninstalled Firefox and deleted the Mozilla folders from all profiles and tried reinstalling it, but still get the error. I did a system restore to a checkpoint dated prior to when the problem began, but that did not resolve the issue either.

All Replies (3)

more options

For the XPCOM, when you reinstalled, did you first rename this folder:

C:\Program Files (x86)\Mozilla Firefox\

If not, rename that to

C:\Program Files (x86)\OldFirefox\

and install again (no need to uninstall first). This can help resolve the issue of inconsistent/mixed version program files.

For the other error, if system file checker doesn't fit is, it may indicate a malware problem. For intensive malware support, you can use the forums listed in our malware support article.

more options

I did that, the install recreated the Mozilla Firefox folder and then the "Couldn't load XPCOM" error popped up.

more options

This usually happens because of a failed Firefox update that left you with a mixture of old and updated files in the Firefox program folder.

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

If possible uninstall your current Firefox version to cleanup the Windows registry and settings in security software.

  • Do NOT remove "personal data" when you uninstall your current Firefox version, because this will remove all profile folders and you lose personal data like bookmarks and passwords including data in profiles created by 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 NOT to remove personal data when you uninstall Firefox as that will remove all Firefox profile folders and you lose your personal data.


You may have to disable your security software temporarily if the problem persists.