user account properties
is there way control / disable these settings based on a group?
yes can. method should similar mahdi shared. can develop powershell script , schedule using task scheduler running periodically.
set-aduser is cmdlet use where:
- cannotchangepassword switch use make user unable change password
- changepasswordatlogon switch use force user change password @ next logon
- passwordneverexpires switch use make password never expires
more details here: https://technet.microsoft.com/en-us/library/ee617215.aspx
this posting provided no warranties or guarantees , , confers no rights.
ahmed malek
my website link my linkedin profile my mvp profile
Windows Server > Directory Services
Comments
Post a Comment