http://vcloud-lab.com/entries/active-directory/powershell-active-directory-adgroup-managedby-checkbox-manager-can-update-membership-listComments on post: Powershell Active Directory: ADGroup Managedby - Checkbox Manager can update membership listVivitiCMS2022-05-03T00:16:04+05:30Virtual Geektag:vcloud-lab.com,2018-11-05:/entries/106565#comment_100013Comment by Tellier2018-11-05T21:38:14+05:302018-11-05T21:38:14+05:30Hello,
I try to use your script, the first part works fine (Adds user to managed by) but for checking the box manager can update the membership list, it does not work for me, I get Set-Acl : Access is denied CategoryInfo
: PermissionDenied:
I am using PS 4.0 console with admin privileges. Through GUI, no problem to check the box.
I have tried different solutions found on various forums but without success.
What am I doing wrong or missing? Thanks in advance
Jean-Michel
tag:vcloud-lab.com,2018-11-16:/entries/106565#comment_100114Comment by Kunal 2018-11-16T18:11:50+05:302018-11-16T18:11:50+05:30@Tellier: try using PowerShell run as administrator, Not sure from which system you are running this script.tag:vcloud-lab.com,2019-11-27:/entries/106565#comment_140672Comment by Sankar2019-11-27T20:41:10+05:302019-11-27T20:41:10+05:30I just want to enable the checkbox.tag:vcloud-lab.com,2019-12-01:/entries/106565#comment_141017Comment by Kunal Udapi2019-12-01T09:11:17+05:302019-12-01T09:11:17+05:30This enables checkbox as welltag:vcloud-lab.com,2022-01-13:/entries/106565#comment_162456Comment by Wayne Smith2022-01-13T01:32:17+05:302022-01-13T01:32:17+05:30or simply use -Credential tag:vcloud-lab.com,2022-02-02:/entries/106565#comment_162742Comment by Jan2022-02-02T14:37:11+05:302022-02-02T14:37:11+05:30I get:
Get-ItemProperty : A referral was returned from the server
At line:103 char:22
+ ... rightGuid = Get-ItemProperty "AD:\CN=Self-Membership,CN=Extended-Righ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (CN=Self-Members...orld.com,DC=com:String) [Get-ItemProperty], ADReferralException
+ FullyQualifiedErrorId : ADProvider:ItemExists::ADError,Microsoft.PowerShell.Commands.GetItemPropertyCommand
Not able to find:
AD:\CN=Self-Membership,CN=Extended-Rights,CN=Configuration,DC=$domain,DC=$DCtag:vcloud-lab.com,2022-05-03:/entries/106565#comment_163375Comment by Anonymous2022-05-03T00:16:04+05:302022-05-03T00:16:04+05:30Hi,
Im not able to set path to AD:
It is throwing me this error. Not sure how to resolve this. Can someone please assist?
command: Get-Acl AD:
Get-Acl : Cannot find drive. A drive with the name 'AD' does not exist.
At line:1 char:1
+ Get-Acl AD:
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (AD:String) [Get-Acl], DriveNotFoundException
+ FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.GetAclCommand