How to Resolve the “Failed to Enumerate Objects in the Container” Error on Windows 10

December 10, 2025

0
(0)

How to Resolve the “Failed to Enumerate Objects in the Container” Error on Windows 10

The “Failed to Enumerate Objects in the Container” error on Windows 10 usually appears when you try to change the permissions of a file or folder. This problem prevents you from modifying ownership or access rights and can interrupt important tasks like sharing files, installing applications, or performing administrative actions. Fortunately, there are several effective methods to fix this error and regain control over your files.

This guide explains the causes, solutions, and step-by-step instructions to help you resolve the issue quickly and safely.

Failed to Enumerate Objects in the Container

What Causes the “Failed to Enumerate Objects in the Container” Error?

This error typically occurs when Windows cannot read the security information from a file or folder. The most common causes include:

  • Corrupted file permissions

  • Insufficient administrative rights

  • Damaged system files

  • Conflicts from third-party security software

  • Restricted access inherited from parent folders

  • Incorrect ownership of files or directories

Understanding the reason behind the error helps you apply the right fix.

Failed to Enumerate Objects in the Container2

Fix 1: Change Ownership of the File or Folder

The most effective method to resolve this error is to take ownership of the affected file or folder.

Step-by-Step: Change Ownership

  1. Right-click the file or folder causing the error.

  2. Select Properties.

  3. Open the Security tab.

  4. Click Advanced.

  5. Look for Owner at the top and click Change.

  6. Type your Windows username in the field.

  7. Click Check Names to confirm.

  8. Select OK.

  9. Check the box Replace owner on subcontainers and objects.

  10. Click Apply and then OK.

After taking ownership, try changing the permissions again and check if the error is gone.

Fix 2: Give Yourself Full Control Permissions

Once ownership is transferred, you may still need to assign full control to your account.

How to Set Full Control

  1. Right-click the folder.

  2. Choose PropertiesSecurity tab.

  3. Click Edit.

  4. Select your user account.

  5. Check the box next to Full Control.

  6. Click ApplyOK.

If the permission update succeeds, the error should be resolved.

Fix 3: Disable User Account Control (UAC) Temporarily

Microsoft includes a feature called User Account Control, which helps protect your system by preventing unauthorized changes. However, it may sometimes interfere with editing permissions.

Steps to Disable UAC

  1. Press Win + R, type control, and press Enter.

  2. Open User Accounts.

  3. Select Change User Account Control settings.

  4. Drag the slider to Never notify.

  5. Click OK.

  6. Restart your PC.

Try adjusting the folder permissions again. Remember to re-enable UAC afterward for security.

Fix 4: Use Command Prompt to Take Ownership

If the graphical interface doesn’t work, Command Prompt can help you bypass restrictions.

Using Command Prompt to Take Ownership

  1. Press Start, type Command Prompt.

  2. Right-click and choose Run as administrator.

  3. Enter the following command to take ownership:

takeown /F "C:\Path\To\Folder" /R /D Y
  1. Then assign full control:

icacls "C:\Path\To\Folder" /grant administrators:F /T
  1. Press Enter after each command.

After the commands run, check if the folder permissions update successfully.

Fix 5: Turn Off Third-Party Security Software

Some third-party antivirus or security tools restrict permission changes. Programs like those from Avast or other security suites may block editing access.

Try the Following:

  • Disable real-time protection temporarily

  • Pause firewall features

  • Check if the antivirus has “Folder protection” or “Ransomware shield” features

  • Attempt the permission change again

If the fix works, add the folder to the antivirus exclusion list.

Fix 6: Restart Your PC in Safe Mode

Safe Mode loads only essential services, which can prevent other applications from blocking permission changes.

How to Boot into Safe Mode

  1. Open Settings.

  2. Go to Update & Security.

  3. Click Recovery.

  4. Under Advanced startup, choose Restart now.

  5. Select TroubleshootAdvanced optionsStartup Settings.

  6. Click Restart.

  7. Choose Enable Safe Mode.

Once in Safe Mode, try editing the permissions again. Afterward, restart normally.

Fix 7: Disable Permission Inheritance

Some folders inherit complex permissions from their parent directory, causing conflicts.

Disable Inheritance

  1. Right-click the folder → Properties.

  2. Go to the Security tab → Advanced.

  3. Click Disable inheritance.

  4. Choose Convert inherited permissions into explicit permissions.

  5. Apply the changes.

Now try adjusting the permissions manually.

Fix 8: Check and Repair System Files

Corrupted system files can prevent Windows from reading or modifying permissions.

Run SFC and DISM

  1. Open Command Prompt as administrator.

  2. Run the System File Checker:

sfc /scannow
  1. After completion, run DISM:

dism /online /cleanup-image /restorehealth
  1. Restart your computer.

Try again to adjust the folder permissions.

Fix 9: Create a New Administrator Account

If your current Windows profile is corrupted, a new administrator account may solve the issue.

Create a New Account

  1. Open Settings.

  2. Go to AccountsFamily & other users.

  3. Click Add someone else to this PC.

  4. Select I don’t have this person’s sign-in information.

  5. Choose Add a user without a Microsoft account.

  6. Create a username and password.

  7. Set the account type to Administrator.

Log in with the new account and try changing the file permissions again.

Fix 10: Reset Folder Permissions to Default

If the file or folder has many conflicting permissions, resetting everything may help.

Reset Permissions via Command Prompt

  1. Open Command Prompt as admin.

  2. Use this command:

icacls "C:\Path\To\Folder" /reset /T
  1. Press Enter.

Windows will restore the folder’s permissions to its original settings.

Final Thoughts

The “Failed to Enumerate Objects in the Container” error on Windows can be frustrating, especially when you need full control over your files. Fortunately, most of the issues stem from permission conflicts or ownership problems, which can be resolved with the methods above.

By taking ownership, adjusting access rights, disabling restrictions, or using Command Prompt tools, you can regain control over your folders and continue your work without interruption. If the problem persists, consider repairing system files or creating a new administrator account.

How useful was this guide?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments