How to Reset Your Windows 10 Password Without Logging In

Ever found yourself staring at your Windows 10 login screen, drawing a blank on your password, and feeling completely locked out? It is a frustrating situation, but thankfully, not a hopeless one. This guide will walk you through a powerful method for resetting your Windows 10 password even if you cannot log in. Essentially, you will use a Windows installation USB or DVD to boot into a special recovery mode, swap some system files, open a command prompt directly from your login screen, and then run a simple command to set a new password. This trick works for local accounts and does not require you to know your old password. It is a bit like having a master key when you have lost your regular one.

Tutorial – How to Reset Your Windows 10 Password Without Logging In

Sometimes, getting locked out of your computer feels like a digital prison sentence. Do not worry; these steps will help you regain access to your Windows 10 PC by resetting your local account password, without needing to remember what it was in the first place. You will need a little preparation, but we will get you through it.

Step 1: Get a Windows 10 Installation Medium

Your first mission is to grab a Windows 10 installation USB drive or DVD. This is the key to unlocking your system.

If you do not have one lying around, you will need to create it on another working computer using Microsoft’s Media Creation Tool. Just search for “Windows 10 Media Creation Tool” online, download it, and follow the instructions to put Windows 10 onto a USB drive (at least 8GB) or a blank DVD. This tool helps you prepare everything correctly.

Step 2: Boot from the Installation Medium

Now, plug in the USB drive containing your Windows 10 installation or insert the DVD into your locked computer. You need to tell your computer to start from this drive instead of its usual hard drive.

To do this, you usually need to restart your computer and quickly press a specific key, such as F2, F10, F12, or DEL, to enter your computer’s BIOS or UEFI settings. Once there, look for a “Boot Order” or “Boot Priority” section and set your USB drive or DVD drive as the first boot device. Save your changes and exit, and your computer should then boot from the installation media.

Step 3: Access the Command Prompt

Once Windows Setup starts loading, you will see the language and keyboard selection screen. Do not click “Install now.”

Instead, look for a small link labeled “Repair your computer” in the bottom-left corner, then click it. This will take you to the recovery options. From there, go to “Troubleshoot,” then “Advanced options,” and finally, select “Command Prompt.” This powerful tool is where all the magic will happen.

Step 4: Identify Your Windows Drive

When you are in Command Prompt, the drive letters might not match your expectations. Your main Windows drive, usually “C:”, might show up as “D:” or “E:” in this recovery environment.

You can figure out which drive is your Windows installation by typing diskpart and then list volume. Look for the volume that has your Windows installation, usually identified by its size and label, and note its drive letter. You can also exit diskpart by typing exit, and then try typing dir D: or dir E: to see which drive contains folders like Users and Windows.

Step 5: Rename utilman.exe and cmd.exe

This is the clever part. We will temporarily replace the “Ease of Access” button on the login screen with the Command Prompt.

First, make a backup of the original utilman.exe by typing: move D:windowssystem32utilman.exe D:windowssystem32utilman.bak (replace D: with your actual Windows drive letter). Then, copy cmd.exe to take its place: copy D:windowssystem32cmd.exe D:windowssystem32utilman.exe. These commands are very precise, so double-check your typing.

Step 6: Reboot Your Computer

Now that the file swap is complete, you can safely close the Command Prompt window by typing exit. Then, click “Continue” or “Exit and continue to Windows 10” to restart your computer normally.

Make sure to remove any USB drive or DVD from your computer so it boots from its hard drive as usual. You want to return to the standard Windows 10 login screen.

Step 7: Launch Command Prompt from Login Screen

When you get to the Windows 10 login screen, look in the bottom right corner for the “Ease of Access” icon. It looks like a little person inside a circle.

Click this icon, and instead of the usual accessibility options, a Command Prompt window should open. This is because we tricked the system into opening cmd.exe when you clicked that icon.

Step 8: Reset the Password

With the Command Prompt open on your login screen, you can now reset your password. Type the following command: net user [username] [new_password].

Replace [username] with the actual username of the account you want to reset (if you are unsure, type net user to see a list of accounts), and replace [new_password] with your desired new password. Press Enter; it should display “The command completed successfully.” If your username has spaces, put quotes around it, like net user "John Doe" NewPass123.

Step 9: Restore Original Files (Optional but Recommended)

You have reset your password, so you can now log in with the new one. But for security reasons, it is a really good idea to put the original utilman.exe back where it belongs.

To do this, you will need to repeat Steps 2 through 4 to return to the Command Prompt using your installation media. Once there, type: move D:windowssystem32utilman.bak D:windowssystem32utilman.exe to restore the original file. Then, you can reboot normally. This puts everything back to how it was.

After successfully resetting your password using the Command Prompt, you can log in to your Windows 10 account with your brand new password. Remember to restore the original utilman.exe file, as leaving the command prompt accessible from the login screen could pose a security risk if someone else were to gain physical access to your computer. Once the files are restored, your system will be back to its normal, secure state.

Tips for Resetting Your Windows 10 Password Without Logging In

  • Always Have a Recovery Drive Ready: It is a smart move to create a Windows 10 installation USB or DVD before you ever need it. Think of it as a digital spare tire, always there for emergencies.
  • Know Your Windows Username: You will need the exact username of the account you are trying to reset. If you are unsure, the net user command in the Command Prompt can show you all local user accounts on your system.
  • Be Careful with Commands: Typing commands in the Command Prompt requires precision. One typo can cause problems, so double-check every letter, space, and colon before you hit Enter.
  • Back Up Your Data Regularly: While this method does not affect your files, regularly backing up your important documents, photos, and videos is always a good practice. It is your ultimate safety net for any computer trouble.
  • Consider a Microsoft Account: If you use a Microsoft account to log in to Windows 10, resetting your password is much simpler, as you can do it online from any device. This method is primarily for local accounts.
  • Restore utilman.exe Afterwards: Seriously, do not forget to swap the files back. Leaving cmd.exe accessible from the login screen is like leaving your front door unlocked. It is a security vulnerability.
  • Write Down New Passwords Securely: After resetting, pick a strong, memorable password and store it in a secure place, like a password manager, or a physical notebook kept in a safe spot.

Frequently Asked Questions

Can I really reset my password without knowing the old one?

Absolutely, yes. This method bypasses the need for your old password entirely. You are essentially creating a backdoor to set a new password directly through the system’s command line, which is why it is so effective for local accounts when you are completely locked out.

Is this method safe to use on my computer?

Yes, when performed correctly, this method is safe and will not damage your operating system or files. However, it involves modifying system files, so precision is key. The biggest safety concern is remembering to revert the changes by restoring the original utilman.exe file after you are done, to prevent unauthorized access in the future.

What if I have a Microsoft account instead of a local account?

If you are logging in with a Microsoft account, this method is not the best approach. For Microsoft accounts, visit account.microsoft.com/password/reset on another device and follow the on-screen steps to reset your password. It is much easier and designed specifically for those accounts.

Will this delete any of my personal files or programs?

No, definitely not. This process only touches a few system files related to the login process and then changes your account password. All your documents, pictures, videos, and installed programs will remain exactly where they were, untouched by this procedure.

What if I don’t know my username?

That is a common hurdle. When you get to the Command Prompt (either through the installation media or the login screen trick), you can type net user and press Enter. This will list all local user accounts on your Windows 10 computer, helping you identify the correct username you want to reset the password for.

What if my computer will not boot from the USB drive?

If your computer is stubborn about booting from the USB, you might need to check your BIOS/UEFI settings again. Ensure the USB drive is properly recognized and set as the first boot device. Sometimes, disabling “Secure Boot” or enabling “Legacy Boot” in the BIOS can also help, especially with older USB drives or newer computers.

Summary of Steps

  1. Create or find Windows 10 installation media.
  2. Boot computer from installation media.
  3. Access Command Prompt via “Repair your computer.”
  4. Identify your Windows installation drive letter.
  5. Backup utilman.exe and replace it with cmd.exe.
  6. Reboot your computer normally.
  7. Click Ease of Access icon on login screen to open Command Prompt.
  8. Use net user command to reset your password.
  9. (Optional but Recommended) Restore original utilman.exe file.

Conclusion

Getting locked out of your Windows 10 computer because you have forgotten your password can feel like a nightmare, can it not? It is a moment of pure panic for many of us, especially when important work or cherished memories are trapped behind that login screen. But as we have explored, there is a robust, albeit a bit technical, solution at your fingertips. This method for resetting a Windows 10 password without logging in is a testament to the flexibility of the Windows operating system, offering a way out even in what seems like a truly hopeless situation.

Think of this process as having a special set of tools in your digital toolbox. It requires some preparation, such as having Windows 10 installation media ready, and careful typing when entering commands. But the payoff is immense: regaining access to your computer and all your data. It is a powerful technique, and with great power comes great responsibility, right? Always remember to restore the original utilman.exe file once you are done. This step is not just a suggestion; it is crucial to maintaining your system’s security. Leaving the Command Prompt easily accessible from the login screen could allow anyone with physical access to your computer to bypass your password, which is something you definitely want to avoid.

For those who rely on local accounts, mastering this technique provides a significant sense of control and independence. However, it also highlights why using a Microsoft account for Windows 10 often simplifies password resets, as they can typically be managed online with an email or phone verification. Regardless of the account type you use, being prepared for a forgotten password scenario is essential. Consider using a reputable password manager to store all your complex passwords, or at least maintain a secure, offline backup of your critical login credentials. Ultimately, understanding how to regain access to your system is an empowering skill, transforming a moment of panic into a manageable task. Stay vigilant, stay prepared, and you will never be truly locked out.

Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy