Home » Fix Failed to Enumerate Objects in the Container error on Windows 10

Fix Failed to Enumerate Objects in the Container error on Windows 10

  • by
  • 9 min read

You might have come across failed to enumerate objects in the container error on Windows 10 systems while trying to change file or folder permissions. In order to keep data safe and private, the administrator of the computer might enable user-specific authorization for important files and documents stored in it. So, when other users try to access or modify file permissions, they get failed to enumerate objects in the container error. 

However, many times the failed to enumerate objects in the container error may pop up for the administrative user of the system too. It is troublesome as now, and the administrator is unable to change access permission for files or documents for himself & for other users/user groups. You don’t have to worry since this guide will help you to fix failed to enumerate objects in the container error on Windows 10 systems.

Fix Failed To Enumerate Objects In The Container Error

4 Ways to Fix Failed to Enumerate Objects in the Container error

Reasons behind failure to enumerate objects in the container error 

These are few basic reasons why you encounter failed to enumerate objects in the container error: 

  • The conflict between different files and folders on your system can cause such issues.
  • Incorrect configuration of folder settings may lead to this error. 
  • Occasionally, third-party programs installed on your system may accidentally remove the default permission entries for files and folders on your PC and cause this error.

We have listed down four possible solutions that you can use to fix failed to enumerate objects in the container error.

Method 1: Manually Change Ownership of Files

The best way to fix failed to enumerate objects in the container error on Windows 10 PC is to manually change the ownership of those files with which you are facing this error. Many users reported having benefitted from this.

Note: Before implementing this method, make sure you log in as the administrator.

Follow these steps to change ownership of files manually:

1. Locate the file on your system where the error occurs. Then, right-click on the chosen file and select Properties, as shown. 

Right-click on the chosen file and select Properties | Fix Failed to Enumerate Objects in the Container error on Windows 10

2. Go to the Security tab from the top. 

3. Click on the Advanced icon from the bottom of the window, as shown below. 

Click on the Advanced icon from the bottom of the window | Fix Failed to Enumerate Objects in the Container error

4. Under Advanced Security Settings, click on Change visible in front of the Owner option. Refer to the given pic.

Under Advanced Security Settings, click on Change visible

5. Once you click on change, the Select User or Group window will pop up on your screen. Type the user account name in the text box titled Enter the object name to select.

6. Now, click Check Names, as depicted.

Click Check Names | Fix Failed to Enumerate Objects in the Container error on Windows 10

7. Your system will automatically detect and underline your user account. 

However, if Windows does not underline your user name, click on Advanced from the bottom left corner of the window to manually select user accounts from the given list as follows:

8. In the Advanced window that appears, click on Find Now. Here, manually select your user account from the list and click on OK to confirm. Refer to pic below.

Click on Find Now and select your user account from the list and click on OK

9. Once you are redirected to the previous window, click on OK to proceed further, as shown below. 

Click on OK | Fix Failed to Enumerate Objects in the Container error

10. Here, enable Replace owner on sub containers and objects to change the ownership of sub-folders/files within the folder. 

11. Next, enable Replace all child object permission entries with inheritable permission entries from this object

12. Click on Apply to save these changes and close the window.

Click on Apply to save these changes and close the window | Fix Failed to Enumerate Objects in the Container error on Windows 10

13. Re-open the Properties window and navigate to Security > Advanced by repeating steps 1-3.

Re-open the Properties window and navigate to Security then Advanced | Fix Failed to Enumerate Objects in the Container error

14. Click on the Add button from the bottom left corner of the screen. 

Click on the Add button from the bottom left corner of the screen

15. Click on the option titled Select a principle, as depicted.

Click on the option titled Select a principle

16. Repeat steps 5-6 to type & find the account username.

Note: You can also write Everyone and click on check names.

17. Click on OK, as shown below.

Click on OK | Fix Failed to Enumerate Objects in the Container error

18. In the new window that pops up, check the box next to Replace all child object permission entries with inheritable permission entries from this object.

19. Click on Apply from the bottom of the window to save the new changes.

Click on Apply from the bottom of the window to save the new changes | Fix Failed to Enumerate Objects in the Container error on Windows 10

20. Finally, close all windows.

Check whether you were able to resolve failed to enumerate objects in the container error.

Also Read: Fix Failed To Enumerate Objects In The Container Error

Method 2: Disable User Account Control Settings 

If the first method was not able to fix failed to enumerate objects in the container error, you can disable the user account control settings and then implement the first method to solve this error. Here is how to do it:

1. Go to the Windows search bar. Type Change User Account Control settings and open it from the search results. Refer to the given pic.

Type and select ‘Change User Account Control Settings’ from the Windows search menu

2. UAC window will appear on your screen with a slider on the left-hand side.

3. Drag the slider on the screen towards the Never notify option at the bottom.

Drag the slider on the screen towards the Never notify option at the bottom

4. Lastly, click OK to save these settings.

5. Restart your computer and check whether you were able to change file permissions without any error message. 

6. If not, repeat Method 1. Hopefully, the issue will be resolved now.

Method 3: Use Command Prompt

Sometimes, running certain commands in Command Prompt helped fix failed to enumerate objects in the container error on Windows 10 computers.

Follow the given steps to do so: 

1. In the Windows search bar, type the command prompt. 

2. Click on Run as administrator to launch Command Prompt with administrator rights. Refer to pic below.

Click on Run as administrator to launch Command Prompt with administrator right

3. Click Yes if you get a prompt on your screen stating Allow the command prompt to make changes on your device.

4. Next, run the following commands one by one and hit Enter.

Note: Replace X:\FULL_PATH_HERE with the path of the problematic file or folder on your system. 

takeown /F X:\FULL_PATH_HEREtakeown /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

type takeown f CWindowsSystem32 and press Enter | Fix Failed to Enumerate Objects in the Container error

5. After successfully executing the above commands, close the command prompt and check if the problem is resolved.

Also Read: Fix Something went wrong. Try restarting GeForce Experience

Method 4: Boot System into Safe Mode

The last solution to fix failed to enumerate objects in the container error is to boot Windows 10 in safe mode. In Safe Mode, none of the installed third-party apps or programs will run, and only Windows operating systems files and processes function. You might be able to fix this error by accessing the folder and changing the ownership. This method is optional and recommended as the last resort.

Here is how you can boot your Windows 10 system in Safe Mode:

1. First, log out of your user account and navigate to the sign-in screen.

2. Now, hold the Shift key and click on the Power icon on the screen.

3. Select Restart.

click on Power button then hold Shift and click on Restart (while holding the shift button).

4. When your system restarts, you will be redirected to the screen stating Choose an option.

5. Here, click on Troubleshoot and go to Advanced options.

Select Advanced Options. 

6. Click on Startup Settings. Then, select the Restart option from the screen.

Click Startup Settings icon on the Advanced options screen

7. When your PC restarts, a list of startup options will appear on your screen again. Here, select option 4 or 6 to boot your computer in safe mode.

From Startup Settings window choose the functions key to Enable Safe Mode

Once in Safe Mode, re-attempt Method 1 to fix the error.

Recommended:

We hope our guide was helpful, and you were able to fix failed to enumerate objects in the container error on Windows 10. If you have any queries/suggestions, let us know in the comments below.

nv-author-image

Pete Mitchell

Pete is a Senior staff writer at TechCult. Pete loves all things technology and is also an avid DIYer at heart. He has a decade of experience writing how-tos, features, and technology guides on the internet.

Leave a Reply

Your email address will not be published. Required fields are marked *