Unable to delete a folder in Windows 7, getting error Folder Access Denied

When I try to delete a folder in my main Windows 7 account it asks for administrator permission. I approve permission but then it says I need permission from the account holder. I am the account holder. It keeps giving me the Folder Access Denied dialog box with choices to "Try Again" or "Cancel". How do I regain ownership of this folder.

FYI I upgraded this computer from Vista. This was my main account in Vista.

I have tried changing permissions in the properties window but it does not seem to work. I may be doing it wrong Step by step instructions would be appreciated. Also, if I can do this to the whole account at once that would be wonderful.
Answer
Answer
Some more searching and I have the solution. After following the change owner recipe:
  1. Right-click on folder -> Properties
  2. Security Tab
  3. Click on Advanced button
  4. Owner tab
  5. Edit.. button
  6. select Administrators in 'Change owner to', check 'replace owner on subcontainers and objects'..this might take a while
  7. Open cmd.exe as administrator
  8. type 'cacls l:\messedUpFolder /T /e /g Administrators:f' ...this might take a while
  9. rmdir /S l:\messedUpFolder
and thats it.

113 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated March 3, 2024 Views 186,031 Applies to: