Error Listing Objects in Container | Solutions

Last update: 04/10/2024
Error Listing Objects in Container

If you have seen the Error listing objects in container and you don't know what can cause it or how to fix it, you've come to the right place. In this article, we'll talk about this error and give you some useful methods you can try to fix the appearance of this error.

En Windows 10, There is a great feature available for files and folders. Folder permissions allow us to keep everything saved in a particular folder either private or available to everyone i.e. public.

This is a very useful feature if you have very important (work data) and sensitive files that should not be accessed by anyone but you. However, when you try to change permissions for that super important folder, there are cases where you get the error when listing objects in the container.

The usual cause of this error is that you do not have permissions to change anything in the folder because ownership belongs to another account.If you do not have administrator rights, you will not be able to change anything in the folder or file.

Another reason is that there may be some incorrect settings in the folder that were configured without your permission. But don't worry, this error can be easily fixed.

Error enumerating objects in container. Solutions

Error Listing Objects in Container

The methods below are pretty easy and can be implemented quickly without having much experience. Just a few basic tweaks in Windows settings, and you'll be ready to assign user permissions to a folder you want to access.

If the first method doesn't work for you, try the second one and so on, but make sure you try all the methods so you can fix the error when listing objects in the container.

Method 1: Change the ownership of the file or folder

This is the best and only method suggested by Microsoft and some Windows experts to fix error enumerating objects in the container. That is the reason why we should try this method first.

Some Windows users who tried this method to change folder ownership commented (on some forums and other sites) that it resolves the error when listing objects in the container. Access is denied as if by magic.

  How to Unblock a Wi-Fi Network from Your Cell Phone: A Step-by-Step Guide

So, here are the steps to change folder ownership in Windows 10:

  • click with it right click on the folder where you get the error message when listing objects in the container
  • In the context menu, select the last option, that is, the option Properties.

Error Listing Objects in Container

  • A pop-up window with several tabs will appear here. Navigate to the section Security and click the button Advanced.
  • Now just click on the link Change next to the current owner of the file or folder

Error Listing Objects in Container

  • Here, you must Enter your Windows account username (if you remember it) through which you log in. Simply enter your username in the box, then click the Check Names button to quickly find your correct username. If you don't know it, follow step 6.
  • Click on the Advanced located in the lower left.
  • When you click on the advanced option, another window will appear, here, you need to click on the option Search now, some options will be populated on the same screen.
  • Now simply select the desired user account from the list in the search results and then click on Accept.
  • Once you select your user account and click on Accept, it will take you back to the previous screen, click on Accept and then you will return to the window Advanced security settings.

Error Listing Objects in Container

  • Now in the Advanced Security Settings window, you just need to check «Replace owner on subcontainers and objects» y «Replace all child object permission entries with inheritable permission entries from this object»
  • Once this is done, simply click on Apply followed by the button Accept.

Error Listing Objects in Container

  • Click on the Yes If the additional Windows security window appears

Now, you are allowed to change the user permission of any of the folders or files of your choice. This will resolve the error when listing objects in the container.

  Missing Privacy Policy, Terms and Cookies: Signs of a fraudulent online store

However, now you should start by changing the permission of a folder to check if the problem is actually solved or not.

  • Again, right-click on the file or folder, select Properties, switch to the tab Security and then click the button Advanced.
  • Once the window appears «Permission entry«, click the button Add.
  • Now click on «Select a principal» and select your account.

Error Listing Objects in Container

  • Now just type All and click Check Names and then click OK.

Users who follow this step 14 do not need to follow any other steps to resolve the error when listing objects in the container. If you want to allow access to an account, follow the same steps 4 to 9 again and then select the desired user account.

  • Now, set the permissions to "Total control" and then click Accept.
  • Again, mark “Replace all existing inheritable permissions….object” in the Advanced Security Settings window.

Error Listing Objects in Container

  • Now just click Apply followed by Accept.

That's it, it only takes 18 steps to resolve this error in listing objects in the container once and for all.

Don't miss: 6 Best Programs to Synchronize Folders

Method 2: Suppress warnings

Ideally, by following the 18 steps mentioned above, you should be able to change the ownership of the file or folder which would fix the error when listing objects in the container. But what if you follow all the steps above carefully but still can't change the ownership? If that happens, we can simply suppress the warnings.

If you are unable to change the property, you should check your User Account Control (UAC) settings and change it to "Never notify" to disable this setting. To do so, just follow the steps below:

  • Open the start menu and in the Start search bar, type UAC o User Account Control Settings. Or press Windows + S and search «User Account Control Settings» y run it.
  • Here you will see a slider. Simply drag the slider all the way to the end to "Never notify."
  • Click on the Accept. If a dialog box asks for permission, click Yes.
  Amazon Prime Video Not Working. Causes, Solutions, Alternatives

Error Listing Objects in Container

  • Now just reboot your system and try again to change the ownership of the file or folder using Method #1.

Hopefully, by adopting these 2 methods, you will surely be able to perform the permission changes of your super important folder or file. Most of the experts recommend these 2 methods which work for most of the users but for some, they don’t work so you can try the following amazing method which works for error listing objects in container.

Method 3: Using the Takeown Command

  • Open the start menu and in the Start search bar, type CMD.
  • Right-click on the symbol of the system y run it as administrator.
  • Once you are in CMD, simply copy and paste the commands provided below in the command prompt window and execute the commands one by one.
    • takeown/FX:\FULL_PATH_TO_FOLDER
    • takeown/FX:\FULL_PATH_TO_FOLDER/r/dy
    • icacls X:\FULL_PATH_TO_FOLDER /grant Administrators: Ficacls
    • X:\FULL_PATH_TO_FOLDER /grant Administrators:F/t
  • Nota: make sure to change FULL_PATH_TO_FOLDER with the path of the folder you want to access.

Final words

El Error listing objects in container can deny us access to certain file folders. These methods we have described will help you solve the error in an easy way. Just make sure to start with the first methods that are the most recommended by specialists.