Partition Recovery™
An expert tool for recovering lost partitions
An expert tool for recovering lost partitions
Last updated: Jan 02, 2023

Failed to enumerate objects in the container error occurs? Fix it now!

Here you will find out:

  • about this issue
  • how DiskInternals Partition Recovery can help you

Are you ready? Let's read!

About this error

Access denied error in Windows 10/11 occurs when working with file or folder permissions. Typically, Windows OS allows you to share a folder or file with multiple users over the local network, and when you change the access permissions to some folders, this error "Failed to enumerate objects" may appear.

Most often, this problem appears due to a conflict of access rights to a folder or due to incorrect configuration of some folder parameters.

Undoubtedly, the error “failed to enumerate objects in the container access is denied” can be solved, and below is shown how to do it.

Let's fix it


1. Command Prompt

So, using the elevated command prompt will save you the hassle of accessing files and folders.

Right-click on Start and then right-click on the command line icon, run the tool as administrator.

Now type correctly in the command prompt window:

uncheck/FX:\FULL_PATH_TO_FOLDER and run the command;

takeown/FX:\FULL_PATH_TO_FOLDER/r/dy and execute the command;

icacls X:\FULL_PATH_TO_FOLDER/give admins:F and run the command;

icacls X:\FULL_PATH_TO_FOLDER/give admins:F/t and run the command;

* Where “FULL_PATH_TO_FOLDER” is the path to your folder. To find out the full path to a folder, simply left-click the folder once and copy the full path from the address bar.

2. Change folder preferences

Microsoft suggests changing the owner of a folder if the previous method did not fix the error "Failed to list objects in container".

So,right-click the folder with the error and select Properties from the context menu.

Next, go to the "Security" tab, click "Advanced" and you will be taken to a new window "Advanced Security Settings". In the upper section of Owner, click the "Change" button, then you will need to enter the username of your Windows account and click the "Check Names" button to find the correct display name for the user. Click OK and return to the Advanced screen. There are now two new options:

  • Replace owner on subcontainers and objects
  • Replace all child object permission records with permission entries from this object.

Activate both of these options, click OK and go to the Security tab again. Click on Advanced, select the button "Add", then on the button "Select" and write "All". Next, click Check Names and click OKto exit the screen.

After that, you should exit all dialog boxes and try to again set the folder permissions. If you do this, you will most likely get rid of the problem.

3. Edit admin list

You could also open the Hardening tab, select Administrators in the list, and click the Edit button. After that click on "Administrators" and check all Deny permissions. Save your changes: Click Apply and OK and see if it works or not.

4. Disable the notification option

If none of the above helps to fix the error "Failed to enumerate objects in container", you can disable the notification option. This will allow you to make changes to folder permissions without displaying pop-ups or any kind of notification. To seamlessly change folder permissions, follow these steps:

In the Start search bar, type UAC and search for the Change User Account Control settings option.

In the new window, deactivate the function "Never notify" and click OK. Now restart your computer and try setting folder permissions; most likely the error “failed to enumerate objects in container” will no longer appear.

Make sure your data is safe while working with OS preferences

DiskInternals Partition Recovery ensures that your data is safe when configured on your operating system. Also, using the read mode - you can access the data in the explorer and then, using a different mode, restore it to a safe place. Using the recovery mode, you can get back deleted or accidentally damaged data and export it wherever you go.

Keep in mind that DiskInternals Partition Recovery is a professional partition-level recovery application with the ability to convert the file system if necessary.

The program will recover all files from an SD card or from a hard drive, regardless of their format (if you are interested in a certain file type, you can specify it, and the application will search according to the specified parameters).

If you doubt that this utility is within your power, use the Wizard, and then there will be no doubts or questions. In addition, all the data found can be viewed for free and ensure that the application is unmatched in the market.

Apply this algorithm in the data recovery process:

  1. 1. Once the download and installation of the application is complete, open it and run the Wizard.
  1. 2. Select the device to scan.
  1. 3. Select the type of files to search or skip this step.

We decide to recover:

  • Mode read,
  • Full or fast recovery mode.

After scanning, start viewing files.

After that, you will need a license for the subsequent export of data to a new device.

The license is purchased on the Internet, and in a few minutes, the data is already in your pocket.

Related articles

FREE DOWNLOADVer 8.13, WinBUY NOWFrom $139.95

Please rate this article.