Ever found yourself staring at your Windows 10 login screen, drawing a blank on your password? It’s a frustrating moment, I know, but don’t panic! You can absolutely get back into your computer, even without knowing that elusive password. The trick often involves using a special method to access your computer’s recovery environment, allowing you to either reset your local account password or activate a hidden administrator account. This usually requires a bootable USB drive, which you’ll create on another computer, and a few simple command-line steps to regain control of your system.
Tutorial – How to Unlock Windows 10 Without Password
If you’ve forgotten your Windows 10 password for a local account, don’t worry, we can get you back in. The following steps will guide you through a clever workaround using the Command Prompt to reset your password, allowing you to log back into your computer without losing any of your files.
Step 1: Prepare a bootable Windows 10 installation USB drive.
You’ll need another computer to download the Windows 10 Media Creation Tool from Microsoft’s website and use it to create a bootable USB drive.
This step is super important because it provides the environment we need to make changes to your locked computer. Think of it like getting a special key from a friend to open your own house when you’ve lost yours, but first, you have to make that key. Ensure the USB drive has at least 8GB of space, and remember that anything on it will be erased during this process.
Step 2: Boot your locked computer from the USB drive.
Insert the bootable USB drive into your locked computer, restart it, and quickly press the necessary key (often F2, F10, F12, or Del) to enter the boot menu or BIOS/UEFI settings.
Getting your computer to start from the USB drive instead of its regular hard drive is key here. Every computer is a little different, so if you’re not sure which key to press, a quick search online for your computer’s make and model plus “boot menu key” should give you the answer. Once you’re in the boot menu, select your USB drive from the list.
Step 3: Access the Command Prompt.
Once the Windows setup screen appears, press Shift + F10 on your keyboard to open the Command Prompt.
Don’t let the setup screen fool you, we’re not reinstalling Windows! We just need its helpful tools. The Command Prompt is like a secret back door into your computer’s brain, allowing us to type commands directly to the system. It’s a powerful tool, so we’ll be careful and precise with our instructions.
Step 4: Locate your Windows installation drive.
Type diskpart and press Enter, then type list volume and press Enter to see all your drives, noting the letter of your Windows installation.
Windows might not be on the C: drive in this recovery environment, so we need to locate it. Look for the drive with the largest size, which usually has a label like “Windows” or “OS.” It’s like checking the labels on different boxes to find the one you’re looking for. Type exit and press Enter when you’re done with diskpart.
Step 5: Replace the Sticky Keys application with Command Prompt.
Type move D:windowssystem32utilman.exe D:windowssystem32utilman.exe.bak (replace D with your Windows drive letter) and press Enter, then type copy D:windowssystem32cmd.exe D:windowssystem32utilman.exe and press Enter.
This is the clever part! We’re essentially swapping out the “Ease of Access” button (which usually launches utilman.exe and gives you accessibility options) with the Command Prompt (cmd.exe). This means when you click that button on the login screen, it will open Command Prompt instead. We also make a backup of the original utilman.exe just in case.
Step 6: Restart your computer normally.
Type wpeutil reboot and press Enter, then remove the USB drive as your computer restarts.
Now that we’ve made our changes, it’s time to let the computer restart normally. Make sure to pull out that USB drive as it reboots, otherwise, it might try to boot from it again, and we don’t want that.
Step 7: Open Command Prompt from the login screen.
On the Windows 10 login screen, click the “Ease of Access” icon (the little person icon) in the bottom-right corner.
Remember how we swapped out the utilman.exe? Now, when you click that icon, instead of seeing accessibility options, you’ll see the Command Prompt window pop up right there on your login screen. How cool is that?
Step 8: Reset your user password.
In the Command Prompt, type net user yourusername newpassword (replace yourusername with your actual account name and newpassword with your desired new password) and press Enter.
This is the moment of truth! Make sure you type your username exactly as it appears on the login screen. If your username has spaces, put it in quotes, like net user "John Doe" newpassword. Choose a strong, memorable password that you won’t forget this time!
Step 9: Restore the original utilman.exe.
Log into Windows with your new password, then open Command Prompt as an administrator (search for “cmd” in the Start menu, right-click, and select “Run as administrator”). Type move D:windowssystem32utilman.exe.bak D:windowssystem32utilman.exe (replace D with your Windows drive letter if different) and press Enter, then restart your computer.
We want to put everything back the way it was, right? This step replaces the Command Prompt we temporarily put there with the original Ease of Access application. It’s good practice to tidy up after ourselves and ensure everything is functioning as it should.
After you complete these steps, you will be able to log in to your Windows 10 computer using the new password you just set. All your files, settings, and programs will still be exactly where you left them, just accessible again. It’s like getting a fresh start with your password without losing any of your digital life.
Tips for Unlocking Windows 10 Without Password
- Create a password reset disk proactively: If you have a local account, creating one before you forget your password is the easiest way out. It’s done through the User Accounts section in Control Panel and can save you a lot of hassle.
- Link to a Microsoft account: If your Windows 10 account is linked to a Microsoft account (such as Outlook.com or Hotmail.com), you can easily reset your password online in any web browser. This is often the simplest solution and bypasses the need for a bootable USB entirely.
- Always back up your important data: While these methods usually don’t cause data loss, having a current backup of your files on an external hard drive or cloud storage is always a smart move. It’s your ultimate safety net.
- Write down passwords securely: If remembering passwords is a challenge, consider using a secure password manager or storing them in a very safe, offline location, such as a locked diary. Just make sure it’s not easily discoverable!
- Enable the built-in Administrator account (with caution): You can enable the hidden Administrator account in Windows, which has no password by default, as a backup. However, this is a security risk if not managed carefully, as anyone could access your computer. Only do this if you understand the implications and keep it disabled when not needed.
Frequently Asked Questions
Can I unlock Windows 10 without a USB drive?
Generally, to recover a forgotten local account password, a bootable USB drive or a pre-created password reset disk is required. Without these, it’s very difficult to reset the password directly from the locked login screen.
Will resetting my password delete my files or data?
No, resetting your password using the method described here will not delete any of your personal files, programs, or settings. It simply changes the credential needed to access your existing user profile.
What if my Windows 10 account is a Microsoft account, not a local account?
If your account is a Microsoft account, you can reset your password online by visiting account.live.com/password/reset from any web browser on another device. Once reset, your computer will use the new password the next time it connects to the internet.
Is it legal to unlock my own Windows 10 computer this way?
Yes, absolutely! You own the computer, and you have every right to regain access to it. This method is a legitimate way to recover access to your personal device when you’ve forgotten your password.
What if I forget my password again after resetting it?
Hopefully, you won’t! But if it happens, you can repeat the process. To prevent future issues, consider linking your account to a Microsoft account for easier online recovery, or create a password reset disk to have on hand. Also, a good password manager can be a lifesaver.
Summary
- Prepare a bootable Windows 10 USB.
- Boot computer from the USB.
- Open Command Prompt via Shift + F10.
- Find your Windows installation drive letter.
- Swap utilman.exe with cmd.exe.
- Restart computer normally, remove USB.
- Click Ease of Access icon on login screen.
- Use
net usercommand to reset password. - Log in, then restore original utilman.exe.
Conclusion
Forgetting your password is, without a doubt, one of the most frustrating experiences you can have with your computer. It feels like your own device has suddenly locked you out, holding all your precious data hostage. But as you’ve seen, it’s not a dead end! There are effective ways to regain access, and understanding how to unlock Windows 10 without a password can be an incredibly useful skill to have in your digital toolbox. It empowers you to take control when things go awry, proving that even a seemingly impenetrable lock can be picked with the right knowledge.
The method we discussed, which involves a bootable USB drive and a clever Command Prompt trick, is a robust solution for local accounts. It’s a testament to Windows’ flexibility, allowing users with a bit of technical know-how to resolve common issues. However, prevention is always better than cure, isn’t it? Take a moment to consider setting up a password reset disk if you haven’t already, especially if you prefer local accounts. And for those who use Microsoft accounts, leveraging the online password reset feature is a breeze and often saves a lot of headaches.
Beyond just the technical steps, this situation highlights the importance of good password hygiene. Choosing strong, unique passwords and maybe even using a reliable password manager can dramatically reduce the chances of getting locked out in the first place. Think of it as putting better locks on your digital doors. Also, regularly backing up your data is advice I can’t stress enough. It’s your ultimate safety net, ensuring that even in the rarest, worst-case scenarios, your memories, documents, and creative projects remain safe. So, while you’ve learned a fantastic recovery technique today, let it also be a reminder to stay proactive about your digital security. Your peace of mind is worth it!

Matt Jacobs has been working as an IT consultant for small businesses since receiving his Master’s degree in 2003. While he still does some consulting work, his primary focus now is on creating technology support content for SupportYourTech.com.
His work can be found on many websites and focuses on topics such as Microsoft Office, Apple devices, Android devices, Photoshop, and more.