When trying to change permissions on a file or folder, you may often encounter the error - Unable to enumerate objects in container Access is denied.
Although as an administrator you can change access permissions, sometimes even administrators may encounter the same error message.
This is a common mistake usually made by users on different forums. In this case, even the administrator cannot change the permissions of a specific user or other user groups when access is denied on Windows 10/11.
Additionally, many users are also experiencing issues with objects not being able to be enumerated during Azure file sharing, which can apparently be resolved by assigning the appropriate RBAC role (the elevated participant role for the SMB share that stores file data).
In this article, we will discuss 7 ways to resolve the Access Denied access to shared folder issue where objects in the container cannot be enumerated.
Why do I see the Failed to enumerate objects in the container error?
Some reasons why you may encounter the Unable to enumerate objects in container error on Windows 11 are:
➜ No administrator rights
If the ownership of the file or folder is incorrect, or you are not an administrator and you still try to make changes to the file or folder, a permission error will pop up.
➜ Folder settings are configured incorrectly
When another user makes any changes to the settings of a file or folder accidentally or intentionally.
➜ Conflict due to another program
Most likely, there will be a conflict between the folder you want to access and another program. This will eventually remove the default permissions entries.
➜ Stale account as owner
If a now-stale account is set as the owner of a file or folder for a period of time, it will leave a stale account Permission entries.
So, to answer your question - how do I grant admin rights? Here are some methods that can help you add permissions to problem folders.
How to fix the Unable to enumerate objects in container error?
1. Take ownership of the file or folder
1.1 Add an administrator account and change permissions
- Right-click the problem file or folder and selectProperties.
- Go to the Security tab and click Advanced.
- In the Advanced Security Settings window, click Change next to Owner.
- This will open the Select User or Group dialog box, enter the user account name and select Check Names.
- Once you see an underscore under the account name, press OK to save changes and return to the Advanced Security Settings window.
- Here, check the box next to Replace owners on subcontainers and objects.
- Next, check the box next to Replace all child object permission entries with inheritable permission entries for this object.
- Press Apply and then OK Save changes and return to the Properties dialog box.
- Here, under the Security tab, go to the Permissions field below and click Edit.
- Now, next to Full control, select Allow.
- Press Apply and OKApply changes and exit.
1.2 Add your user account name
- Go to the issue folder, right click and select Properties.
- Now, go back to the "Properties" tab, and under the "Security" tab, click "Advanced".
- In the Advanced Security Settings window, go to Permissions and click Add.
- When the Permissions Entry window opens, click Select a principal.
- You will now see the Select User or Group dialog box.
- Here, go to Enter Object Name to select the field and enter your user account name.
- Press the Check Name button. Press OK to save changes.
- Exit the "Properties" window.
Now, try to open your file or folder and check if you are still encountering the Unable to enumerate objects in container access denied error persists.
2. Disable User Account Control
- Press the Win R shortcut key combination to start the run command.
- Enter useraccountcontrolsettings in the search bar and click Enter.
- In the User Account Control Settings window, move the slider down and set it to "Never notify" .
- Press OK to apply changes and exit.
After disabling the notification option, you should now be able to modify the permissions of your files/folders and the error popup should not appear again.
3. Run chkdsk scan
- Press the shortcut key - Win R and open the run console.
- In the search bar, type cmd and simultaneously press the Ctrl Shift Enter key to launch with administrator access Command prompt with permissions.
- Now, execute the following command and press Enter (replace D: with the actual letter of the drive if necessary):
<strong>chkdsk D: /F /R</strong>
- The chkdsk utility will now scan the drive (containing problem files/folders) for any errors and fix them immediately.
Once completed, restart your PC and the Failed to enumerate objects in the container access is denied error should be fixed.
4. Use the command prompt to provide permissions
- Press the Win R hotkey to open the run command.
- In the search field, type cmd and simultaneously press the Ctrl Shift Enter key to launch an elevated command prompt symbol.
- Now, run the following commands one after another in the Command Prompt window and hit Enter after each command:
-
<strong>takeown /F "FULL_PATH_TO_FOLDER" takeown /F "FULL_PATH_TO_FOLDER" /r /d yicacls "FULL_PATH_TO_FOLDER" /grant Administrators:Ficacls "FULL_PATH_TO_FOLDER" /grant Administrators:F /t</strong>
-
- Replace FULL_PATH_TO_FOLDER with the path to your user folder, for example, use C:\Windows\System32.
- After executing the command, close the command prompt, restart your PC, and check if you now have permissions.
You can also run the above command to fix Failed to enumerate objects in the container error on Windows Powershell.
5. Update your drivers and BIOS/UEFI firmware
1.1 Update drivers via the manufacturer’s website
- Open your browser and visit the PC manufacturer’s website.
- Go to their driver download page and find the latest driver version.
- For example, for chipsets, display adapters (such as Nvidia drivers, audio, USB3, Bluetooth, network adapters, etc.).
- Now, download and install the driver on your PC.
Restart your PC and check if the “Unable to enumerate object access denied in container” error on Windows 11 is resolved.
1.2 Automatic driver update
In order to fix the Failed to enumerate objects in the container error, if repairing the driver manually seems too time-consuming, we recommend using an automated solution.
It is well known that missing drivers can cause problems, and manually searching for drivers takes time and requires extensive knowledge of the driver you are looking for.
Driver repair and installer programs, such as DriverFix, will help you automatically update your drivers and prevent damage to your PC caused by installing incorrect driver versions.
Additionally, you will get a complete report detailing the exact condition of your Windows with missing, corrupted, or outdated drivers.
With just a few clicks, the program scans your PC hardware and peripherals for potential driver upgrades. Use one to save yourself some valuable time.
⇒ Get Driver Repair
1.3 Update BIOS/UEFI Firmware
- When the PC boots and you see the login screen, hold down the Shift key and click Restart.
- You will now see the Select an option screen. Click Troubleshooting.
- Next, click on Advanced Options.
- Now, for more information, follow our tutorial on how to update BIOS or UEFI firmware to the latest version.
Once completed, restart your PC and check that you now have permissions to the folder.
6. Start Windows in Safe Mode
- Go to the Start menu, click it, and then click the Power icon.
- Hold down the Shift key on your keyboard and click Restart.
- When you arrive at selecting an option, select Troubleshoot.
- Next, click Advanced Options.
- In the Advanced Options screen, click Startup Settings.
- On the startup settings screen, Restart button.
- After the PC restarts, press number 4 or F4 on your keyboard to start the PC in Safe Mode.
This will help you determine if any third-party programs are interfering with the folders you want to access, causing the Unable to enumerate objects in container error.
Safe Mode helps you easily identify a program and get rid of it to solve problems.
7. Perform repair upgrade
- Visit Microsoft’s official website to create the Windows 11 media creation tool.
- Now, install the bootable ISO image file on your PC.
- When you reach the installation wizard, follow the on-screen instructions to complete the installation.
- To learn more, follow our tutorial on how to perform a repair installation/upgrade.
This will help you reinstall Windows 11 without losing important files, apps, and most of your settings.
Also, to ensure that your Windows operating system is installed correctly in case it needs any repairs, and if it is optimized for optimal performance, you can follow this checklist.
Meanwhile, if you want to know how to fix bad app security in Windows 10/11, you can refer to our detailed tutorial.
You can also follow the same method to fix the Unable to enumerate objects in container error on Windows 10.
The above is the detailed content of 7 Ways to Fix Unable to Enumerate Objects in Containers. For more information, please follow other related articles on the PHP Chinese website!

Telegram是一款跨平台的即时通讯软件,用户可以相互交换加密与自毁消息,发送照片、影片等所有类型文件;Telegram有加密聊天的功能,使用这种功能,聊天双方的内容完全保密,不会担心被监控或被第三方偷窥。官方提供Android、iOS、Windows、macOS、Linux和网页版等多种平台客户端;同时官方开放应用程序接口,有许多第三方的客户端可供选择 。

armoury crate是一款简易实用,功能全面的华硕系统控制软件;通过Armoury Crate平台,可以启动主页面上的系统性能模式调整、设置相关应用软件、获取系统信息,当机器连接支持的外设时,也可以使用Armoury Crate中所整合的Lighting、AURA Sync功能进行各种灯光特效的设定。

XRKit是为华为手机场景提供场景化、组件化的AR解决方案的框架软件,也就为华为相机,提供了虚拟模型在真实世界中的呈现。XRKit软件支持AR SDK,能与Unity3D引擎兼容,包括PTC Vuforia,ARKit,ARCore等。为AR呈现能力、人脸特效、光影特效;它属于华为XR生态的基础性软件。

glance by mirametrix是一款眼球追踪软件;glance是由Mirametrix开发的应用程序,软件配合红外摄像头可识别用户脸和眼睛的方向,其中主要包括了状态检测、智能指针和窗口分屏三个功能。

推特(Twitter)是一个社交网络及微博客服务软件,是一家美国的公司;Twitter利用无线网络、有线网络、通信技术进行即时通讯,是微博客的典型应用,允许用户将自己的最新动态和想法以短信息的形式发送给手机和个性化网站群。

ldplayer是一款多功能Android操作系统的模拟器,通过它可以直接在PC上运行Android智能手机游戏,是将家用PC或笔记本电脑转变为运行移动软件的游戏机的方法;ldplayer可以用来进行联网,用户可以和其他人一起开启联机对战。

rav endpoint protection是瑞星杀毒软件;RAV是“RisingAnti-virus”的缩写,是瑞星反病毒软件的意思,瑞星杀毒软件采用获得欧盟及中国专利的六项核心技术,形成全新软件内核代码,具有八大绝技和多种应用特性。

commercial service指的是商业服务软件;该软件主要为提供产品维修、系统升级、检测换机以及产品咨询等服务,服务的产品包括手机、电视、手表、耳机以及其他配件。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Linux new version
SublimeText3 Linux latest version

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function
