[FIX] Failed To Enumerate Objects In The Container. Access Is Denied.

If you can't modify permissions for items on Windows 10 due to "Failed to enumerate objects in the container. Access is denied." error, fix it here.

Kapil Arya
11x Microsoft MVP · Admin
3 min read
Add as a preferred
source on Google

Files and folder management works on permissions, and we all know this very well. Whenever you try to modify an item in Windows, may be it is file, folder or registry key, unless you’ve required permissions, you can’t go ahead. So if you’re modifying any of these items and you’re lacking the permissions, following error might appear:

Failed to enumerate objects in the container. Access is denied.

Failed To Enumerate Objects In The Container. Access Is Denied. In Windows 10

Clicking Continue on above message gives another error message:

Unable to save permissions changes on <FOLDER NAME>. Access is denied.

Failed To Enumerate Objects In The Container. Access Is Denied. In Windows 10

These errors may appear under following conditions:

  • You’re on standard user account and trying to modify item (file/folder/registry key) that is owned by admin account, TrustedInstaller or system.
  • You’re on admin account, you’ve ownership of the item as well but the ownership is not applied on sub-containers i.e. sub-folders, children files.
  • Permissions for your Group or user name set explicitly to ‘Deny‘. You may check this on item’s property sheet properties, on Security tab.

Due to above mentioned errors, you can’t rename, delete, move files and folders and can’t modify the registry keys as well. If you’re facing this error on your Windows 10 or earlier running machine, here is how you can get rid of it:

FIX : ‘Failed To Enumerate Objects In The Container. Access Is Denied.’ In Windows 10/8/7

1. Right click on the file/folder/registry key with which you’re facing this issue and select Properties.

2. On the property sheet, switch to Security tab and click Advanced.

Failed To Enumerate Objects In The Container. Access Is Denied. In Windows 10

3. On Advanced Security Settings window, against Owner, click Change. Take ownership of the item, even if you’re already owner of this item.

Failed To Enumerate Objects In The Container. Access Is Denied. In Windows 10

4. After taking ownership, you must see Replace owner on subcontainers and objects beneath Owner name. Check that option and also check Replace all child object permissions entries with inheritable permission entries from this object. Click Apply.

Failed To Enumerate Objects In The Container. Access Is Denied. In Windows 10

5. For the below mentioned security prompt, select Yes.

Failed To Enumerate Objects In The Container. Access Is Denied. In Windows 10

6. Moving on, click Yes on another security prompt that want you to confirm – This will replace explicitly defined permissions on all descendants of this object with inheritable permissions from <folder name>. Do you wish to continue?

Failed To Enumerate Objects In The Container. Access Is Denied. In Windows 10

Finally, you’ve the confirmation that permission on the item and its sub-items have been modified successfully. Click OK on below shown message.

Failed To Enumerate Objects In The Container. Access Is Denied. In Windows 10

You can now re-try to modify the item with which you’re facing this issue and this time permission error will not occur.

Check the live illustration of this method here:

That’s it!

Share this article
https://www.kapilarya.com/failed-to-enumerate-objects-in-the-container-access-is-denied-windows-10

Shareable URL

Article by

Kapil Arya
11x Microsoft MVP · Admin

Kapil holds Microsoft MVP title in Windows IT Pro expertise, 11-times in a row (2014-2025). He is 8-times Windows Insider MVP as well, and author of 'Windows Group Policy Troubleshooting' book. In 2015, Microsoft India accomplished him as 'Windows 10 Champion'. Being passionate Windows blogger, he loves to help others on fixing their system issues. Kapil has worked with official Microsoft Community Engagement Team (CET) on several community projects. You can subscribe him for news/updates and fixes for Windows.

4 Comments
oliver winternight

Hello Kapil – thank you so much for a very clear set of instructions. I am so glad I found this after hours and hours of frustration. I had to execute your instructions in Safe Mode, but they did solve the problem. Thanks again, Oliver

Kapil Arya Author

^^ Glad we could help 😎

Charles David

After spending 4 hours, your post helped. Thanks a ton.

Kapil Arya Author

^^ Glad to help Charles!

Leave a Comment

Your email address will not be published. Required fields are marked *