X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

Cannot uninstall firefox completely or reinstall the new version

Posted

I have been trying to uninstall firefox. I deleted it using the add/remove program utility. Next I tried to delete the mozilla firefox folder from program files but it doesn't let me delete the folder because the file or directory is corrupted and unreadable. I have tried reinstalling firefox but even then it says that a new directory cannot be created. Can someone please help me out?

Additional System Details

Application

  • User Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; InfoPath.2; .NET4.0C)

More Information

The file or directory is corrupted and unreadable

rbillings
  • Administrator
49 solutions 398 answers

Hi sddatta- If Vista doesn't allow you to delete corrupted files (folders), you have to boot your PC up in Safe Mode. In Safe Mode with administrative rights you can delete any file (directory/folder) you like.

To boot your system up in Safe Mode if have to press F8 just right after BIOS finishes to test the system.

After that you should be able to reinstall Firefox without a problem.

Hope that helps!

Question owner

Hi, thanks for your suggestion I tried it but it still didn't work. What should I do now? When I right click on the firefox folder I can use previous versions but when I try to restore that folder the same corrupt file problem arises again...

AliceWyman
  • Moderator
191 solutions 1969 answers

You said, When I right click on the firefox folder I can use previous versions but when I try to restore that folder the same corrupt file problem arises again...

I don't understand. What "firefox folder" are you right-clicking on? The leftover C:\Program files\Mozilla Firefox\ folder after you uninstalled Firefox? See Uninstall Firefox from your computer. The Firefox desktop icon?

If you can't delete the Firefox desktop shortcut, don't worry about it for now. Just reinstall Firefox by downloading the current version from www.mozilla.com (it's a green button) and run the installer file you downloaded. See How to download and install Firefox on Windows. If the desktop shortcut is still corrupt then you can try the one in the Start menu or create a new shortcut on the desktop by right-clicking on firefox.exe in the C:\Program files\Mozilla Firefox folder.

If you have uninstalled Firefox but you cannot delete the old Program Files\ Mozilla Firefox folder , you can reinstall Firefox using the "Custom" setup option and choose a different Destination folder as the install location, such as C:\Program files\Firefox\ . To do this, I would first create a new Firefox folder inside Program Files and then choose that folder when you do the Custom install. Ref: http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

Hope that helps.

Modified by AliceWyman

Question owner

Basically what I did was uninstall firefox but the leftover mozilla firefox folder after uninstalling was still in the program files which is what I was trying to delete but windows wouldn't let me do it because the file or directory was shown as being corrupted. I reinstalled it by changing the directory location as you suggested and now I am able to open firefox however I still can't delete that corrupted left over folder. Am I gonna have to leave that folder as it is?

AliceWyman
  • Moderator
191 solutions 1969 answers

You really should seek help in a Windows forum since those people are in a better position to help with Windows errors. For example, I found the following with a google search on your error:

Modified by AliceWyman

Question owner

Ok thanks for your help I'll try that. Do you think disk defragmenter would help in any way in checking the errors on the hard disk or it wouldn't make a difference?

AliceWyman
  • Moderator
191 solutions 1969 answers

I don't know if defrag will help. See:

Here is how to check your hard disk for errors:

By the way, can you open the C:\Program Files\Mozilla Firefox folder, to see the contents? I was wondering if something inside the folder might be corrupt and unreadable and not the folder itself.

Modified by AliceWyman