Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have an msi we are trying to uninstall. The exe has vanished somehow so the msi installer fails. We can't re-add the exe because the folder says the file that is no longer there is 'write protected'. Does anyone have any suggestions?

(I've checked all the permissions on the folder an they look right)

Thanks, Richard

EDIT: my best guess is the first time the product was uninstalled, the file had been removed by the virus scanner leaving it in a half deployed state which is what I'm trying to resolve.

share|improve this question
up vote 1 down vote accepted

If it thinks the file is there, but write protected, then the file usually should still be there. I would open an explorer window and click tools then file options and click view Select the bullet for Show hidden files and folders and then take the check mark out of Hide Protected operating system files (Recommended).

Yes this is very simple but we need to start somewhere. If this doesn't work try renaming the directory and see what happens. If you get no error try adding in the .exe file and renaming the directory back.

Update 9/21/11 10:15

If the folder can't be renamed as well, then you have a bit of a bigger problem, something is locking down the folder/directory. Next I would try it in safe mode. What is it that you are trying to uninstall? What version of XP is this? Is this issue on one machine or many? And what is the machine being used for? (business, general home use, ...)

If you are still having issues I would run the windows installer clean up utility on it, then in the registry go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and find any references to the program and delete those folders. Like always make sure you backup the uninstall directory before editing in it, that why if you screw up you can undo your changes.

share|improve this answer
thanks for you response. No the folder can't be renamed and it's not a hidden file. – Richard Sep 21 '11 at 16:57
@Richard I updated the answer. – MaskedPlant Nov 14 '12 at 20:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.