
il The objects in the container could not be enumerated. Access denied Error in Windows 10 is a very common error that users face when it comes to file or folder permissions. Windows allows us to share a folder or file with multiple users on a local network. As an administrator, when you try to change the access permission to some folders for users or user groups, this Failed to enumerate objects in container an error may appear.
The reasons why this error might appear? There are two main reasons that lead to Failed to enumerate objects in container Windows 10 problem. It may arise due to a conflict in file or folder permissions or due to some folder settings that may be configured incorrectly.
How to resolve the error Cannot enumerate objects in container?
Fortunately, the steps to solve this problem are convenient and simple. A few basic tweaks in Windows settings and you're ready to easily assign user permissions to a folder. Let's take a look.
Solution 1: Use an elevated command prompt
1. close cmd in the command prompt window.
2. Right click command prompt icon Y run as administrator.
3. Now, copy and paste the below commands into the command prompt window and execute the commands 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 Administrators:F icacls X:FULL_PATH_TO_FOLDER /grant Administrators:F /t
Make sure you change FULL_PATH_TO_FOLDER with the path to the folder.
Solution 2: Change ownership of the folder
So far this is the best and only method suggested by Microsoft and Windows experts. Windows users have also advised to change ownership of the folder as this method solves the problem The objects in the container could not be enumerated. Access denied insect like a spell. Here are the steps to change folder ownership in Windows:
Step 1: Do a the right mouse button on him binder for what you are getting Unable to enumerate objects in container Unable to modify user permissions. From the context menu, select the file Property option.
Step 2: In the Folder Properties window that opens, navigate to the file Safety language. When in Safety click on the tab Advanced option.
3 pass: This will open a new file Advanced security settings window. Here in the upper section, just below the file Your name click on Modify option in Owner section.
4 pass: On the next screen, you will need to enter the username of your Windows account through which you log in. You can simply enter your username in the file Enter the name of the object to select box, then click Check the names to quickly find the correct username. Click OK.
Note: - If you can't find your username with this method, click Advanced below the text box to select your username from the list of all users. In the Advanced window, click Find now , at the bottom of this window a list of all usernames called “Select User and Group” will be compiled. From the list you can set your username. After selecting your username, click ok button.
5 pass: After selecting the username and returning to the Advanced screen, two new checkmark options will appear "Replace owner on subcontainers and objects" Y "Replace all child object's permission entries with inheritable permission entries from this objectWhich I have shown in the screenshot below. Select both options, then click OK. Again, click OK for the newly appeared message.
6 pass: Now, go back to the same screen by clicking Advanced in Safety Tongue.
Step 7: - Now click Inserisci.
Step 8: - Now click select a principal.
Step 9: - Now Write All and click Check the names. Click OK.
Step 10: - Click on ok to exit the screen.
Now close all windows and try to set folder permissions again. This step will likely fix the problem and you won't get the file Failed to enumerate objects in container error. If so, there is one more thing you can try.
Solution 3: Eliminate the warnings to fix the error listing objects in container
By accessing the User Account Control Settings, you can disable the notification option, which in turn will allow you to make changes to the folder permissions without showing any pop-ups or notifications. To properly change the folder permissions using this method, follow these steps:
Step 1- Open the Start menu and in the Start search bar, type UAC o Change the control parameters of your user account. This will display the Change Your User Account Control Parameters option in the search result; open it.
Step 2: You will see a cursor here. Drag the slider down to Never warn. When finished, click ok button. If a dialog box asks for your permission, press Yup.
After doing that, restart your PC. Once restarted, try to set the permissions of the folder.
Now you will be able to set the permission for the folder very easily.
I am still getting the Failed to enumerate objects in container Unable to change folder permissions? Try restarting your PC in Safe mode and repeat method no. 1 and see if you can perform the process successfully. If safe mode doesn't work, try doing the same in Safe mode with networking.
Note: To start your PC in safe mode, shut down your computer and restart it. As soon as the PC boots up, keep pressing the key F8 key on repeat (with an interval of 1 second). You will get boot options like Safe Mode Y Safe Mode with Networking. Select according to the requirement and perform the indicated methods.
Finally,
If nothing works, you may want to start over. Create a new folder, add files, and then set folder permissions for other users. And don't forget to tell us if this worked for you or not.
.