List extended permissions on AD

Ruben Vazquez 1 Reputation point
2020-08-07T11:28:22.767+00:00

Hello I'm searching for a way to list the permissions and extended permissions on my active directory root.

I've tried with the get-acl command and some others, but I’m not able to get it. Is it the correct way?

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,821 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,355 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Daisy Zhou 18,701 Reputation points Microsoft Vendor
    2020-08-10T04:23:19.53+00:00

    Hello RubenVazquez-7903,

    Thank you for posting here.

    We can try the PowerShell script in attachment export-permissions.txt, and it works in my lab.

    1.Open PowerShell ISE (run as administrator) and copy the PS script in it.
    2.We should change the domain name and export path in your AD environment.
    16672-permission1.png
    3.And click run button.
    16584-scr1.png
    4.Open the export file and check the permissions.

    Hope the information above is help. If anything is unclear, please feel free to let us know.

    Best Regards,
    Daisy Zhou

    1 person found this answer helpful.
    0 comments No comments

  2. Thameur-BOURBITA 32,496 Reputation points
    2020-08-13T09:10:06.56+00:00

    Hi,

    You can also use the following command :

    (get-acl (Get-ADOrganizationalUnit -Filter {name -eq “DomainName”}).distinguishedname).access | ft identityreference, accessControlType –AutoSize
    
    ##############################""
    
    dsacls “dc=domain,dc=com”
    

    You can refer to the following link to get more details:

    https://devblogs.microsoft.com/scripting/use-powershell-to-explore-active-directory-security/

    0 comments No comments

  3. Bastien Perez - Clidsys 6 Reputation points
    2020-08-13T16:24:42.873+00:00

    Hello,
    AD ACL scanner is the best and easiest tool (powershell) you can find : ADACLScanner

    0 comments No comments