StosSpiro
asked on
How to set all active directory user accounts to user cannot change password?
I just applied the dsquery user command to apply the "Password never expires" for all my user accounts on my DC. I want to be able to do the same for all the accounts for the "User cannot change password" attribute. Can someone give me the command for that please.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Otherwise, in Active Directory you can make a query.
Query root: *.local
Define query: you could use: Name - Is Not - zzzzzz.
That would give all the users.
Select them all, right click, properties and change the desired settings.
If you change the password settings on the Account tab don't forget to check both checkboxes.