- "Failed to enumerate objects in the container. Access is Denied" error in Windows 10/11 occurs when changing file/folder permissions due to access issues or incorrect settings
- Various methods like running commands in Command Prompt, changing folder ownership, and denying permissions to fix the error
- Disabling Control in Windows is another solution to resolve the "Failed to enumerate objects in the container" error
“Failed to enumerate objects in the container. Access is Denied” error can be encountered when you try to change the permission of a file or folder. This issue is generally encountered when there is no access to the file or the folder for which you want to change the permissions. Other common reasons causing this issue are incorrect folder settings, conflicting apps, control, and more.
Nothing to worry about, even if this issue bugs you out from changing the permission. There are several methods that you can follow to fix the “Failed to enumerate objects in the container” error on Windows PC.
Fix Failed To Enumerate Objects In The Container onWindows 10/11 16225d
In this article, we will discuss all the ways to fix this issue.
Running Command In The Command Prompt 2u1h51
You can use Command Prompt to fix this issue. To do so, follow the steps given below-
- Press the Windows key on your keyboard, and then type CMD. Select Command Prompt, and then click on Run as .
- Here, execute the commands given below one-by-one-
- takeown /F X:\FULL_PATH_TO_FOLDER
- takeown /F X:\FULL_PATH_TO_FOLDER /r /d y
- icacls X:\FULL_PATH_TO_FOLDER /grant s:F
- icacls X:\FULL_PATH_TO_FOLDER /grant s:F /t
Note- Before you execute the above commands, you will have to change FULL_PATH_TO_FOLDER to the full address of the folder.
If you don’t know how you can get the path to the older, then follow the steps given below to do so-
- Press Windows + E key combo to open File Explorer.
- Head to the folder or the file location for which you want to change the permissions.
- Once inside the folder, click on the address bar at the top and copy the folder address.
- Now, you can paste the path to the folder instead of FULL_PATH_TO_FOLDER in the commands above.
Change Ownership Of The Folder 68q4n
This error will most likely occur if you don’t have the correct file or folder permissions. In this case, you can try changing the folder ownership, which should fix the issue. To do so, follow the steps given below-
- Right-click on the folder/file on which you are getting this error, then click on Properties.
- Under the Security tab, click on the Advanced option.
- Then click on the Change option next to the owner.
- Under the Enter the object name select Enter the name and click on Check Names.
- Now click on the check mark options “Replace owner on sub containers and objects” and “Replace all child object permission entries with inheritable permission entries from this object.”
- Then click Apply and then OK to continue ahead.
- Now at the Security tab again, check if Everyone is present under Group or names section.
- If you don’t see the Everyone, then click on Advanced.
- Then click on Add button.
- After that, click on Select a principal.
- Now under Enter the object name to select, type Everyone, and click on Check names.
- Click on Apply and then on OK to save the changes.
Deny All Permissions For 6n1pp
If changing the folder ownership didn’t help fix the issue, you will have to deny all the permissions to an . You can do so by following the steps given below-
- Right-click on the folder for which you want to deny the permissions for , and then click on Properties from the context menu.
- Now, click on the Security tab in the Properties window.
- Under the Group or names section, click on Edit.
- Now, select s and check all the checkboxes under Deny.
- Now, click on Apply and then on OK to save the changes.
Disable Control 682r3l
Another thing you can do to fix the ‘Failed to enumerate objects in the container’ error in Windows is disabling the controller. Given below are the steps to do so-
- Click the Start icon on the taskbar, and search for Change Control Settings. Now, press Enter to open it.
- Here, drag the slider down to Never Notify and click on OK.
- Restart your PC to save the changes you have made.
Conclusion 18a26
We hope the above guide help in fixing the ‘Failed to enumerate objects in the container’ error in Windows. If this article did help you solve the issue, let us know in the comment section below.
ALSO READ:
- How To Roll Back NVIDIA Drivers On Windows 11
- Fix: Windows 11 Memory Integrity Is Keeps Turning Off
- Fix Security Center Failed to Validate Caller with Error DC040780
- How to Fix Starlink “Unable To Load Information” Error
- Fix COD Warzone 2 Controller Not Working or Not Detected Error
- How To Fix Msvcr110.dll Missing Errors In Windows 11