Complete guide Failed to Enumerate Objects in the Container Solution 2023

Photo of author

By admin

When you try to access a specific file or folder and receive the error message “Failed to Enumerate Objects in the Container. Access is denied.,” don’t panic! This article will help show you how to fix this issue.

Most of the time, this problem is caused by permissions issues – that is, someone else has changed the permissions on the file or folder so that you no longer have access. We’ll go over several methods to fix this error message and regain access to your files!

Optional: Start your computer in safe mode

First, you’ll need to ensure that your user account has the correct permissions for the file or folder. To do this, right-click on the file or folder and choose Properties.

Click on the Security tab and make sure that your user account is listed as an authorized user with either Full Control or Read & Execute access. If not, click on the Edit button and add your user account with the correct permissions.

If you’re still having trouble, try using Windows File Explorer to take ownership of the file or folder. To do this, right-click on the item and choose Properties.

On the Security tab, click Advanced then click Change next to Owner. Enter your user name in the box and click OK. Apply any necessary changes and try again.

If you’re still having trouble, try using the Command Prompt to give yourself ownership of the file or folder. To do this, open an elevated Command Prompt window (right-click on the Start button and choose Run as administrator).

Type in “takeown /f <path to file or folder>”, replacing <path to file or folder> with the path of your file or folder.

Press Enter and type in “icacls <path to file or folder> /grant:r <username>:f”, replacing <username> with your user name and <path to file or folder> with the path of your file or folder. Press Enter again and see if the error message has been fixed.

Finally, you can try using Group Policy Editor to change the permissions on the file or folder. To do this, open an elevated Command Prompt window (right-click on the Start button and choose Run as administrator).

Type in “gpedit.msc” and press Enter. Go to Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment.

Scroll down and find “Deny access to this computer from the network” and double-click on it. Uncheck the box next to your user name, then click OK. Try again, and the Failed to Enumerate Objects in the Container error should be fixed.

It can sometimes be difficult to figure out why you’re receiving a Failed to Enumerate Objects in the Container error message, but these steps should help you regain access to your files and folders. If not, contact an IT professional for further assistance.

Manually change the owner of the problematic file or folder

In some cases, Failed to Enumerate Objects in the Container is caused by a permission issue. To fix this issue, you’ll need to take ownership of the file or folder manually. Right-click on the item and choose Properties.

On the Security tab, click Advanced then click Change next to Owner. Enter your user name in the box and click OK. Apply any necessary changes and try again.

Failed to Enumerate Objects in the Container

Take ownership of the file or folder with the Command Prompt

If you’re still having trouble, you can try using the Command Prompt to take ownership of the file or folder. To do this, open an elevated Command Prompt window (right-click on the Start button and choose Run as administrator).

Type in “takeown /f <path to file or folder>”, replacing <path to file or folder> with the path of your file or folder.

Press Enter and type in “icacls <path to file or folder> /grant:r <username>:f”, replacing <username> with your user name and <path to file or folder> with the path of your file or folder. Press Enter again and see if the error message has been fixed.

Use Windows File Explorer

If you’re still having trouble, try using Windows File Explorer to take ownership of the file or folder. To do this, right-click on the item and choose Properties.

On the Security tab, click Advanced then click Change next to Owner. Enter your user name in the box and click OK. Apply any necessary changes and try again.

Use Group Policy Editor

Finally, you can try using Group Policy Editor to change the permissions on the file or folder. To do this, open an elevated Command Prompt window (right-click on the Start button and choose Run as administrator).

Type in “gpedit.msc” and press Enter. Go to Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment.

Scroll down and find “Deny access to this computer from the network” and double-click on it. Uncheck the box next to your user name, then click OK. Try again, and the Failed to Enumerate Objects in the Container error should be fixed.

Disable User Account Control

If none of the above solutions worked, you may need to disable User Account Control (UAC). To do this, open an elevated Command Prompt window and type in “net user administrator /active:yes”.

This will enable the built-in Administrator account on your computer. Log out and log back in as the Administrator, then try again.

If disabling UAC doesn’t solve your Failed to Enumerate Objects in the Container error, you may need to contact an IT professional for further assistance.

Use an elevated command prompt

If you’re still having trouble with Failed to Enumerate Objects in the Container, you may need to use an elevated command prompt. To do this, open an elevated Command Prompt window (right-click on the Start button and choose Run as administrator).

Type in “takeown /f <path to file or folder>”, replacing <path to file or folder> with the path of your file or folder.

Press Enter and type in “icacls <path to file or folder> /grant:r <username>:f”, replacing <username> with your user name and <path to file or folder> with the path of your file or folder.

Press Enter again and see if the error message has been fixed. If not, you may need to contact an IT professional for further assistance.

Failed to Enumerate Objects in the Container

Conclusion

The Failed to Enumerate Objects in the Container error can be quite difficult to fix as it is often caused by a permissions issue. However, there are several steps you can take to try and resolve the error.

Firstly, you can try taking ownership of the file or folder with the Command Prompt, Windows File Explorer, or Group Policy Editor.

If that doesn’t work, you may need to disable UAC or use an elevated Command Prompt window. If none of these solutions work, it is best to contact a professional IT technician for further assistance. 

1 thought on “Complete guide Failed to Enumerate Objects in the Container Solution 2023”

Leave a Comment