28 November 2013

Insufficient access rights when modifying useraccountcontrol attribute

Set-ADAccountControl : Insufficient access rights to perform the operation

this error appear only when the command is run on a domain controller;

to pas by you need to add "-Server" parameter and indicate an alternate domain controller.

Set-ADAccountControl $_ -PasswordNotRequired $false -Server dcname

No comments:

Post a Comment