Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

I am trying to uninstall Apache 2.2 on Windows XP. The original installation was from the binary msi distribution. The uninstall function of the msi ran successfully, but it failed to remove a couple of folders:

  • C:\Apache2.2\conf
  • C:\Apache2.2\logs

I am unable to remove these folders manually because they contain files for which I do not have ownership. And this is the source of my confusion: why if I installed the program do I not have permission to remove it? To be clear, I do not have local admin rights (nor can I request them), yet the files in these two remaining folders are owned by Administrator.

How is it that Administrator created these files (and how can I possibly remove them)?

UPDATE: I may have some insight into how this happened.

When I originally installed Apache 2.2, I created the folder C:\Apache2.2 from within the msi "Custom Install" dialog. I chose this as the destination folder instead of the default. On a second attempt, I created the folder "C:\Apache2" before running the msi (and then chose it as the destination folder). The result was that my local account was the owner of the destination folder, not Administrator as in the first attempt. So now, even though files under my Apache root are being created by Administrator, my local account owns the folder they are in so I have full permissions.

Also, see this related question: Windows Admin Privileges Required After Install

share|improve this question
Apache probably was executed as a service, or at least running on Administrator account. Therefore, files created by it, are owned by that user. – Daniel Beck Jan 4 '11 at 15:51
@ Beck: I think he is asking how or why they were elevated. OP has no admin rights on the computer and therefore it was installed under a limited-rights account. – horatio Jan 4 '11 at 16:03
@horatio - correct, AND during the install I specified not to run as a service but rather to start manually on port 8080. – AJ. Jan 4 '11 at 16:13
up vote 0 down vote accepted

Asked a similar question here, and the answer was provided:

Windows Admin Privileges Required After Install

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .