How to Solve ‘Failed to Enumerate Objects in the Container – Access is Denied’ Issue on Windows 10

Permissions are necessary to ensure privacy and security on your computer. In particular, if you share your device with other people, such as a work or school computer, you want to make sure that only authorized people can access certain files and documents. The error message “Failed to Enumerate Objects in the Container. Failed to Enumerate Objects in the Container. Access Denied” is usually displayed when you try to change the permissions of a file or folder.

In most cases, the file or folder either comes from an external source (such as another computer) or is shared by many local users. Although this error message may seem scary at first, it is not so scary if you know how to deal with it. In our article, we will look at various methods to fix this error and restore permissions on your Windows 10 computer.

What causes the “Failed to enumerate objects in container” error?

Here are some of the main reasons for the “Failed to enumerate objects in container” error:

  • Incorrectly configured folder settings can cause this error.
  • The conflict between different files and folders in your system can cause such problems.
  • Sometimes third-party programs installed on your system may inadvertently remove the default permissions entries for files and folders on your computer and cause this error.

Below we have listed possible solutions that you can use to fix the “Cannot list items in container” error.

How to fix the “Container item enumeration failed: access was denied” error

Start the computer in safe mode

Booting your computer in safe mode is a simple process that can be completed in a few steps.

  1. First, turn on your computer and wait for the login screen to appear.
  2. Next, press and hold the Shift key, then click the power button and select Restart.
  3. Once your computer restarts, you will see a screen with several options.
  4. Select Troubleshoot, then Advanced Options, and finally Startup Settings.
  5. Finally, click the Restart button and select Enable Safe Mode from the list of options that appears.

By following these steps, you can boot your computer in safe mode and protect it from potential problems.

Manually change the owner of the problem file or folder

In Windows 10, the owner of a file or folder can be changed in several ways. The most common way is to use the Properties dialog box. However, there are also ways to use the Command Prompt and PowerShell. Here’s how to do it.

To change the owner of a file or folder using the Properties dialog box:

  1. Right-click on the file or folder and select Properties.
  2. Click on the Security tab.
  3. Click on the Advanced button.
  4. Click on the Change link next to the Owner entry.
  5. Type in the name of the user or group you want to be the owner and click OK.
  6. Click on the Apply button and then click OK to close the Properties dialog box.
  7. You will be prompted to confirm that you want to change the owner of the selected object(s). Click Yes to continue.
  8. If you are changing the owner of a folder, you will also be asked if you want to change the ownership of all subfolders and files within that folder.
  9. Click Yes to continue or No if you only want to change ownership of the selected folder (not its contents).
  10. You have successfully changed the owner of the file or folder.

Disable user account control

User account control, or UAC, is a security feature in Windows that helps Prevent unauthorized changes to your system. If you’re trying to disable UAC on Windows 10, here’s a list of steps to follow:

  1. Right-click on the Start menu and select “Control Panel.”
  2. In the Control Panel, select “User Accounts.”
  3. Under ” User Accounts,” select “Change User Account Control settings.”
  4. Move the slider down to “Never Notify” and click “OK.”
  5. You will be prompted to enter your password; enter it and click “Continue.”
  6. Restart your computer for the changes to take effect.

Run Chkdsk

  1. To run chkdsk on Windows 10, you’ll need to open the Command Prompt. To do this, type “cmd” into the search bar and click on the “Command Prompt” result that appears.
  2. In the Command Prompt window, type “chkdsk C: /f” and press Enter. This will initiate a scan of your C drive for errors.
  3. If you want to scan another drive, simply replace the “C” in the command with the appropriate letter.
  4. Once the scan is complete, you’ll be given the option to fix any errors that are found. Press Y and Enter to do so.
  5. Chkdsk will then begin repairing any errors it finds, which can take some time depending on the size of your drive.
  6. Once it’s finished, you can close the Command Prompt window and restart your computer. Your drive should now be free of any errors.

Run SFC scan

Microsoft’s System File Checker is a handy tool that can help you fix corrupt files on your Windows 10 computer. If you’re having trouble with your PC, running an SFC scan could help fix the problem. Here’s how to do it:

  1. Type ‘Command Prompt’ into the search box on the taskbar and select the ‘Command Prompt’ app from the results.
  2. In the Command Prompt window, type ‘sfc /scannow’ and press Enter.
  3. The scan will take a few minutes to complete. Once it’s done, restart your PC and see if the problem has been fixed.

If you’re still having trouble with your PC after running an SFC scan, you can try running a DISM scan. For more information on how to do this, check out Microsoft’s support page.

Run DISM

This tool can be used to repair and fix a number of different issues with your system, and it’s important to know how to use it. Here are the steps you need to follow:

  1. First, you need to open the Command Prompt as an administrator. To do this, search for “Command Prompt” in the Start menu and then right-click on the result and select “Run as administrator.”
  2. Once the Command Prompt is open, type in the following command and hit Enter: Dism /Online /Cleanup-Image /ScanHealth
  3. This will scan your system for any issues that could be causing problems. If no errors are found, you can proceed to the next step. If errors are found, you’ll need to fix them before continuing.
  4. To actually fix the problems that were found in the previous step, you need to run the following command: Dism /Online /Cleanup-Image /RestoreHealth
  5. Once that’s finished running, you should reboot your system and then check to see if the problem has been fixed.

Frequently Asked Questions

If you cannot resolve the "Failed to Enumerate Objects in the Container" error after using takeown.exe and icacls.exe commands, even if you are in safe mode, this indicates that the file system is corrupt. Therefore, it is recommended to run the Chkdsk command on the affected partition.

The error "Failed to Enumerate Objects in the Container. Failed to Enumerate Objects in the Container. Access Denied" error usually occurs when you try to change the permissions of a file or folder. In most cases, the file or folder either comes from an external source (such as another computer) or is shared by many local users.

  • Start the Chkdsk tool.
  • Perform an SFC scan.
  • Launch the DISM scanner.
  • Turn off the user account control.
  • Start the computer in safe mode.
  • Manually change the owner of a problem file or folder.