Skip to Content
0
Former Member
Oct 30, 2014 at 04:35 PM

Set AD user account option

284 Views

Hi all,

After creating my user in the AD through a file ( ) and giving them a default password, I not able to set the checkbox "User must change password at next logon " so the user will chnage his password at the first connection:

I set :

pwdLastSet = 0

useraccountcontrol=512

Result: user creation failed

pwdLastSet = 0

useraccountcontrol=544

result : user creation sucess but without the checkbox : "User must change password at next logon "

Any idea ?

Linda