Failed To Enumerate Objects in the Container

Failed To Enumerate Objects in the Container by which access is denied error in Windows 10 is a prevalent error that users face during a file or folder permissions.

Windows permit to share a folder or file with multiple users on a LAN. As an Administrator, when the user tries to make changes in access permission to few folders for users or groups, this Failed to Enumerate Objects in the Container error might get into the process.

Two main reasons are leading to this caption of Failed to Enumerate Objects in the Container Windows 10 problem. It may arise because of a clash in file or folder permissions. It may stem from some folder settings that could be misconfigured.

Fixing Failed to Enumerate Objects in the Container issue

The steps to resolve this issue are, fortunately, convenient and straightforward. Few necessary tweaks in Windows settings will set to assign user permissions to a folder easily.

Let’s check them out.

Fix 1 – Using an elevated command promptSearch cmd in the command prompt window.

  • Step 1: Right-click on control prompt icon to run as administrator.
  • Step 2: Copy and paste the given commands below in the command prompt window. Try to one-by-one execute the commands.
    • 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
  • Step 3: Ensure to change FULL_PATH_TO_FOLDER with the path of the folder.

Fix 2 – Change Folder Ownership

This is the best and unique method suggested by Microsoft and Windows experts. Windows users have recommended the folder ownership change to solves the Failed to Enumerate Objects in the Container. Access gets denied in the form of error like a charm. Here are those few steps which are involved in changing folder ownership in Windows:

  • Step 1: Right-click on the folder which gets Failed to Enumerate Objects in the Container error when trying to change user permissions. Select the Properties option.
  • Step 2: Tap on the Security tab in the Folder Properties window that opens. Tap Advanced option to open a new Advanced Security Settings window.
  • Step 3: Right below the Name section in the top section, press on the Change option in the Owner section.
  • Step 4: In the next Screen, user will require to enter Windows account’s username through which you log in. You can enter your username in the Enter the object name to select the box and then click on Check Names button to quickly find your correct username. Click On OK.
  • Step 5: After selecting the username and are back to the Advanced Screen, two new checkmark options will appear, “Replace owner on sub containers and objects” and “Replace all child object permission entries with inheritable permission entries from the object“. Select both options, click on OK for the Prompt which just Popped Up.
  • Step 6: Again go to the same Screen by tapping on Advanced on Security Tab.
  • Step 7: – Press on Add.
  • Step 8: – Press On select a Principal.
  • Step 9: – Write Everyone and Click on Check names.
  • Step 10: – Tap on OK to exit the Screen.

Close down the windows, and try to set folder permissions. This step will solve the problem most probably, and you won’t receive the Failed to Enumerate Objects in the Container error.

Fix 3 – Suppressing the Warnings to fix Failed to Enumerate Objects in the Container issue.

Disabling the notification option, will permit to make changes to the folder permissions without showing any pop-up or notification, by accessing the User Account Control Settings. Follow the given steps to change folder permissions successfully :

  • Step 1: Open Start menu, in the Start search bar, type UAC or Change User Account Control Settings to show the Change User Account Control Settings option in the search result and open it.
  • Step 2: Get a slider and drag the slider down to Never notify. When done, click on the OK button. When a dialogue box prompts for permission and tap Yes.

After this, restart PC. Try to set folder permissions for the folder easily.

Still Failed to Enumerate Objects in the Container error while changing folder permissions. Try restarting PC in Safe Mode, repeat Method #1, and see if you can successfully carry out the process. Whether Safe Mode doesn’t work, try doing the same in Safe Mode with Networking.

If nothing works start fresh. Create a new folder to add files, and set folder permissions for users. And, do not forget to tell us if this worked for you or not.