Skip to content

Instantly share code, notes, and snippets.

@sean-m
Last active July 29, 2021 22:59
Show Gist options
  • Save sean-m/bc5ad01c3c19b803435fe95e6725f7bd to your computer and use it in GitHub Desktop.
Save sean-m/bc5ad01c3c19b803435fe95e6725f7bd to your computer and use it in GitHub Desktop.
To ease in creating odd ACL entries in AD.
$ADTS_AC_Guids = @{
'Abandon-Replication'=[Guid]"ee914b82-0a98-11d1-adbb-00c04fd8d5cd"
'Add-GUID'=[Guid]"440820ad-65b4-11d1-a3da-0000f875ae0d"
'Allocate-Rids'=[Guid]"1abd7cf8-0a99-11d1-adbb-00c04fd8d5cd"
'Allowed-To-Authenticate'=[Guid]"68b1d179-0d15-4d4f-ab71-46152e79a7bc"
'Apply-Group-Policy'=[Guid]"edacfd8f-ffb3-11d1-b41d-00a0c968f939"
'Certificate-Enrollment'=[Guid]"0e10c968-78fb-11d2-90d4-00c04f79dc55"
'Certificate-AutoEnrollment'=[Guid]"a05b8cc2-17bc-4802-a710-e7c15ab866a2"
'Change-Domain-Master'=[Guid]"014bf69c-7b3b-11d1-85f6-08002be74fab"
'Change-Infrastructure-Master'=[Guid]"cc17b1fb-33d9-11d2-97d4-00c04fd8d5cd"
'Change-PDC'=[Guid]"bae50096-4752-11d1-9052-00c04fc2d4cf"
'Change-Rid-Master'=[Guid]"d58d5f36-0a98-11d1-adbb-00c04fd8d5cd"
'Change-Schema-Master'=[Guid]"e12b56b6-0a95-11d1-adbb-00c04fd8d5cd"
'Create-Inbound-Forest-Trust'=[Guid]"e2a36dc9-ae17-47c3-b58b-be34c55ba633"
'Do-Garbage-Collection'=[Guid]"fec364e0-0a98-11d1-adbb-00c04fd8d5cd"
'Domain-Administer-Server'=[Guid]"ab721a52-1e2f-11d0-9819-00aa0040529b"
'DS-Check-Stale-Phantoms'=[Guid]"69ae6200-7f46-11d2-b9ad-00c04f79f805"
'DS-Execute-Intentions-Script'=[Guid]"2f16c4a5-b98e-432c-952a-cb388ba33f2e"
'DS-Install-Replica'=[Guid]"9923a32a-3607-11d2-b9be-0000f87a36b2"
'DS-Query-Self-Quota'=[Guid]"4ecc03fe-ffc0-4947-b630-eb672a8a9dbc"
'DS-Replication-Get-Changes'=[Guid]"1131f6aa-9c07-11d1-f79f-00c04fc2dcd2"
'DS-Replication-Get-Changes-All'=[Guid]"1131f6ad-9c07-11d1-f79f-00c04fc2dcd2"
'DS-Replication-Get-Changes-In-Filtered-Set'=[Guid]"89e95b76-444d-4c62-991a-0facbeda640c"
'DS-Replication-Manage-Topology'=[Guid]"1131f6ac-9c07-11d1-f79f-00c04fc2dcd2"
'DS-Replication-Monitor-Topology'=[Guid]"f98340fb-7c5b-4cdb-a00b-2ebdfa115a96"
'DS-Replication-Synchronize'=[Guid]"1131f6ab-9c07-11d1-f79f-00c04fc2dcd2"
'Enable-Per-User-Reversibly-Encrypted-Password'=[Guid]"05c74c5e-4deb-43b4-bd9f-86664c2a7fd5"
'Generate-RSoP-Logging'=[Guid]"b7b1b3de-ab09-4242-9e30-9980e5d322f7"
'Generate-RSoP-Planning'=[Guid]"b7b1b3dd-ab09-4242-9e30-9980e5d322f7"
'Manage-Optional-Features'=[Guid]"7c0e2a7c-a419-48e4-a995-10180aad54dd"
'Migrate-SID-History'=[Guid]"ba33815a-4f93-4c76-87f3-57574bff8109"
'msmq-Open-Connector'=[Guid]"b4e60130-df3f-11d1-9c86-006008764d0e"
'msmq-Peek'=[Guid]"06bd3201-df3e-11d1-9c86-006008764d0e"
'msmq-Peek-computer-Journal'=[Guid]"4b6e08c3-df3c-11d1-9c86-006008764d0e"
'msmq-Peek-Dead-Letter'=[Guid]"4b6e08c1-df3c-11d1-9c86-006008764d0e"
'msmq-Receive'=[Guid]"06bd3200-df3e-11d1-9c86-006008764d0e"
'msmq-Receive-computer-Journal'=[Guid]"4b6e08c2-df3c-11d1-9c86-006008764d0e"
'msmq-Receive-Dead-Letter'=[Guid]"4b6e08c0-df3c-11d1-9c86-006008764d0e"
'msmq-Receive-journal'=[Guid]"06bd3203-df3e-11d1-9c86-006008764d0e"
'msmq-Send'=[Guid]"06bd3202-df3e-11d1-9c86-006008764d0e"
'Open-Address-Book'=[Guid]"a1990816-4298-11d1-ade2-00c04fd8d5cd"
'Read-Only-Replication-Secret-Synchronization'=[Guid]"1131f6ae-9c07-11d1-f79f-00c04fc2dcd2"
'Reanimate-Tombstones'=[Guid]"45ec5156-db7e-47bb-b53f-dbeb2d03c40f"
'Recalculate-Hierarchy'=[Guid]"0bc1554e-0a99-11d1-adbb-00c04fd8d5cd"
'Recalculate-Security-Inheritance'=[Guid]"62dd28a8-7f46-11d2-b9ad-00c04f79f805"
'Receive-As'=[Guid]"ab721a56-1e2f-11d0-9819-00aa0040529b"
'Refresh-Group-Cache'=[Guid]"9432c620-033c-4db7-8b58-14ef6d0bf477"
'Reload-SSL-Certificate'=[Guid]"1a60ea8d-58a6-4b20-bcdc-fb71eb8a9ff8"
'Run-Protect_Admin_Groups-Task'=[Guid]"7726b9d5-a4b4-4288-a6b2-dce952e80a7f"
'SAM-Enumerate-Entire-Domain'=[Guid]"91d67418-0135-4acc-8d79-c08e857cfbec"
'Send-As'=[Guid]"ab721a54-1e2f-11d0-9819-00aa0040529b"
'Send-To'=[Guid]"ab721a55-1e2f-11d0-9819-00aa0040529b"
'Unexpire-Password'=[Guid]"ccc2dc7d-a6ad-4a7a-8846-c04e3cc53501"
'Update-Password-Not-Required-Bit'=[Guid]"280f369c-67c7-438e-ae98-1d46f3c6f541"
'Update-Schema-Cache'=[Guid]"be2bb760-7f46-11d2-b9ad-00c04f79f805"
'User-Change-Password'=[Guid]"ab721a53-1e2f-11d0-9819-00aa0040529b"
'User-Force-Change-Password'=[Guid]"00299570-246d-11d0-a768-00aa006e0529"
'DS-Clone-Domain-Controller'=[Guid]"3e0f7e18-2c7a-4c10-ba82-4d926db99a3e"
'DS-Read-Partition-Secrets'=[Guid]"084c93a2-620d-4879-a836-f0ae47de0e89"
'DS-Write-Partition-Secrets'=[Guid]"94825a8d-b171-4116-8146-1e34d8f54401"
'DS-Set-Owner'=[Guid]"4125c71f-7fac-4ff0-bcb7-f09a41325286"
'DS-Bypass-Quota'=[Guid]"88a9933e-e5c8-4f2a-9dd7-2527416b8092"
'DS-Validated-Write-Computer'=[Guid]"9b026da6-0d3c-465c-8bee-5199d7165cba"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment