The Enumeration of Objects in the Container Failed. When working with file or folder permissions, users frequently encounter the Access is forbidden problem in Windows 10 or Windows 11. We can share a folder or file with numerous users via a local network in Windows. This Failed to Enumerate Objects in the Container problem may appear when you try to change access permissions to some folders for users or user groups as an Administrator.
What are the possible causes of this error? Failed to Enumerate Objects in the Container Windows 10 can be caused by one of two things. It could occur as a result of a clash in file or folder permissions, or as a result of wrongly configured folder settings.
How to fix Failed to Enumerate Objects in the Container error?
Fortunately, the methods to address this issue are straightforward and straightforward. With a few simple adjustments to Windows settings, you’ll be able to simply apply user permissions to a folder. Let’s have a look at them.
Fix 1 – Using elevated command prompt
1. In the command prompt window, type cmd.
2. Run as administrator by right-clicking the command prompt icon.
3. Paste the commands listed below into the command prompt window and run them one by one.
Make sure to change FULL_PATH_TO_FOLDER with the path of the your folder.
Note: To know full path to folder, just click on the folder , to go inside it.
Now, copy its full path from address bar.
Fix 2 – Change Folder Ownership
This is the best and only way that Microsoft and Windows experts have recommended so far. Windows users have also advocated changing folder ownership to resolve the Failed to Enumerate Objects in the Container error. The access is denied error works perfectly. The following are the steps to change folder ownership in Windows:
Step 1: While modifying user rights, right-click on the folder for which you are getting the Failed to Enumerate Objects in the Container issue. Select the Properties option from the right-click menu.
Step 2: Select the Security tab in the Folder Properties box that appears. Select the Advanced option from the Security menu.
Step 3: A new Advanced Security Settings window will appear. Click the Change option under the Owner area in the top part, immediately below the Name section.
Step 4: On the next screen, enter your Windows account’s username and password. Simply type your login into the box labelled “Enter the object name to choose.”
Note: If you’re not sure what your computer’s username is, read this: understand your computer’s username
Then, to easily identify your right username, click the Check Names option.
After that, click OK.
Note: If you can’t find your username using this approach, use the Advanced button below the input box to choose your username from a list of all users. When you click the Find now button in the Advanced window, a list of all usernames will appear at the bottom of the window labelled “Select user and group.” You can choose your username from the list. Click the Ok button after you’ve chosen your username.
Step 5: When you return to the Advanced screen after selecting the username, you’ll see two new check mark options: “Replace owner on sub containers and objects” and “Replace all child object permission entries with inheritable permission entries from this object,” as shown in the screenshot below. After selecting both of these options, click OK. For the Prompt that just appeared, click OK once more.
Step 6: Return to the Security Tab once more.
If Everyone does not appear in the list of Group or user names, add Everyone to the list.
Step 7: – Finally, click Add.
Step 8: – Select a Principal by clicking on it.
Step 9: – Write Everyone and then click Check names. Click the OK button.
Step 10: To exit the screen, click OK.
Close all open windows and try again to establish folder permissions. This step will almost certainly resolve the issue, and the Failed to Enumerate Objects in the Container error will be gone. If that’s the case, there’s one more thing you can try.
If that doesn’t work, try the following: 1. Go to the security tab gain.
2. Select Administrators from the drop-down menu.
3. Now select Edit.
Try again and see if it works or not.
Fix 3 – Suppress Warnings to fix Failed to Enumerate Objects in the Container error
You can disable the notification option in the User Account Control Settings, which will allow you to make changes to folder permissions without seeing a pop-up or notification. Follow these instructions to successfully modify folder permissions using this method:
Step 1: Go to the Start menu and type UAC or Change User Account Control Settings in the Start search field. The Change User Account Control Settings option will appear in the search result; click it to access it.
Step 2: A slider will appear here. Drag the slider to Never notify all the way down. When you’re finished, click the Ok button. If a dialogue window asks for permission, select Yes.
Restart your computer after that. Attempt to set folder permissions after restarting.
You will now be able to easily set the permissions for the folder.
When altering folder permissions, do you still get the Failed to Enumerate Objects in the Container error? Restart your computer in Safe Mode and repeat Method #1 to check whether you can complete the process successfully. If Safe Mode doesn’t work, try Safe Mode with Networking instead.
Note: To start your computer in Safe Mode, turn it off and on again. Press the F8 key repeatedly as soon as the computer starts up (with an interval of 1 second). Safe Mode and Safe Mode with Networking are among the boot choices available. Choose the best option for your needs and follow the instructions.
If nothing else works, you may want to start over. Create a new folder, add files, and then give other people access to it. Also, please let us know whether or not this worked for you.