Windows - How to change adminstrator password using the command prompt

December 2016


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 :

This document entitled « Windows - How to change adminstrator password using the command prompt » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.