How to Windows

How to Fix Failed to Enumerate Objects in the Container

Compare Two Folders
Written by Kelly Houstan

You guys might have come across failed to enumerate objects in the container error on Windows 10 systems whenever trying to change file or folder permissions. In order to keep data safe and private, the administrator of the computer might turn on user-particular authorization for important files and documents saved in it. So, whenever other users try to access or modify file permissions, and they get failed to enumerate objects in the container error.  In this article, we are going to talk about How to Fix Failed to Enumerate Objects in the Container. Let’s begin!

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

How to to Fix Failed to Enumerate Objects in the Container error

Reasons behind failure to enumerate objects in the container error 

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

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

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

Turn off User Account Control Settings 

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

  • Head to the Windows search bar. Type Change User Account Control settings and then open it from the search results. Now refer to the given pic.
  • UAC window will appear on your screen along with a slider on the left-hand side.
  • Now drag the slider on the screen towards the Never notify option at the bottom as well.

failed to enumerate objects

  • Lastly, you have to tap on OK in order to save these settings.
  • Then restart your computer and check if you were able to change file permissions without even any error message.
  • If not, go to next method. Hopefully, the issue will be resolved now.

Manually Change Ownership of Files | failed to enumerate objects

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

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

Just follow these steps in order to change ownership of files manually:

  • You have to locate the file on your system where the error occurs. Then, right-tap on the chosen file and choose Properties, as shown.
  • Head to the Security tab from the top.
  • Tap on the Advanced icon from the bottom of the window, as shown below.
  • Now under Advanced Security Settings, click on Change visible in front of the Owner option. Refer to the given pic.
  • When you click on change, the Select User or Group window will then pop up on your screen. Type the user account name in the text box titled Enter the object name in order to select.
  • Then, tap on Check Names, as depicted.
  • Your system will automatically detect and then underline your user account.

Further

But, if Windows does not underline your user name, and tap on Advanced from the bottom left corner of the window to manually choose user accounts from the given list as follows:

  • In the Advanced window that appears, tap on Find Now. Here, manually select your user account from the list and tap on OK in order to confirm. Refer to pic below.
  • When you are redirected to the previous window, then just tap on OK to proceed further, as shown below.
  • There, just turn on Replace owner on sub containers and objects in order to change the ownership of sub-folders or files within the folder.
  • Then, turn on Replace all child object permission entries along with inheritable permission entries from this object.
  • Tap on Apply to save these changes and then close the window.
  • Re-open the Properties window and then just navigate to Security > Advanced via repeating steps 1-3.
  • Tap on the Add button from the bottom left corner of the screen.
  • Then tap on the option titled Select a principle, as depicted.
  • Now just repeat steps 5-6 to type & find the account username.

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

  • Tap on OK, as shown below.
  • In the new window that pops up, now check the box next to Replace all child object permission entries along with inheritable permission entries from this object.
  • Tap on Apply from the bottom of the window in order to save the new changes.
  • At last, close all windows.

Check if you were able to resolve failed to enumerate objects in the container error as well.

Use Command Prompt

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

You have to follow the given steps to do so:

  • In the Windows search bar, you have to type the command prompt.
  • Now on Run as administrator to launch Command Prompt along with administrator rights.
  • Tap on Yes if you get a prompt on your screen stating permit the command prompt to make changes on your device.
  • Now, you have to run the following commands one by one and click on Enter.

Note: Replace X:\FULL_PATH_HERE along 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
  • After successfully executing the above commands, you have to close the command prompt and then check if the problem is resolved.

Boot System into Safe Mode | failed to enumerate objects

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

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

  • First of all, log out of your user account and then navigate to the sign-in screen.
  • Then, hold the Shift key and then tap on the Power icon on the screen.
  • You have to choose Restart.
  • Whenever your system restarts, you will be redirected to the screen stating Choose an option.
  • Here, just tap on Troubleshoot and head to Advanced options.
  • Tap on Startup Settings. Then, choose the Restart option from the screen.
  • When your PC restarts, a list of startup options will also appear on your screen again. Here, just choose option 4 or 6 in order to boot your computer in safe mode.

Conclusion

Well, That is all from my side. If you want to know more about this article or have any queries. Then feel free to ask me anything in the comments section below.

Have a Good Day!

Also See: The Best Site to Read Comics Online Free

About the author

Kelly Houstan

Leave a Comment