Inheritance for Computer AD objects

FXE 521 Reputation points
2022-03-03T09:05:57.563+00:00

Hi all,

I'm facing an inheritance question about Computer objects in AD.
In an OU, each Computer object does not have same ACL whereas inheritance is set on each object.
So I would to get same rights to all of these AD objects.

First question : why ACL are not the same ?
Second question : how should I do to get consistent ACL ?

Thank you.
Regards,

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
0 comments No comments
{count} votes

Answer accepted by question author
  1. Gary Reynolds 9,626 Reputation points
    2022-04-05T08:31:42.007+00:00

    Hi,

    You can reset the permissions using the ADUC security dialog, which is very manual, or you can use the dsacls /resetdefaultDACL command. I'm not aware of any powershell commands that can reset the permissions.

    You could use powershell to automate the running of dsacls command, with a list of objects that you want to reset.

    Gary.

    0 comments No comments

6 additional answers

Sort by: Most helpful
  1. Gary Reynolds 9,626 Reputation points
    2022-03-03T10:43:55.223+00:00

    Hi @FXE

    Yes object that are created in the same OU should have the same permissions. The based permission should be the same on newly created object, as they are defined in the defaultSecurityDescriptor attribute of the computer object in the schema. These are the default permissions that are allocated in my test environment:

    179620-image.png

    These permissions should be assigned to any new computer objects that are created, then inherited permissions will be be assigned and these will be added or replace the base permissions. Then any permissions that are specific to the computer object will be added, i.e. write SPN etc.

    Are you able to share the differences you are seeing between the computer objects?

    Gary.

    0 comments No comments

  2. FXE 521 Reputation points
    2022-03-04T08:57:42.44+00:00

    Hi @Gary Reynolds and thank you for your answer.

    What is the tool you used to get ACL on objects ? I could use it to for showing you differences between objects.

    Thank you.


  3. FXE 521 Reputation points
    2022-03-22T09:53:07.307+00:00

    Hi @Gary Reynolds ,

    Here is what I have on OU container :

    185602-image.png

    Below is what I have on a computer object with inheritance issue :

    185578-image.png

    There are others mismatches but I'm focusing on AD group "grp.HelpDesk.ADComputersManagement".

    0 comments No comments

  4. Gary Reynolds 9,626 Reputation points
    2022-03-22T11:27:47.157+00:00

    Hi @FXE

    I'm not sure what permissions have been assigned or where, but it does appears that they have been inherited from the root and sub OU. I've tried to create the same in my test environment but I haven't been successful, as I don't have enough info. This is what I have created in my environment

    At the root, these permissions are assigned. Two read permissions assigned
    185613-image.png

    These are the test4 OU permissions, two permissions assigned which match the ones you have on your OU.

    185596-image.png

    No additional permissions assigned on the test5 OU, just the permissions inherited from parent OUs

    185627-image.png

    And the computer object in the test5 OU, which match the permissions on the OU

    185469-image.png

    If you can check if you have the same permissions or provide a bit more information on where permissions are assigned and what are is the OU structure of the screenshots you shared.

    If you have NetTools v1.30.11 beta or above, you can use the following AD Permissions Reporter filter to get a list where the grp.help.ADComputerManagement group has been assigned permissions. See this post on how to import the filter.

    [check grp.HelpDesk.ADComputerManagement]  
    Count=1  
    Options=18437  
    Rule1_Enabled=1  
    Rule1_Options=1280  
    Rule1_SDControl=0  
    Rule1_SDNotControl=0  
    Rule1_SDNullAcl=0  
    Rule1_Prompt=0  
    Rule1_Trustee=grp.HelpDesk.ADComputerManagement  
    Rule1_Token=0  
    Rule1_Scope=12  
    Rule1_NotScope=0  
    Rule1_ACEType=0  
    Rule1_ACEFlags=0  
    Rule1_ACENotFlags=0  
    Rule1_Perms=0  
    Rule1_NotPerms=0  
    Rule1_MatchRules=546  
    

    Gary.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.