Windows - How to change adminstrator password using the command prompt

April 2017


Windows - How to change administrator password using the command prompt


Issue

How to change administrator password using the command prompt?

Solution

Open the command prompt:
  • Press Windows + R
  • Type regedit and press Enter

The syntax is a follows:
  • net user username password
    • Where username is the name used for your admin account
    • and password is your new password.

Thanks to akio morita for this tip!

Related


Published by jak58. Latest update on January 8, 2015 at 08:00 AM by jak58.
This document, titled "Windows - How to change adminstrator password using the command prompt," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).