author avatar
    Specialist of Customer Service Dept.
 

Summary
Having trouble accessing your Windows 10 administrator account? Don't worry, resetting the password via command prompt is quick and easy. In this article, we cover four efficient methods to reset your administrator password, with and without logging in. Plus, don't forget the importance of backing up your data before attempting any password changes.



Welcome to our guide on how to reset the administrator password in Windows 10 using the Command Prompt. As the administrator, you have access to the most important functions and controls on your computer. However, with great power comes great responsibility, and it is crucial to ensure that your administrator password is secure and easily remembered. But what happens if you forget your password? Don’t worry, we’ve got you covered with various methods to reset your administrator password. In this chapter, we will walk you through the first method: using a Windows 10 installation disk to run Command Prompt and replace some Windows program with cmd.exe to reset your password. This method is ideal if you have forgotten your administrator password and are unable to login to your account. So let’s get started and regain access to your administrator account.

Method 1 : Replacing Sticky Keys program in Command Prompt to Reset Administrator Password

Forgetting your administrator password on Windows 10 can be a frustrating experience, especially if you have important files that you need to access. Luckily, there are various methods you can use to reset your password and gain access to your account. One method is using a Windows 10 installation disk with Command Prompt to replace the Sticky Keys program with the command prompt and reset the administrator password. This method is suitable for those who are unable to login to their account due to a forgotten password.
Step 1: To begin, insert the Windows 10 installation disk into your computer and restart it. Make sure to boot from the disk and not from your hard drive. You can usually change the boot order in the BIOS settings of your computer.
If you do not have a Windows Installation media, you may download Windows Installation Creation Tools here:
Windows VersionDownload LinkRequirement
Windows 7https://learn.microsoft.com/lifecycle/products/windows-7PC with a working Internet connection/ a blank USB flash drive or DVD with at least 8 GB of available storage space/ a product key
Windows 8/8.1https://www.microsoft.com/software-download/windows8Same to above
Windows 10https://www.microsoft.com/software-download/windows10Same to above
Windows 11https://www.microsoft.com/software-download/windows11Same to above
Step 2: Once the installation disk is loaded, you will see a window with the option to “Repair your computer” Click on this option and wait for the system to load the necessary files.
repair your computer windows 10
Step 3: Next, select “Troubleshoot” from the options presented and then choose “Advanced options” -> “Command Prompt
Select Command Prompt
Step 4: In the Command Prompt window, type the command

move c:\Windows\System32\sethc.exe c:\

and hit enter. This will move the Sticky Keys program (seth.exe) to the C drive.
Step 5: Now, enter the command

copy c:\Windows\System32\cmd.exe c:\Windows\System32\sethc.exe

and press enter. This will replace the Sticky Keys program with the Command Prompt.
Step 6: You can now restart your computer and let it boot normally. On the login screen, click on the “Ease of Access” icon, usually located in the bottom right corner.
reset administrator password windows 10 command prompt
Step 7: In the Command Prompt that opens, type

net user username *

and hit enter. Make sure to replace username with your actual username. This will reset your password to a blank one.
Step 8: You can now use this new password to login to your administrator account. Once you have gained access, you can change the password through the Control Panel.
This method can also be used if you want to change your password without actually forgetting it. Instead of typing

net user user_name *

, you can type

net user user_name new_password

to change your password to a specific one. (replace user_name to your target account name, and new_password to your password)
It is important to note that this method will only work if you have a Windows 10 installation disk. If you do not have one, you can create one using another computer with Windows 10. Additionally, this method may not work on certain computer systems, so it is always recommended to have a backup plan in case this method does not work for you.
In conclusion, if you have forgotten your administrator password on Windows 10 and are unable to login, using a Windows 10 installation disk and Command Prompt is a simple and effective way to reset your password. Just follow the steps outlined above and you will be able to regain access to your administrator account in no time.
Pros:
  • Can be used to change password without forgetting it

Cons:

  • Requires a Windows 10 installation disk
  • Requires some knowledge of using computer consoles
  • May not work on certain computer systems

Method 2 : Replacing Utility Manager to Reset Administrator Password using Windows 10 Installation Disk

