In Windows, you will need permissions to access files and folders. These safeguard the files/folders against unwanted intrusions and help keep content public or private. You can access only those files/folders for which necessary permissions are available. There could be an error in the User Account Control (UAC) or a bug in Windows Explorer. Occasionally, there could be discrepancies in the permissions; moving over to a new Windows Live account or a new OS upgrade might lead to the pop-up error “failed to enumerate objects in the container.

Even in Safe mode, failing to resolve the “Failed to Enumerate Objects in the Container” problem after using both the takeown.exe and icacls.exe commands suggests that the file system is faulty. Therefore, executing the Chkdsk command on the compromised partition is advised.

If the “Access is denied” error pops up, the issue could be with the UAC. This problem mainly occurs with Windows 7 users. It’s typical in Windows 7 that the UAC doesn’t always work with Windows Explorer, which Microsoft hasn’t publicly acknowledged.

How to Fix Failed To Enumerate Objects in the Container

If you haven’t upgraded your OS, you might want to go through the below steps to turn off UAC. You can go into the individual folders and try to change them manually. But that would be a tedious task as you would have to change the permissions for every folder. However, there is a handy workaround to fix failed to enumerate objects in the container issue. Follow these steps to sort it out.


Files’ authorization is essential in protecting data. The ownership issue is typically connected to a particular directory or file. It is necessary to pinpoint the file that is causing the issue. You must follow the path in your drive to reach the guide causing problems.

  1. Once you have located it, right-click on the list and select the Properties
  2. Select the Security tab after the properties window has opened. Select the Advanced option that you will see at the bottom.advanced settings
  3. Under the file name, you will see a small link with the Windows shield titled “change.”change option
  4. You will see a form-like tab where you must enter your account name next to the option “Enter object name.” Then, you click the Check Names button next to it to see your underlined word. Click OK. enter object nameRemember, you can select the Advanced option if you don’t see your name highlighted. This will show you a list wherein you can look for your username and fix it.
  5. When you get to this stage, a new window will appear with two checkboxes for replacing the owner and replacing the child object permission, respectively. Make sure both are chosen, then make the changes.replace
  6. Revisit the Advanced Settings window we saw initially. You will see an “Add” option at the bottom. Click on Add and then click on Select a Principal link. Enter “Everyone” in the textbox below “Enter the object names.” Click on Check names. Click on OK.choose everyone

If you reach this point successfully, you can set the permissions for the affected file.


In the world of computers, booting the computer is always seen as best practice, even when it is not essential. Safe mode booting is recommended, mainly after changes have been performed.

This can be done in a few simple steps.

  1. The power supply is active when you switch on a gadget and anything appears on the screen. Hold down the power button for the next 10 to 15 seconds.
  2. You will eventually enter the WinRE. You may do resets, alter startup settings, troubleshoot, etc., from this location. Select the Troubleshoot option on this interface.troubleshoot
  3. Then navigate to the Advanced options.advanced options
  4. Click on the “Startup Settings” option that you will see.startup settings

Next, choose Restart, and you’re good to go!

Turning Off UAC

Turn off UAC in Control Panel

  1. Go to Start>Control Panel>User Accounts and Family Safety>User Account.control panel
  2. Pull down the slider on the left-hand side to “Never Notify.” Click OK and reboot your PC. The UAC will be turned off when your PC starts back.

Turn off UAC with Registry Editor

  1. Go to Start>Run.
  2. Type “regedit.”
  3. Navigate to the following: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\SystemRegistery Editor
  4. Locate the following value: “EnableLUA.”
  5. Set the value to 0.
  6. Again, locate the following: “ConsentPromptBehaviorAdmin.”
  7. Set the value of “ConsentPromptBehaviorAdmin” to 0.
  8. Exit from the Registry Editor and reboot your PC to turn off UAC.

Note: – Turning off UAC will also disable the gadgets widget on your desktop. That is one trade-off that you will have to make.

Changing Permission Settings

The first step is enough to fix failed-to-enumerate objects in the container issue. There is a second workaround, i.e., changing the permission settings on your PC. Firstly, log in as the Administrator.

  1. Right-click the file/folder for which you want to change the permissions.
  2. Select option
  3. Go to the Security Tab>>Advanced.securities
  4. You will get this window. Click on Change.changing the file permissions
  5. The “Select User or Group” pop-up will appear. Click on Advanced.
  6. Click on Find user or group
  7. You will get a window like this. Select the correct user account.
  8. Hit OK> OK>Apply> OK.
  9. You will be back to step 2.securities
  10. Click on Advanced once more and make sure that the option “Replace all child object permission entries with inheritable permission entries from this object” is selected.
  11. Once done, click Apply and hit OK. If, in any case, you still get the error, instead of selecting your account, you have to change it to “everyone.”
  12. Go to Step 3 and click on Add.
  13. Next, click “Select a Principal.”select principal
  14. In the next box, type “Everyone” and hit OK


How to fix you are not permitted to access this folder?

Firstly, you change the username in the Advanced Security settings. Then, change the access permissions. Detailed steps are provided above.

How do I make the Administrator the owner?

After right-clicking a folder, you must go to the Security tab in the Properties window. then decide on the user's name. You may view the file permissions in the second part.

What does Error applying attributes mean?

The majority of the time, this error message will show because the person who is now logged in is not authorised to manage the file.

How do I fix error applying security failed to enumerate objects in the container?

Select the 'Security' tab, then select the 'Advanced' button in the window's bottom right corner. Just below the file name, next to the file owner, click the 'Change' link. Click the 'Check Names' button after entering your account name in the 'Enter the object name to choose' section.

Final Words

Hopefully, It will fix the error, and you should not get any more failed-to-enumerate objects in the container error.

See also: – How to Change Startup Sound in Windows 10 (Best Method) – TechWhoop.

Previous article8 Best Free & Paid BMW VIN Decoder Websites to Try Now
Next article7 Best Free Toyota VIN Decoder Tools
Kaushal Malkan
You can always find me playing the piano or playing FIFA when I'm not binge-watching TV Series with pizzas. Fountainhead of TechWhoop. Life motto: The only time success comes before work is in the dictionary.


Please enter your comment!
Please enter your name here