How do I set "Password not required" to false in AD?

stevenjohnson
Kilo Explorer

I can create objects, and reset the passwords, but I do not know how to set the password not required field to false?

1 ACCEPTED SOLUTION

Robert Beeman
Kilo Sage

You can set the userAccountControl AD property (with Update AD Object activity or Run Powershell) so that the 544 - PASSWD_NOTREQD flag is not set.



We normally set the userAccountControl of each new account to this:


  • 8389120 - Password Expired, Normal Account

View solution in original post

3 REPLIES 3

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Steven,



I don't see any field OOB "Password not required". However you can set the target fields with the below syntax in import sets.


target.u_password = 'true'; //Assuming u_password is the column name of the target field at target table.


http://wiki.servicenow.com/index.php?title=Creating_New_Transform_Maps#gsc.tab=0


Mike Allen
Mega Sage

Robert Beeman
Kilo Sage

You can set the userAccountControl AD property (with Update AD Object activity or Run Powershell) so that the 544 - PASSWD_NOTREQD flag is not set.



We normally set the userAccountControl of each new account to this:


  • 8389120 - Password Expired, Normal Account