Super User is a question and answer site for computer enthusiasts and power users. 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

On my local machine, I am trying to delete a web site as follows and fail in both approaches. Rebooting local machine does not help.

  1. Delete Web site via Computer Management Console in IIS.
  2. Delete web site folder under c:\inetpub\wwwroot\mysite

I get the following error dialog

Cannot delete mysite: Access is denied.

Make sure the disk is not full or write-protected and that the file is not currently in use.

share|improve this question

migrated from Sep 20 '10 at 22:20

This question came from our site for professional and enthusiast programmers.

Stop the IIS service, close any web browsers and try deleting. Else use Unlocker to unlock the files and delete it.

share|improve this answer

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.