I'm trying to run a command to reset a users password from command line on our domain controller but having issues. I know i had this command work before but i am now getting the error message "dsmod failed:The logon attempt failed". Below is the command I'm using with pertinent information taken out. I know i have seen this work and i have to do this for over 200 users which is why i want the command to work. Tried to Google it but I'm only getting results from users with DSADD commands. I am logged into the domain controller as the domain administrator as well.
Here is the command i am using:
dsmod user "cn=XXXXX,ou=XXXXX,ou=XXXXX,dc=XXXXX,dc=LOCAL" -password Password2015 -mustchpwd no
Any help is appreciated thanks.