ksetup changepassword
Uses the Key Distribution Center (KDC) password (kpasswd) value to change the password of the logged-on user. Windows commands reference
On Windows
Windows
Uses the Key Distribution Center (KDC) password (kpasswd) value to change the password of the logged-on user. The output of the command informs you of the success or failure status. You can check whether the kpasswd is set, by running the ksetup /dumpstate command and viewing the output.
ksetup /changepassword <oldpassword> <newpassword>ksetup /changepassword Pas$w0rd Pa$$w0rdksetup /domain CONTOSO /changepassword Pas$w0rd Pa$$w0rdksetup /changepassword Pas$w0rd *
<oldpassword>Specifies the logged-on user's existing password.<newpassword>Specifies the logged on user's new password. This password must meet all the password requirements set on this computer.