The “Failed to enumerate objects in the container” glitch can come up on the Windows 10 computers when you attempt to change the permissions of some files or folders. Mostly this error shows up if as an administrator, you try to alter the permission of some other user or a shared folder. There are only two specific reasons why this problem may occur. Those two causes are if there is a conflict within the access permission of some files or folder, then, you can face this error. The other reason for the occurrence of this issue is due to some badly configured settings of the folder.
Methods to Correct the Failed to Enumerate Objects in the Container
In this section of the article, you will get some methods that will help you to eradicate this error in a few seconds:
Procedure to Alter Folder/File Ownership Permission
Due to some clash in the access permissions of the files or folder, you can get the “Failed to enumerate objects in the container”. The best way to resolve this issue is to change the ownership permission of the folder/files. In order to do it, follow the steps below:
- First, go to the folder or file, whose permission you want to alter and is getting this error when trying to do that. Next, select and right-click on that folder/file.
- After that, from the popup menu that comes up, choose the option ‘Properties’ present at the last. This will open up a new ‘Properties’ window specific to that folder/file.
- Within that window, navigate and then, select the tab ‘Security’. Under this tab, go to the bottom and then choose the button ‘Advanced’. Now, another window will come up, that has the name ‘Advanced Security Settings for (the name folder/file)’
- Inside this new window, just beneath the label ‘Name’, you will see ‘Owner’. Move to the extreme right and select the link ‘Change’.
- Again, a new window ‘Select User or Group’ will show up. Here, go to the bottom section ‘Enter the object name to select (examples):’ and input the username which you use to login to the computer. Then, press the button ‘Check Names’, which will help to identify the right username. Tap the ‘OK’ button.
- Now, you will see the window on the fourth step, where two options will appear, one below the ‘Owner’ label and the other at the bottom of the window. Put a checkmark on the options “Replace owner on subcontainers and objects” and “Replace all child object permission entries with inheritable permission entries from this object” respectively. Next, press the ‘Apply’ and then ‘OK’ button.
- Repeat the second step on this point, in order to open the ‘Advanced Security Settings’ window once again. In it, under the ‘Permissions’ tab, select the button ‘Add’ present after the list.
- A new window will pop up again, where locate a link ‘Select a principal’. Then a window like the one in the fifth step will appear. Repeat everything mentioned in the fifth step. Once you are back to the new window. Then go to the section ‘Basic permissions’ and put check marks on all the options present in it. Press ‘OK’ at last.
- In the ‘Advanced Security Settings’ window, go to the bottom and then put a checkmark on the option “Replace all child object permission entries with inheritable permission entries from this object” and tap on ‘Apply’, ‘OK’.
- Finally, close all the open windows, then reboot the computer and see if this error comes back or not.
Disable the User Account Control
If you cannot able to correct the glitch “failed to enumerate objects in the container access is denied”, after following the elaborate steps on the previous method. Then, this can be due to some other problems from the settings of ‘User Account Control’. The answer to rectifying this issue is to simply disable the UAC settings. To do that, follow the lines underneath:
- First, tap on ‘Cortana’ just beside the ‘Windows’ logo. This will open the search area.
- Next, within this blank space, type the following text “user account control settings”. After that, from the output of this search, choose the option ‘Change User Account Control Settings’.
- Now, a new window with the name ‘User Account Control Settings’ will show up. In this window, there are four options and a slider to choose one of them.
- Move the slider to the bottom, in order to select the last option, which is ‘Never notify’. After that, click on the button ‘OK’ and if you get a prompt, then choose ‘Yes’ to confirm.
- Once this is over, then reboot the PC. After the computer starts up, then repeat all the steps given on the last point.
- Lastly, inspect whether this error comes back.
In the End
Following all the points in the previous section, you can correct the “Failed to enumerate objects in the container” error very easily. But, even after following every point from the above section, if you are unable to rectify this error, then do not worry. Just, provide the details about the problems that you have faced in the comment section present at the bottom of this page.