In Windows, you will need permissions to access files and folders. These are safeguards for the files/folders against unwanted intrusions and help to 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. On the rare occasion 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.”
Changing permissions settings might not help in such a situation, and you won’t be able to go ahead unless you have the required permissions. If you click on Continue, you will get another error, “Access is denied.”
If the “Access is denied” error pops up, the issue could be with the UAC. This problem mostly occurs with Windows 7 users. It’s quite typical in Windows 7 that the UAC doesn’t always work with Windows Explorer, which Microsoft hasn’t publicly acknowledged. So, 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.
- 1 How to Fix Failed To Enumerate Objects in the Container
- 2 FAQs
- 3 Final Words
How to Fix Failed To Enumerate Objects in the Container
Files’ authorization is important 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 will need to follow the path in your drive to reach the directory causing problems.
- Once you have located it, right-click on the list and select the Properties option.
- Select the Security tab after the properties window has opened. Select the Advanced option that you will see at the bottom.
- Under the file name, you will see a small link with the Windows shield titled “change.”
- 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 right next to it to see your name underlined. Click Ok. Remember, if you don’t see your name underlined, you can select the Advanced option. This will show you a list wherein you can look for your username and select it.
- 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.
- 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.
If you reach this point successfully, you will be able to 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, especially after changes have been performed.
This can be done in a few simple steps.
- When you switch on a gadget, and anything appears on the screen, it means that the power supply is active. Hold down the power button for the next 10 to 15 seconds.
- 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.
- Then navigate to the Advanced options.
- Click on the “Startup Settings” option that you will see.
Next, choose Restart, and you’re good to go!
Turning Off UAC
Turn off UAC in Control Panel
- Go to Start>Control Panel>User Accounts and Family Safety>User Account.
- 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
- Go to Start>Run.
- Type “regedit.”
- Navigate to the following:
- Locate the following value: “EnableLUA.”
- Set the value to 0.
- Again, locate the following: “ConsentPromptBehaviorAdmin.”
- Set the value of “ConsentPromptBehaviorAdmin” to 0.
- 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. Then
- Right-click the file/folder for which you want to change the permissions.
- Select Properties.
- Go to the Security Tab>>Advanced.
- You will get this window. Click on Change.
- The “Select User or Group” pop-up will appear. Click on Advanced.
- Click on Find Now.
- You will get a window like this. Select the right user account.
- Hit OK>OK>Apply>OK.
- You will be back to step 2.
- Click on Advanced once more and make sure that the option “Replace all child object permission entries with inheritable permission entries form this object” is selected.
- 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.”
- Go to Step 3 and click on Add.
- Next, click “Select a Principal.”
- 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.
It should hopefully fix the error, and you should not be getting any more of failed to enumerate objects in the container error.