Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Unlock account with wntUserSetDat
Do the following to modify it safely:
flags = wntUserGetDat("","joeuser","flags",0) ; Do one of the four following things by ; uncommenting it: ;flags = flags & (~2) ; turn off account disable ;flags = flags & (~16) ; turn off account lockout ;flags = flags | 2 ; turn on account disable ;flags = flags | 16 ; turn on account lockout wntUserSetDat("","joeuser","flags",flags,0)
Article ID: W15202
File Created: 2002:09:05:13:50:32
Last Updated: 2002:09:05:13:50:32