In addition to using the Windows 10 installation disk and Command Prompt to replace the Sticky Keys program, you can also utilize this method to replace the Utility Manager program. By doing so, you can reset the administrator password or create a new account if you have forgotten the administrator password and cannot log in to Windows 10. This method works for local accounts and allows you to access all of your Microsoft account’s local files.
The Utility Manager program, also known as manutil.exe, is a tool in Windows operating systems that provides accessibility features for users. By replacing this program with Command Prompt, you can gain access to the command line interface and perform password-related actions.
Step 1: Boot from the Windows 10 installation disk
To begin, you need to create a Windows 10 installation disk if you don’t already have one. You can use the Windows Media Creation Tool on another working computer to create the disk. Once you have the installation disk, insert it into the locked computer and restart. Access the Boot Option Menu by repeatedly pressing the appropriate Boot Option Key when the vendor logo appears. Choose the USB drive containing the installation disk to boot your computer.
Step 2: Replace Utility Manager with Command Prompt
After the computer boots up from the installation disk, the setup screen will appear. Press “Shift + F10″ to open the Command Prompt. In the Command Prompt window, execute the following commands to replace Utility Manager with Command Prompt:

move C:\windows\system32\utilman.exe C:\

copy C:\windows\system32\cmd.exe C:\windows\system32\utilman.exe

Remove the installation disk and restart the computer after executing the commands.
Step 3: Reset Windows 10 local admin password with Command Prompt
When the login screen appears, click on the Ease of Access icon on the lower-right corner. This will open Command Prompt. In the Command Prompt window, type the following command to reset the password for the local admin account:

net user

Replace <username> with the username of the admin account and <new_password> with your desired password. Press Enter to set the new password.
Step 4: Restore Utility Manager
Insert the installation disk into the computer and click the Power icon to restart. When the computer boots up from the disk, press “Shift + F10″ to open the Command Prompt. In the Command Prompt window, type the following command to restore the Utility Manager:

copy C:\utilman.exe C:\windows\system32\utilman.exe

Press Enter, and then type “Yes” to confirm the restoration.
Step 5: Login to Windows 10 with local admin account
Close the Command Prompt window and reboot the Windows 10 computer. You can now log in to the admin account using the new password you set in Step 3.
Note: If you prefer a simpler method, you can try using Renee PassNow, a professional Windows password reset tool that allows you to easily log in to your locked Windows 10 computer. However, if you follow the above steps carefully, you should be able to reset the Windows 10 administrator password using Command Prompt and the Windows 10 installation disk.
Tips:Make sure you have a Windows 10 installation disk or create one using the Windows Media Creation Tool on another computer.

Method 3 : Reset Administrator Password using Renee PassNow

If you’ve forgotten your administrator password for Windows 10, don’t worry – there are several methods you can use to reset it. In the previous topic, we discussed how to reset the administrator password using the Windows 10 installation disk and command prompt. In this chapter, we will focus on Resetting Administrator Password with Renee PassNow.
Renee PassNow is a user-friendly and reliable tool that can help you reset your administrator password in just a few steps. It is a paid program, but it offers a free trial version that can be used to reset the password. Additionally, it supports resetting passwords for different versions of Windows, including Windows 10.
Tips:If your account is Microsoft Account, Renee PassNow will convert this account to Local account. After resetting login password, you need to connect your account to your Microsoft Account again.
To reset your Windows password using Renee PassNow, follow these steps:
Step 1: Download and Install Renee PassNow
Start by downloading Renee PassNow from the official website and install it on a different computer that you can access. You can choose the appropriate version based on your computer’s operating system.
Renee PassNow – Professional Windows System Rescue Tool

Remove Windows Login Password 3 steps for whole password remove process.

Recover the files Recover the deleted files without Windows system.

Transfer the data Transfer the important files of the computer with system.

Fix Windows startup error Fix various Windows startup failures or crashes.

Erase disk Completely erase disk files which will not be restored.

Remove Windows Login Password 3 steps for whole password remove process.

Recover the files Recover the deleted files without Windows system.

Transfer the data Transfer the important files of the computer with system.

