How to solve the problems of win11 "unable to enumerate objects in the container, access is denied", "right-click to create a new folder, no other options".

How to solve the problem that win11 cannot enumerate objects in the container. Access is denied. Right-click to create a new folder, there is no problem with other options.

Cause: It is a problem with the permissions of the folder Users

Solution: Modify User permissions

error reason

I thought that according to the online tutorial, right-click the properties of the E drive, find the security tab, then change the advanced, then change the owner, and then enable the permission items that can be inherited from this object to replace all sub-object permission items P,,,, etc. and so on. But it will still report an error " Unable to enumerate objects in the container Access Denied ". . . . .

The main reason is that this is extremely complicated and there are too many steps! I tried several times and still got this error, so I gave up. It seems that directly right-clicking the E drive to adjust the permissions is not enough.

Solution: If this error occurs in a certain folder (such as the picture below: Lenovo), you need to go to the rejected folder (Lenovo) and right-click to adjust the permissions of this folder. Because this folder (Lenovo) has insufficient permissions, the new folder (Lenovo) only has the folder option.

image-20230315173133641

Error chain: The folder has insufficient permissions ----> Adjust the parent directory, and it appears: Cannot enumerate objects in the container. access denied

​ The folder permission is not enough ----> There is only one option for creating a new folder under the subfolder.

The approximate error chain is shown in the figure below: Through this figure, you can see that the center of the error is the folder ! ! ! ! Because of itself, it leads to mistakes at both ends.

image-20230315220717365

To solve this problem, modify the permissions of the folder. After the modification is complete, both errors will disappear.

So some people ask: Why can't my computer enumerate the objects in the container. Access is denied.

Some people also asked: Why is there only one option for folders in my computer folder, right click.

However, these two are caused by a wrong reason!

example

For example: For example, in the Lenovo folder, the parent directory cannot enumerate the objects in the container. In the subdirectory, right-click to create a new folder with only folder options.

Take this Lenovo folder as a demonstration.

image-20230315230253124
insert image description here

Specific steps

Right-click the Lenovo folder, select Properties, find the Security tab, we don’t choose Advanced, we choose Edit;

image-20230315222150809

In the newly opened interface, select Users in the group or user name, you can see the full control of the permissions of Users below, if it is not checked, remember to tick it, tick it, tick it, as shown in the right figure below. Click OK.

image-20230315222339368Change to the following pictureimage-20230315222539339

Now go to the Lenovo folder to create a new one, you can find that right click to create a new one, the familiar list is back, everything is back! See below

image-20230315223042514

Now go to the parent directory to see the permissions? In the advanced options, if the following item is checked to replace the permission items of all child objects with the permission items that can be inherited from this object, after clicking OK, an error occurs again, but it is not Lenovo, which means that Lenovo is OK.

image-20230315223550758

What is the explanation for the following MediaEditor folder? Why is the MATLAB folder skipped, and there is an error in the following file.

image-20230315224101162

The reason is: I changed the permissions of the MATLAB folder before, so skip this folder.

In fact: none of the folders under my Program Files folder have permissions! ! ! Occasionally, if one of the folder permissions is changed, the folder will be skipped.

Believe it or not, after I modified the permissions of MediaEditor, the wrong one became Mirroid again? See below. . . . . .

image-20230315224756252

Forget it, the other folders need to be modified one by one, so I won’t demonstrate it, as long as everyone knows the reason.

Summarize

If the object in the container cannot be enumerated, find the wrong container, that is, the wrong folder, and modify the permissions of Users to all control. The error that cannot enumerate the objects in the container will disappear, and at the same time, the container Right click in the folder to create a new one, and there will not be only one folder option.

After reading so much, if you solve the problem, please give a free like!
Thank you! Make me happy too.

Guess you like

Origin blog.csdn.net/qq_36693723/article/details/129572887