An error occurred while applying security information to

While attempting to move files from a hard drive I recovered I kept getting the following error on a specific set of files.

An error occurred while applying security information to
{G:\Folder}
Failed to enumerate objects in the container. Access is denied.

In order to fix it did the following.

-Open a Command Prompt "As Administrator"

-Run the following commands:

takeown /f "G:\folder" /r /d y
icacls "G:\folder" /grant administrators:F /T

Comments

  1. Your input help me much! Many thanks!

    ReplyDelete
  2. I have an external hard drive that was somehow messed with and there are files that cannot be accessed. I'm receiving the same message. How would I fix this issue?

    ReplyDelete
  3. Thanks for your post! It worked when all other attempts had failed.

    Thanks again.

    ReplyDelete
  4. Bro - you are THE shit. This worked when nothing else would. Thanks a ton

    ReplyDelete
  5. Thanks for your post! It worked for me !

    ReplyDelete
  6. not working ... access denied error message is coming


    ReplyDelete
  7. I only get system error when trying those CMD commands.

    ReplyDelete
  8. Very very nice solution. CMD command works for me

    Thanks a lot

    ReplyDelete
  9. Holy shit you literally just showed me how to fix a problem our "IT" guy has been working on for weeks.....You are the bomb

    ReplyDelete
  10. This solved it for me

    You may also try Computer Management/Shared Folders/Open Files and close any affected files. For me this solved the problem.

    Proposed as answer by Robert van Jaarsveld Friday, October 31, 2014 12:45 PM

    ReplyDelete
  11. this doesn't work for me, neither commands are being recognised

    ReplyDelete
  12. Damn!! It worked.
    For the ones saying the command doesn't work, put a space after the folder name, as in:
    takeown /f G:\folder /r /d y

    one more thing, change "administrators" for your administrator name, like my case, in portuguese, it goes like this:

    icacls G:\folder /grant administrador:F /T

    Thanks a lot, Richard

    ReplyDelete
  13. Awesome....Richard you simply great. thanks for sharing such wonderful solution. thanks

    ReplyDelete
  14. You are a lifesaver! NOTE: I had to put the path in quotes and add a space between the path and the /r.

    ReplyDelete
  15. This is the single most useful approach to this problem. The other method (going through Properties->Security then editing the permissions) is from hell. Thanks.

    ReplyDelete
  16. This comment has been removed by a blog administrator.

    ReplyDelete
  17. This comment has been removed by a blog administrator.

    ReplyDelete
  18. Hello ...

    many thanks for the information
    Tangki Panel

    ReplyDelete
  19. thank you, you make me smile : )

    ReplyDelete
  20. thank you, you make me smile : )

    ReplyDelete
  21. You are the man!!! Thumbs up for you.

    ReplyDelete
  22. Just tried this method, but I still get "Access is denied". The folder I'm trying to delete is in the Recycle bin.

    ReplyDelete
  23. I ended up starting Windows in safe mode and then I was able to delete the folder.

    ReplyDelete
  24. Damn!! It worked.

    Thanks a lot, Richard

    ReplyDelete
  25. On the off chance that you need to make your home a fort against interruptions, you can choose from a different scope of security systems in the market to ensure yourself and your property. security camera installation

    ReplyDelete
  26. This comment has been removed by the author.

    ReplyDelete
  27. What is intriguing however is that despite the fact that she professed to detest technology so much, she exhorted that once she began to invest such a lot of energy utilizing it, she understands that it isn't so terrible.Security Cameras

    ReplyDelete
  28. Good website! I truly love how it is easy on my eyes it is. I am wondering how I might be notified whenever a new post has been made. I have subscribed to your RSS which may do the trick? Have a great day! https://www.deathbycaptcha.com/2captcha

    ReplyDelete
  29. Good website! I truly love how it is easy on my eyes it is. I am wondering how I might be notified whenever a new post has been made. I have subscribed to your RSS which may do the trick? Have a great day! 2captcha bot

    ReplyDelete
  30. Please let me know if you’re looking for a article writer for your site. You have some really great posts and I feel I would be a good asset. If you ever want to take some of the load off, I’d absolutely love to write some material for your blog in exchange for a link back to mine. Please send me an email if interested. Thank you! trending topics

    ReplyDelete
  31. 2captcha bot thanks for share your helpful info with us.

    ReplyDelete
  32. I truly appreciate this post. Really looking forward to read more. Much obliged.wireless home alarm system

    ReplyDelete
  33. Greetings! This post contains some excellent advice!
    The smallest changes are the ones that have the most impact.
    Thank you for providing this information.


    Study in Canada

    ReplyDelete
  34. I think this is one of the most significant information for me. And i’m glad reading your article. keep posting. premium home care

    ReplyDelete
  35. Divide those 30ml into equal doses thrice, or more times, a day. Once you’re ready to use this remedy, begin with mixing 1-2 tablespoons of apple cider vinegar into 8 ounces of distilled water. If you have ever used mouthwash before, you will be familiar with how to use Toxin Rid. Prepare your small bottle of Toxin Rid Rescue, excuse yourself for a few moments, and then walk to the nearest toilet. Given that it takes up to half a year to fully cleanse your body, not everyone has that luxury. You can also completely shave your head but it’s too obvious and they might request another sample. Visit: https://www.urineworld.com/

    ReplyDelete
  36. Nice knowledge gaining article. This post is really the best on this valuable topic. security alarm singapore

    ReplyDelete
  37. My response on my own website. Appreciation is a wonderful thing...thanks for sharing keep it up. Sublime Text Crack

    ReplyDelete
  38. I am happy to find this post Very useful for me, as it contains lot of information. I Always prefer to read The Quality and glad I found this thing in you post. Thanks Uniarch

    ReplyDelete
  39. I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post. Uniarch

    ReplyDelete
  40. I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it. this page

    ReplyDelete
  41. Sapphire Spa & Hair Removal in Coquitlam, BC, where we specialize in advanced, painless diode laser hair removal. Experience rejuvenating facials, relaxing massages, and expert care for all your beauty and wellness needs.

    ReplyDelete
  42. DC Fades and More: Expert Barber in Washington DC delivering precision cuts, stylish fades, and personalized grooming in a relaxed, welcoming environment. Look sharp and feel confident every visit!

    ReplyDelete
  43. Sapphire Laser and Spa offers safe, effective, and long-lasting laser hair removal vancouver for smooth skin with minimal discomfort. Serving Burnaby, Vancouver, New Westminster, and Coquitlam, we customize treatments for all skin types and hair textures.

    ReplyDelete

Post a Comment

Popular posts from this blog

Add User As Local Administrator On Domain Controller

Calling Dataverse Web API in PowerShell using Client Credentials

Windows Server 2008R2 VMs Shut Down After 1 to 2 Hours