Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: wntChgPasswd
Result=wntchgpswd("","",new,old)This seems to work if you are logged on with a local user account. If you are part of a domain (even with administrative rights) I get the error:
WIL Extender Error: 589: Error Changing PasswordAre there any restrictions when using this command that are not documented that may be preventing it from working properly?
LastError=1327 (NetUserChangePassword)
"Logon failure: user account restriction"Again, try specifying real values for the first two parameters. And check to make sure that the specified user is permitted to change the password.
It seems to be working fine now. Thanks.
Article ID: W13574
Filename: wntChgPasswd and Error 589 Error Changing Password.txt
File Created: 1999:04:15:16:54:56
Last Updated: 1999:04:15:16:54:56