I recently purchased a PC that has Windows 11 installed. I need to access its administrator account, but I do not know the credentials. I want to know if there is a way to show administrator password using cmd or any other option? If yes, please explain how to find administrator password Windows 11 using command prompt.

Do you want to access the administrator account, but you do not know how? Are you looking for ways to reset Windows 11 password Command Prompt? Do you want to know how to hack Windows 10 password using command prompt? If your answer is yes, you will find the best possible ways to know the administrator password using the command prompt.

Administrator account is the one with the most privileges in any Windows version, and you can access almost all the settings of your PC using it. Setting a password on an admin account is a good practice as it makes it secure but, if you forget or do not know the admin password, you may face trouble accessing some features of your PC. Most people prefer recovering, resetting, or finding the administrator account password Windows 11/10 using paid third-party tools. Luckily there are some other alternates that you can use free of cost.

Part 1: Find the Administrator Password Windows 11 Using Command Prompt

Showing the administrator or any other account password is not possible using the Command prompt or any other way. But, you can use the Command Prompt to access the internal settings of your PC in a few instructions. You can know a lot about the administrator account using the command prompt. To know admin password using command prompt, these are the steps:

  • Log in to any local user account.
  • Go to Search Box and type “cmd” or Command Prompt. Right-click on the Command Prompt option when it appears and chooses “Run as Administrator” from the list of options.

    command prompt
  • Run the following Command to display a list of all the accounts available on your PC.

    administrator command prompt


    The list of all the user accounts will appear. You can see the admin and local accounts on your PC, but it would not display the passwords. However, you can always reset the account passwords in Windows 11 using cmd.

  • After completing the steps mentioned above, type in the following command while replacing the [username] and [new_password] with your admin account name and any new password, respectively: Net user [username] [new_password]

When you press, Enter after typing the above command, a message stating that you have successfully reset the admin account password will appear. You can now log into your administrator account using the new password.

Part 2: Failed to Bypass Windows 11 Password Using CMD?

Do you not have another user account to access the command prompt? Have you failed to bypass Windows 11 password using CMD due to a forgotten password? Here are the other ways that you can try:

Using Windows Password Recovery Tool-- PassFab 4Winkey

When you fail to find any built-in solution to crack and find the administrator account password, you look for software that rescues you from the situation and helps you find your passwords. PassFab 4WinKey is a super simple and easy solution to solve your admin account-related problems. The following steps explain how you can use it to show an admin account password even without another account:

  • Install and launch PassFab 4WinKey on any other PC, connect and select USB/CD/DVD and click “Next” to burn instructions.


    The USB/CD/DVD drive will be formatted during this process.

  • Plug the disk into the locked PC, restart it, and press Boot Key (F12 in most cases). Set your disk on priority and press F10 to exit the Boot menu.

  • When your PC boots, the PassFab 4WinKey interface will appear. Choose the Windows system, the admin account, and the Reset Account Password option, respectively.

    reset password
  • Enter the new password, click Reboot.

Your PC will restart automatically. You can now plug out your disk and log into the administrator account using the new password.

Way 2: Using Windows 11 Installation Disk

The Windows 11 Installation Disk is another option to get into your administrator account. You must first create the installation disk from Microsoft.com to follow this method. Once created, follow the steps given below:

  • Plug in the installation disk to the locked PC. And boot your PC with installation media.
  • When the Windows setup screen appears, click Next.

    windows setup
  • Click the Repair your computer link to view a list of options:

    windows setup
  • Select Troubleshoot and Command Prompt when the following list of options appears:

  • When Command Prompt appears, type the following commands one by one while pressing Enter after each command:


    Do not forget to replace D: with your drive name that contains Windows.


    cd Windows\System32

    ren sethc.exe sethc.exe.bak

    copy cmd.exe sethc.exe

  • Exit the Command Prompt and cancel the installation setup while restarting your PC with no installation disk inserted.

  • When the login screen appears, press the Shift key five times or click the Ease of Access icon to open the Command Prompt again.

  • When the login screen appears, press the Shift key five times or click the Ease of Access icon to open the Command Prompt again.

  • When the Command Prompt window appears, type in the following commands to reset the administrator account password:

    Remember to replace [username][new_password] with your administrator account name and any new password you want to set.

    net user [username] [new_password]

You have successfully reset windows 11 password command prompt. Use this newly created password to get into your account.

Final Notes

This article answers how to know administrator passwords using cmd by mentioning how to access or reset the account passwords. You will find how to know admin password using cmd when you have access to another account or without accessing the other account. You can use PassFab 4WinKey on a trial basis while availing yourself of its excellent features. It has an attractive, easy-to-use, and simple interface that lets you solve all your problems in a few clicks.