FIX Failed to enumerate objects in the container. Access is denied (Solved)

This tutorial contains instructions to resolve the following error: "Error Applying Security. An error occurred while applying security information to folder %Folder Name%. Failed to enumerate objects in the container. Access is denied" when you try to change the permissions of the folder in Windows 7, 8 or 10 OS.

The error "Failed to Enumerate Objects in the Container. Access is denied” usually occurs when you try to change the permissions of a system folder (e.g. the "C:\System Volume Information Folder") or of a corrupted folder.

Failed to enumerate objects in the container. Access is denied

 

 

How to fix "Failed to enumerate objects in the container. Access is denied" – Cannot Change Folder Permissions.

To take the ownership and assign full control permissions to a folder (or file) in Windows 10/8/7:

1. Open Command Prompt as Administrator. To do that:

  • At the search box type: command prompt or cmd
  • Right-click at Command Prompt result and select Run As Administrator.

command prompt as administrator

 

 

 

2. At command prompt give the following commands in order: *

  • takeown /F "Full Path of Folder or File"
  • takeown /F "Full Path of Folder or File" /r /d y
  • icacls "Full Path of Folder or File" /grant Administrators:F
  • icacls "Full Path of Folder or File" /grant Administrators:F /t

 

* Note: If you receive the "Access Denied"  error during the execution of any of the above commands, then stop there and:

1. Check and repair errors on the drive that contains the folder/file that you want to change the permissions. For example, if your want to check for errors the drive "D:" give the following command and press Enter.

  • chkdsk D: /F /R

2. After checking and repairing the drive, give the commands above to change the permissions.

For example: If you want to change the Owner and Assign Full control permissions to the "C:\System Volume Information" ** folder, give these commands in order:

  • takeown /F "C:\system volume information"
  • takeown /F "C:\system volume information" /r /d y
  • icacls "C:\system volume information" /grant Administrators:F
  • icacls "C:\system volume information" /grant Administrators:F /t

 

fix cannot change owner Failed to enumerate objects in the container

 

** Note: The "C:\System Volume Information" folder is a system protected folder, because it is used from Windows, to store the system restore points. In order to successfully modify the permissions of the "C:\SYSTEM VOLUME INFORMATION" folder, follow the procedure below:

1. First of all, turn off the "System Restore" (System Protection). To do that:

  • a. Right click on "Computer" (This PC) icon, and choose Properties.
  • b. Then open System Protection –> Configure –> Turn OFF System Protection (Disable System Protection).
  • disable system protection

2. Restart your system in Safe Mode.

3.In Windows Safe Mode, type the above TAKEOWN & ICACLS commands in command prompt (Admin).

4. After finishing your job, restart Windows normally and don't forget to Enable the System Protection.

 

That’s all folks! Did it work for you?

Please leave a comment in the comment section below or even better: like and share this blog post in the social networks to help spread the word about this solution.

If this article was useful for you, please consider supporting us by making a donation. Even $1 can a make a huge difference for us in our effort to continue fighting spam while keeping this site free: