How to Change Admin Password using CMD

  1. Using User Accounts in Control Panel
  2. Using Command Prompt
  1. Open Control Panel by clicking on the start menu and select the control panel. Otherwise, you can Press (Windows Key + R) to open Run Box and type ‘Control Panel’
  2. In the control panel go to ‘User Accounts’
  3. In User Accounts, select the account for which you want to change the password.
  4. Now select the option of ‘Change Password’. (If there is no password already set then it will give you the option of add a password)
  5. In the next window, set the password and password hint and press change password to change the password.

Steps to change Admin Password using Command Prompt are as follows:

  1. Open Command Prompt with admin rights just by right-clicking on command prompt and select ‘Run As Administrator’
  2. In Command Prompt, type net user and hit enter. It will show you all the user profiles available on PC
  3. Type net user [name of user profile]. Type the exact name of the user profile whose password you want to change and hit enter. It will show you all the details of that user profile.
  4. Again type the same command again and then give a space and then type *. Now it will ask you to type the new password. Type the new password and hit enter.
  5. Confirm the password by typing it again and hit enter.
  6. That’s it! You will see a message that the password has been successfully changed.




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Learn how to develop your very own macOS app from scratch!

Create a PHPUnit Test in Magento 2

Main principles in Java OOP (Object-Oriented Programming)

Build a Chatroom App with Python

Multicast in AWS using AWS Transit Gateway

Career Q&A: College and career advice from a software engineer at AppNexus

Smolove: Stake2Mint4Free

Engineering Excellence is everything

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sunny Sharma

Sunny Sharma

More from Medium

Denmark is a great place to learn

InfluxDB Tips


How to draw a Giraffe using simple shapes