Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


Published: April 17, 2012

Updated: April 17, 2012

Applies To: Windows 8, Windows Server 2008 R2, Windows Server 2012

Sets the password for the local computer. For examples of how this command can be used, see Examples.

ksetup /setcomputerpassword <Password>


Parameter Description


Uses the supplied password to set the computer account on the local computer.

The password can only be set by using an account with administrative privileges. The password can be from 1 to 156 alphanumeric or special characters.

This command affects the computer account only.

You must restart the computer for the password change to take effect.

The computer account password is not displayed in the registry or as output from the ksetup command.

Change the computer account password on the local computer from IPops897 to IPop$897!.

ksetup /setcomputerpassword IPop$897!

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft