What will you do if Failed to enumerate objects in the container. Access is denied. error occurs? This article provides you with ways to solve this problem.
When you are trying to access a file or folder, do you often get Failed to enumerate objects in the container Access is denied. error? If yes, do not worry too much because this is a common dilemma on Windows 10.
If you are experiencing this error and don’t know how to fix it, this article will provide you with several beneficial methods. Let’s read on!
What Is “Failed To Enumerate Objects In The Container. Access Is Denied”?
As mentioned earlier, failed to enumerate objects in the container is a common error on Win10. This error occurs when you are trying to access files or folders while using LAN.
As we all know, Windows enables a user to share access to certain folders and data with other different ones when using the corresponding network.
However, the Window also limits access for security reasons, and you can also completely change this with associated permissions from the Properties window of a particular file or index to share access for your group.
However, when someone on your team attempts to share the group’s data with more people out of your organization, they may receive an announcement You don’t currently have permission to access this folder. Click Continue to permanently get access to this folder. This means an error occurred while applying security information failed to enumerate.
Why Is This Error?
Basically, there are four principal causes for the failed to enumerate objects in the container access is denied error.
- The operating system you are using is Windows 10. If you use another one, this error may be rare or unlikely.
- You are trying to change access to data while you are not the true owner of it.
- When you share access with a person or a group, there may be a conflict of permission to the shared folder or file.
- Another possible cause occurs in the data being shared itself. That means that the folders have some incorrect configuration settings.
In addition to these main reasons, there are a number of others. However, they are not so popular, so we have not listed them for now. You can refer to other information technology websites to have a deeper understanding.
How To Fix Failed To Enumerate Objects In The Container. Access Is Denied. Error?
After you have understood the concept and the causes of failed to enumerate objects in the container Windows 10 error, let’s come up with the most efficient fixes.
Method 1: Alter the File/Folder Ownership
This is the most common and direct way, which several Microsoft and Windows experts have recommended. Following are the steps to change affected folder ownership in Windows.
Step 1: First, open Windows Explorer and move to the folder or file which needs to be fixed. Then, right-click the file/folder with permission you want to change, then choose the option Properties.
Step 2: Next, you change direction to the Security category. After that click the Advanced option, as you can see in the illustration picture below.
Step 3: Tap the suggested link Change nearby the owner of the file/folder, which is below the name of the file or folder.
Step 4: Enter your username of the Windows account you are logged in under the heading Enter An Object Name To Select, next snap the Check Name switch. If this way doesn’t work, click the Advanced button and then the Find Now option to detect your username of the recommended list.
Step 5: You will then see two extra options settings appearing in the window. You must enable both of them: Replace Owner On Sub Containers And Objects and Replace All Child Object Permission Entries With Inheritable Permission Entries From This Object. Then, tap the Apply switch.
Step 6: Tick the Advanced key in the Security window presented above in the second step.
Step 7: Touch the Add option right at the bottom left, as shown below.
Step 8: Tap the Select A Principal category.
Step 9: In the heading Enter The Object Name To Select, type Everyone, and hit the Check Names button.
Step 10: Click OK to finish the process.
After completing all the above steps, you can try setting permissions for the needed file/folder right now.
Method 2: Suppress Warning
By accessing the User Account Control Settings, you can disable the notification option, which in turn will allow you to make changes to file/folder permissions without displaying any pop-ups or notice. Here is what you need to do to troubleshoot the Failed To Enumerate Objects In The Container error.
Step 1: Open the Start menu. Then type UAC or Change User Account Control in the search bar.
Step 2: Click on the Change User Account Control option
Step 3: Drag the slider down Never Notify to turn off notifications. When you are done, just click the OK button. If prompted by the dialog box, just click Yes.
Note: When you have ended, let’s reboot your PC. After restarting, try to set permissions for the file/folder.
Method 3: Use elevated Command Prompt
Many users recommend that running commands can help to recover the system from Windows 10 failed to enumerate objects in the container access is denied error. Below are detailed instructions.
Step 1: First, press down the Windows and R keys simultaneously to start the Run tab. Then, write in phrase cmd and press Ctrl + Shift + Enter keys. This manipulation will help you launch the Command Prompt with official privileges.
Step 2: Copy and paste the below commands into the Command Prompt window and execute them one by one. Be sure to use the phrase FULL_PATH_HERE instead of the path for your file/folder.
- takeown /F X:\FULL_PATH_HERE
- takeown /F X:\FULL_PATH_HERE /r /d y
- icacls X:\FULL_PATH_HERE /grant Administrators:F
- icacls X:\FULL_PATH_HERE /grant Administrators:F /t
After you’ve done it, end the Command Prompt tab and try to modify the permissions for the affected file/folder.
Note: Once you have done all three ways and cannot fix the error, try booting your computer in Safe Mode and repeat one of them. We are sure it will work!
The Bottom Line
We have just shown you the three most common and effective methods for fixing failed to enumerate objects in the container. access is denied error on Windows 10. Besides, it is also important to understand the concept and the causes of this error.
Understanding the reasons, you can apply one of the three ways mentioned above, such as altering the file/folder ownership, suppress the warnings, or executing elevated commands through the Command Prompt tab.
We hope that you can definitely troubleshoot this common failure to improve and boost your PC with our dedicated guide.
Maybe you are interested in