Free TrialFree TrialNow 2000 people have downloaded!
Step 2: Create a Bootable USB or CD/DVD
Launch Renee PassNow and insert a USB flash drive or blank CD/DVD into the computer. Select the option to create a bootable media. Follow the on-screen instructions to complete the process.
Create New Windows 10 Password Reset Disk with Renee PassNow
Step 3: Boot the Locked Server from the Bootable Media
Insert the bootable USB or CD/DVD into the locked Windows computer. Restart the computer and enter the BIOS settings by pressing the appropriate key (usually F2 or Delete). Configure the boot order to prioritize the bootable media.
Common Server:
Server TypeEnter boot menu method
DELLPress the F12 key repeatedly before the Dell logo appears on the screen.
HPPress the F9 key multiple times when the HP logo is displayed.
Common Computers:
BIOS NameEnter boot menu method
ASRockDEL or F2
ASUSDEL or F2 for PCs/ DEL or F2 for Motherboards
AcerDEL or F2
DellF12 or F2
ECSDEL
Gigabyte / AorusDEL or F2
Lenovo (Consumer Laptops)F2 or Fn + F2
Lenovo (Desktops)F1
Lenovo (ThinkPads)Enter then F1
MSIDEL
Microsoft Surface TabletsPress and hold Power and Volume Up buttons
Origin PCF2
SamsungF2
ToshibaF2
ZotacDEL
HPEsc/ F9 for `Boot Menu`/ Esc/ F10/ Storage tab/ Boot Order/ Legacy Boot Sources
INTELF10
Boot the target PC with the created password reset USB/CD/DVD.
Step 4: Select password reset function
After successfully booting from the bootable media, Renee PassNow will load. Select “PassNow!” function after booting from the new created Windows password reset disk.
After loading into main interface, please select the “PassNow!” function.
Step 5: Resetting the Password
Choose the user account for which you want to reset the password. Then, click on the “Clear Password” button. Renee PassNow will remove or reset the password for the selected user account.
Select target Windows system in the list
Select target user account in the list
Step 6: Reboot the PC
Once the password is reset, remove the bootable media from the PC and restart the computer. You will now be able to log in to Windows Account without a password.
Renee PassNow is a reliable tool that can be used to reset the administrator password for Windows 10. It offers a simple and user-friendly interface, making it easy for anyone to use. However, it is always recommended to keep a backup of your passwords or use a password manager to avoid any inconvenience in the future.
Pros:
  • User-friendly and reliable tool
  • Supports resetting passwords for different versions of Windows
  • Simple and user-friendly interface
  • Can Conversion of Microsoft Account to Local account

Cons:

  • Paid program (free trial version available)

Method 4 : Resetting Password via PowerShell if User Can Login to Account

If you find yourself in a situation where you can still log in to your Windows 10 account but have forgotten your administrator password, don’t worry. PowerShell provides a powerful solution to reset your password quickly and effortlessly. This method is especially useful if you are comfortable working with command-line tools and want to avoid using third-party software. Let’s explore how you can reset your Windows 10 administrator password using PowerShell.
Using PowerShell’s Set-LocalUser cmdlet: a straightforward approach
PowerShell offers the Set-LocalUser cmdlet, which allows you to reset the password for a local user account. This cmdlet is simple to use and highly effective. Here’s how you can utilize it:

Set-LocalUser -Name "username" -Password (ConvertTo-SecureString -AsPlainText "newpassword" -Force)

Simply replace username with the username of your administrator account, and newpassword with the new password you want to assign. Once executed, PowerShell will reset the password for your Windows 10 administrator account, granting you immediate access. If you want to verify the password reset, you can use the Get-LocalUser command to check the date and time when the password was last changed.
Change password expiration policy with PowerShell: flexibility and security combined
In addition to resetting the password for your Windows 10 administrator account, PowerShell allows you to modify the password expiration policy. This feature enhances security while providing flexibility in managing your account’s password requirements. Take a look at the following command:

Set-LocalUser -Name "username" -PasswordNeverExpires $true

Replace username with your administrator account’s username. Upon execution, this PowerShell command will configure your account to never expire the password, ensuring uninterrupted access.
Enforcing password complexity requirements: enhance the security of your administrator account
PowerShell enables you to enforce specific password complexity requirements for your administrator account, enhancing its security. Employ the following command to set up password complexity rules:

Set-LocalUser -Name "username" -PasswordComplexity "Enabled"

Replace username with the username of your Windows 10 administrator account. By executing this PowerShell command, you activate password complexity requirements, ensuring that your new password adheres to the designated rules.
Using Set-ADAccountPassword with PowerShell: additional functionality for Active Directory environments
For Active Directory environments, PowerShell provides the Set-ADAccountPassword cmdlet, which offers additional functionality to reset passwords. This cmdlet can be used to modify the password for user accounts, and it supports several authentication methods. Here’s an example of how to use this cmdlet:

Set-ADAccountPassword -Identity "username" -NewPassword (ConvertTo-SecureString -AsPlainText "newpassword" -Force)

Replace username with the identifier of your Windows 10 administrator account, such as the distinguished name, GUID, security identifier, or SAM account name. Similarly, replace newpassword with the desired new password. Once executed, PowerShell will reset the password for your Active Directory administrator account.
The ADSI method: an alternative for resetting account passwords
Another method for resetting account passwords in PowerShell is the ADSI method. This method involves using the ADSI interface to interact with Active Directory. While not as versatile as the Set-ADAccountPassword cmdlet, the ADSI method can still be effective for resetting passwords. Here’s an example of how to use this method:

$userid = [ADSI]"LDAP://CN=worker03,OU=Usr,DC=LAB,DC=Local"

