I am new to PS so today I opened a new session with my DC and tried to change a password for one of the users. I made sure Execution policy was set to unrestricted and that I ran PS with Domain Admin credentials.
I Googled the issue but could not find anything related to this except that one of the tips was to remove SpecOps GPUpdate, which I did and no change. I also tried to refer to the account by using CN and no change.
It seems the user who is running the command doesn’t have permisions to make changes to this user. We have users who can reset passwords, but they can reset domain admin’s passwords.
Thanks for your quick reply. I am running the console under domain Admin’s account. Are there any other privileges that need to be given to that account in order to do this through the PS?
Couple of suggestions
(1) If you’re able to, try disabling UAC on a DC restart it. I’ve seen this happen even when PowerShell is launched as an Administrator
(2) If you are using a variable for the password, and are using any special characters in the password use ’ instead of ".
(3) If it’s still not working, try this instead :