Most of the Windows users reported an error Failed to Enumerate Objects in the Container. Access is denied in Windows 10 while dealing with file or folder permissions. If you are also facing the same issue, need not worry. Today in this guide, I will walk you through the solutions to fix this error. Keep reading!
What does “Failed to Enumerate Objects in the Container. Access is Denied” mean?
As we all know that Windows is the most popular OS due to its key features amongst its users. Windows allows its users to share any folder or file within a local network to multiple users. If a user with the administrative rights tries to change access permission to some folders for some specific users or groups, this error may show up. Usually, this error appears on the screen when you try to make changes in the folder, and permission is denied.
Why the error “Failed to Enumerate Objects in the Container. Access is Denied” occurs?
The two main reasons for the error Failed to Enumerate Objects in the Container in Windows are listed as under:
- Clash in file or folder permissions.
- Incorrect configuration of folder settings.
How to Fix the error ‘Failed to enumerate objects in the container. Access is denied’ in Windows?
The error ‘Failed to enumerate objects in the container’ is not so annoying. You can fix it by applying a few advanced methods. Now, follow the steps and execute them carefully to get rid of this issue.
Using Elevated Command Prompt
- Go to the Search box and type “cmd” and press Enter. Further, right-click on Command Prompt and select Run as Administrator.
- Type the following commands one by one and press Enter after each command:
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
- Change FULL_PATH_TO_FOLDER with the path of your folder.
Change Authorization
This is an effective and easiest method to resolve an error ‘Failed to enumerate objects in the container Windows 10’ Operating System. First and foremost, you will have to select the Folder and then change the ownership. For the detailed section, go through the steps listed below.
- Select the Folder which is giving an error on your display. After that, right-click on it and choose ‘Properties’ from the drop-down menu.
- Thereafter, a new window will appear on the screen, click on the ‘Security’ tab, and further click on the ‘Advanced’ tab which is located at the bottom of the window.
- In the Advanced Security Settings window, you will find the ‘Owner’ section, click on the link ‘Change’.
- Soon, you will find another window which will give you access to change the ownership of a particular folder. Enter a username in the space provided in the box and then click on ‘Check Names’ and further click on the ‘OK’ button.
- After completing the above task, you will find the name of the owner will change, now click on the checkbox ‘Replace owner on sub containers and object’.
- At the bottom of the window, you will find a checkbox ‘Replace all child object permission entries with inheritable permission entries from this object’ and enable the same. After completing the task, click on the ‘OK’ button and close the properties window.
Change Ownership
- Now again, select the same folder which is showing an error ‘Failed to enumerate objects in the container’, right-click on it and select ‘Properties’.
- Click on the ‘Security’ tab and further click on the ‘Advanced’ tab.
- This will direct you to the ‘Advanced System Security’ window, click on the ‘Add’ button to perform a few additional settings.
- In the next pop-up, you will notice most of the features are disabled and to enable you will have to click on ‘Select a Principal’.
- Now, enter a username in the box and click on ‘Check Names’.
- Thereafter, you will find that all the features are not enabled and your job is to click on the checkbox ‘Full Control’ which is listed in the section of ‘Basic Permission’.
- After completing the above task, the ‘Advanced Security Settings’ window will open. At the bottom, you will find a checkbox ‘Replace all child object permission entries with inheritable permission entries from this object’ enable it by clicking on the checkbox.
- That’s it, click on the ‘Apply’ button and further click on the ‘OK’ button to complete the process.
Disable Notification Feature
You can disable the notification option by accessing the UAC settings, which will allow you to make changes to the folder permissions without showing any pop-up or notification. To do so follow these steps:
- Press Windows+S keys to launch the search box, and type UAC or Change User Account Control Settings. Open the Change User Account Control Settings option from the search result.
- Drag the slider fully down and choose the option Never Notify. Click Ok and press Yes in the prompt pop-up if asked.
- Restart your computer and try to set permission to the folder.
Start Windows in Safe Mode
If none of the methods worked for you then try to run Windows in Safe Mode. To do so follow these steps:
- When the sign-in screen appears, hold the shift+power keys then click Restart.
- Your computer restarts to choose an option screen. Select the Troubleshoot option.
- Then click on Advanced option.
- In next screen, click on the Startup Settings.
- And then click on Restart.
- Once your computer restarts you will see a list of startup options. Here press any of the 5 or F5 keys to start your computer in Safe Mode with Networking.
- Now, log into Safe Mode and create a new administrator account or fix registry or file system permissions.
Run chkdsk Scan
If the Safe Mode with Networking also not worked then you can try to run the chkdsk scan to fix this error. To do so follow these steps:
- Press Windows+S keys and type cmd to open the command prompt.
- Right-click on the command prompt and choose Run as Administrator.
- Type the command CHKDSK /R C:\ and press Enter.
- It will carry out a scan for any error and fix it automatically. Restart your computer and check for the error.
Conclusion
These were the effective solutions to resolve the issue ‘Failed to enumerate objects in the container. Access is denied’. So many users have been benefited already. Let us know in the comment section which method worked for you? Wanna some more DeviceTricks? Stay tuned to this space to get the latest updates on errors related to Windows, macOS, and Android.
If you feel this article helpful please like, share, and follow our Facebook page.
Leave a Reply