CmdID

CmdID / Commands / ksetup

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

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$$w0rd
ksetup /domain CONTOSO /changepassword Pas$w0rd Pa$$w0rd
ksetup /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.