cannot start Firefox because of Netapi32.dll error
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)
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.
I did that, the install recreated the Mozilla Firefox folder and then the "Couldn't load XPCOM" error popped up.
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.
- Download the Firefox installer and save the file to the desktop
https://www.mozilla.org/en-US/firefox/all/
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\"
- It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
- http://kb.mozillazine.org/Uninstalling_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.