Search code examples
visual-studio-2010directoryaccess-denied

Can't delete project folders created by Visual Studio 2010


I created a Visual Studio 2010 project that I want to remove completely and that includes all project folders.

I'm logged in as the administrator.

I tried to delete the folders in the file explorer, but only get a message telling me I need to have administrator permission to delete it.

Visual Studio seems to have put a lock on the project folders that an administrator account can't access.

I know I have rights to create and remove folders on my own because I created a test folder and deleted it without any issues.

Do you know a work-around for this?


Solution

  • Solved:

    Here are the steps I took:

    • Navigate into one of the folders inside the one to remove. If it can't be deleted, navigate into a sub folder.

    • Delete it.

    • After the sub folder are removed, I was able to get rid of the main solution folder.

    • I have not tried this yet for deleting, but I recently found how to turn on the hidden Administrator account. I'm assuming it would let me delete the files.