$userid.psbase.invoke("SetPassword", "Password@123")

$userid.psbase.CommitChanges()

By running these commands, you can reset the password for the specified user account in Active Directory. Keep in mind that the ADSI method has its limitations, such as requiring the PowerShell session to be run under an account with the proper privileges and targeting users in specific organizational units (OUs). However, in situations where other methods may not be available or suitable, the ADSI method can still be a viable option.
Conclusion
PowerShell offers a variety of methods to reset your Windows 10 administrator password, depending on your specific needs and environment. Whether you choose to use the Set-LocalUser cmdlet for local user accounts or the Set-ADAccountPassword cmdlet for Active Directory environments, PowerShell provides a powerful and efficient solution. Additionally, PowerShell allows you to modify password expiration policies and enforce password complexity requirements, enhancing the security of your administrator account. When necessary, the ADSI method can be used as an alternative for resetting account passwords. With PowerShell’s comprehensive capabilities, you can confidently manage and reset your Windows 10 administrator password.
Tips:PowerShell offers multiple methods to confidently manage and reset your Windows 10 administrator password. Be cautious about copyright risks when using images from the Internet.

The Importance of Data Backup in the Password Reset Process:

When it comes to resetting an administrator password on Windows 10 through command prompt, it is crucial to emphasize the importance of data backup throughout the entire process. This is because any wrong move or mistake can result in the loss of important data and files, leading to potential consequences for the user.
Backup your Data: Before initiating the password reset process, it is always recommended to backup all your important data and files. This will ensure that even if something goes wrong during the reset, you will still have a copy of your data to fall back on. You can backup your data by transferring it to an external hard drive, using cloud storage, or simply copying it to a different location on your computer.
Hot Topic - ADsProfessional Data Backup & Restore Software - Renee Beccadata bacup software Renee Becca

Provides multiple functions like backup, restore, clone, system migration.

Clone all data (including system) in HDD to smaller SSD or larger HDD. Disk could boot PC after clone finished.

Supports to migrate Windows to SSD with a few clicks.

4K alignment will be processed when clone disk, migrate system, restore disk or system.

Backup & restore system/disk/folder. Auto backup plans are available.

Provides functions like backup, restore, clone, system migration.

Clone all data (including system) in HDD to smaller SSD or larger HDD.

Backup & restore system/disk/folder. Auto backup plans are available.

Compatible with: Windows 10 / 8.1 / 8 / 7 / Vista / XP / 2008 / 2012(32bit/64bit) / Server 2008

Free TrialFree Trial

5000 people have downloaded and made the disk clone successfully!

Create a Restore Point: In addition to backing up your data, it is also a good idea to create a restore point on your computer. This will allow you to revert back to a previous state in case anything goes wrong during the password reset process. To create a restore point, simply type “create a restore point” in the search bar and follow the on-screen instructions.
Be Mindful of Your Actions: When using the command prompt to reset your administrator password, it is important to be careful with your actions. One wrong command can have disastrous consequences, so be sure to double check everything before hitting enter. It may also be helpful to have a guide or tutorial open to refer to throughout the process.
Utilize Safe Mode: If you are unable to login to your account to reset the password, you can try booting into Safe Mode. This will load only the essential system files and services, making it easier to reset the password. To boot into Safe Mode, restart your computer and continuously press the F8 key until the advanced boot options menu appears. From there, select Safe Mode with Command Prompt.
Use PowerShell: Another option for resetting your administrator password is through PowerShell, rather than the traditional command prompt. This option offers more advanced capabilities and may be a better choice for users with more technical knowledge. To use PowerShell, open the Start menu, type “powershell,” and press enter to open the PowerShell console.
In conclusion, resetting an administrator password through command prompt can be a daunting task, but with proper precautions and data backup, it can be done safely and effectively. Always remember to backup your data, create a restore point, be mindful of your actions, and utilize Safe Mode or PowerShell if needed. By following these steps, you can successfully reset your administrator password and regain access to your Windows 10 account.

Conclusion

In conclusion, resetting your administrator password on Windows 10 through the command prompt can be done quickly and easily using various methods. Whether you have forgotten your password or can still login to your account, there is a solution for you. Using a Windows 10 installation disk, you can replace Sticky Keys Program or Utility Manager with Command Prompt to reset your password. For a more user-friendly approach, tools like Renee PassNow can also be used. And for those who can still access their account, PowerShell offers a simple way to reset the password. However, it is important to always have a backup of your data to ensure it is not lost during the password reset process. With these methods, you can easily regain access to your administrator account on Windows 10 without any hassle. Remember to always keep your password secure and regularly update it to avoid any future issues.