DSMOD command to reset a users password failing "dsmod failed:The logon attempt failed"

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.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Will SzymkowskiSenior Solution ArchitectCommented:
Not sure why you would want to use DSMOD I would rather use powershell for this but I illustrated a test in my lab to show you the syntax.

Syntax i used in the screenshot
dsmod user "CN=Mike,OU=OU1,DC=example,DC=com" -pwd TESTing!@# -mustchpwd no

Open in new window



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MB_IT_SupportAuthor Commented:
Thanks Will i just noticed the -password and not -pwd. Re-ran the command with that change and it worked.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.