Home News
97
0

 

 

 

  • 3 minutes to read.
  • This article provides a solution to an error message when non-administrator users who are delegated control try to connect computers to a domain controller.

    Original product version: Windows Server 2012 R2
    Original Knowledge Base Number: 932455

    Reason

    error accessing directory object for

    This issue occurs because permission to add / remove a replica in a domain is missing for the Domain Admins and Enterprise Admins groups on the domain partition of the domain.

    Method 1. Manually Change The Owner Of The Problematic File Or Folder

    The easiest way to fix this error is to manually change the owner of the problematic file or folder. This method is recommended by many Windows 10 users and may work alongside booting your device to Safe Mode.

    This fixes the issue of not being able to enumerate objects in a container. Access denied. Failed to change the owner of the affected file or folder.

    1. Right-click the appropriate file or folder and select Properties.
    2. Go to the Security tab and click the Advanced button in the lower right corner of the window.
    3. Click the Change link next to the owner of the file, just below the file name.
    4. Enter your account name under the heading “Enter the name of the item you want to select”, then click the “Check Names” button. When your name is underlined, click OK to continue. Otherwise, click the Advanced button and find your username in the list.
    5. You should see two new options. Make sure the Replace owner for subcontainers and objects and Replace all child object permission entries with permission entries that can inherit from this object are checked (see screenshot below).
    6. Click the Apply button and reopen the Advanced Security window shown in step 2.
    7. Click the Add button in the lower left corner of the window.
    8. Click the link “Youtake the principal. ”
    9. Under the heading “Enter the name of the object you want to select” enter the word “All” and click the “Check Names” button.
    10. Click OK and close the windows. Now you can try to set permissions on the affected file or folder.

    Method 2: Disable User Account Control

    If the first method doesn’t work, you can try disabling User Account Control and then try again without restricting user actions.

    1. Press Windows Key S to display the search bar. Enter “Change User Account Control Settings” and click the corresponding search result.
    2. You should see a slider on the left side of the new window. Click the slider and drag it down to the text “Never notify”.
    3. Click OK and restart your computer. Try changing the permissions for the affected file or folder, or try the first method again.

    Method 3: Use An Elevated Command Prompt

    NSome Windows 10 users have found that running a number of commands can help you recover from the Container Item List Errors. Access denied. “Error. Here’s what you should do.

    1. Press Windows R on your keyboard to launch the Run utility. Enter “cmd” and press Ctrl Shift Enter. A command prompt will open with administrator rights.
    2. If prompted, make sure the prompt is making changes to your device. This means that you may need an administrator account.
    3. Run the following commands and press Enter between each command. Make sure “FULL_PATH_HERE” is replaced with the path to the affected file or folder.
    • removing / F X: FULL_PATH_HERE
  • takeown / F X: FULL_PATH_HERE / r / d y
  • icacls X: FULL_PATH_HERE / Grant Administrators: F.
  • icacls X: FULL_PATH_HERE / give admins: F / t
  • Close Command Prompt and try changing the permissions on the affected file or folder.
  • We hope that by following our guide you have solved the problem of not being able to enumerate objects in a container. In dAccess denied. “Error on your Windows device. If the error persists in the future, go back to our guide and repeat our steps!

    Want to learn more about Windows 10? Need help solving other Windows 10 errors and problems? In our dedicated blog, you will find articles on all topics related to Microsoft’s revolutionary operating system. Click here to continue.

    If you are looking for a software company that you can trust for its integrity and business integrity, SoftwareKeep is for you. We are a Microsoft Certified Partner and BBB Accredited Company that is committed to providing our customers with a reliable and satisfactory experience with the software they need. We will be with you before, during and after the sale.

    This is our software warranty. So what are you waiting for? Call us today at 877 315 ​​1713 or send an email to [email protected] You can also contact us via live chat.