If you’ve forgotten your Windows 10 password on an HP laptop and don’t have a password reset disk, you can still regain access using built-in recovery tools. This guide walks you through several methods—from using the hidden Administrator account to performing a factory reset—so you can get back into your laptop without losing everything if possible.
What You’ll Need
- Access to another computer with an internet connection (for creating a recovery USB if needed).
- A USB flash drive (8GB or larger) if you plan to use the installation media method.
- Your HP laptop’s power adapter (ensure it’s charged or plugged in during the process).
- Patience—some methods require multiple restarts.
Step-by-Step
Method 1: Use the Hidden Administrator Account (if enabled)
- On the login screen, click the Power icon in the bottom-right corner.
- Hold the Shift key on your keyboard and click Restart.
- Your laptop will reboot into the blue Choose an option screen.
- Click Troubleshoot > Advanced options > Command Prompt.
- If prompted, select your account and enter the password (if you know it) or click Continue (if no password).
- In the Command Prompt window, type the following and press Enter:
net user
This lists all user accounts on the system.
- Look for a user named Administrator or DefaultAccount. If you see Administrator, type:
net user Administrator /active:yes
Press Enter. This enables the built-in Administrator account (which is usually disabled).
- Close the Command Prompt and click Continue to restart normally.
- On the login screen, you should now see the Administrator account. Click it to log in (no password is set by default).
- Once logged in, press Windows key + X and select Computer Management.
- Go to Local Users and Groups > Users, right-click your original account, and select Set Password. Follow the prompts to create a new password.
- Restart and log in with your new password.
Method 2: Reset via Windows 10 Installation Media (if you have a recovery USB or can create one)
- On another computer, go to Microsoft’s official download page and download the Media Creation Tool.
- Run the tool, accept the license, and choose Create installation media (USB flash drive, DVD, or ISO file).
- Select your language and edition, then insert a USB drive (8GB+). Follow the prompts to create the bootable USB.
- Insert the USB into your locked HP laptop and restart it.
- As it boots, press Esc repeatedly to open the Startup Menu, then press F9 for Boot Device Options (or F10 for BIOS setup to change boot order).
- Select the USB drive from the list and press Enter.
- When the Windows Setup screen appears, click Next and then Repair your computer in the bottom-left corner.
- Go to Troubleshoot > Advanced options > Command Prompt.
- In the Command Prompt, type the following commands, pressing Enter after each:
move d:\windows\system32\utilman.exe d:\windows\system32\utilman.exe.bak
copy d:\windows\system32\cmd.exe d:\windows\system32\utilman.exe
(Replace d: with the drive letter of your Windows installation—usually C:, but in the recovery environment it might be D: or E:. Check by typing
dir d:\windowsto verify.) - Close the Command Prompt and click Continue to restart.
- On the login screen, click the Ease of Access icon (the little person with a clock) in the bottom-right corner. This will open a Command Prompt window instead of the usual accessibility settings.
- Type
net userto see accounts, then type:net user YourUsername NewPassword
Replace YourUsername with your actual username and NewPassword with a new password.
- Close the Command Prompt and log in with the new password.
- After logging in, open Command Prompt as administrator (right-click Start > Command Prompt (Admin)) and restore the original utilman.exe file:
move d:\windows\system32\utilman.exe.bak d:\windows\system32\utilman.exe
(Use the same drive letter as before.)
Method 3: Factory Reset (last resort—erases all data)
- On the login screen, click the Power icon, hold Shift, and click Restart.
- Go to Troubleshoot > Reset this PC > Remove everything.
- Choose Just remove my files (faster) or Remove files and clean the drive (more secure but takes longer).
- Follow the prompts. The laptop will restart and reinstall Windows. You’ll need to set up a new account.
Common Mistakes
- Using the wrong drive letter in the Command Prompt method. Always verify with
dirbefore copying files. - Skipping the Shift+Restart step—it’s essential to access the recovery environment.
- Forgetting to restore utilman.exe after the password reset. Leaving cmd.exe in its place is a security risk.
- Not checking if the Administrator account is already enabled—if it is, you can just log in directly without enabling it.
- Using a password with special characters in the net user command—if it fails, try a simple alphanumeric password first.
Tips
- Always create a password reset disk for your Microsoft account or a local account in the future—it’s much easier than these workarounds.
- If your HP laptop is linked to a Microsoft account, you can reset the password online at Microsoft’s password reset page using another device.
- Write down your new password and store it somewhere safe.
- If you have BitLocker enabled, you’ll need the recovery key to proceed with some methods. Check your Microsoft account or a printed copy.
Troubleshooting
- Method 1 doesn’t show the Administrator account: The account may not exist or is disabled. Try Method 2 instead.
- Command Prompt doesn’t open in the recovery environment: Ensure you’re using the correct bootable USB and that your laptop supports booting from USB (check BIOS settings).
- “Access denied” error when using net user: You might not have admin privileges in the recovery environment. Try the other method or ensure you’re using the built-in Administrator account.
- Laptop doesn’t boot from USB: Enter BIOS (press F10 during startup) and change the boot order to prioritize USB, or use the one-time boot menu (F9).
- Factory reset fails or freezes: Ensure your laptop is plugged in and has enough battery. If it still fails, try creating a Windows 10 installation USB and perform a clean install (this will erase everything).
Frequently Asked Questions
Can I reset my HP laptop password without losing data?
Yes, Methods 1 and 2 allow you to reset the password without deleting files. Only Method 3 (factory reset) erases data.
What if I have a Microsoft account instead of a local account?
If you use a Microsoft account, you can reset the password online. The methods above still work, but after resetting, you may need to re-enter your Microsoft account credentials.
Is it legal to reset a password on a laptop that isn’t mine?
Only reset passwords on your own device or with explicit permission from the owner. Unauthorized access is illegal.
Why doesn’t the hidden Administrator account appear?
It’s disabled by default on most systems. The Command Prompt method (Method 1) is used to enable it, but if it fails, try Method 2.
Do I need a USB drive for all methods?
No. Method 1 and Method 3 use the built-in recovery environment. Only Method 2 requires a bootable USB.
What if I can’t access the recovery environment at all?
If your laptop won’t boot to the recovery screen, you may need to use the HP recovery partition (press F11 during startup) or contact HP support for further assistance.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Gmail Gemini Privacy: Data Access & Limit Settings
- Fix Outlook Inbox Corruption with DISM in Windows
- How to Set Up Apple Pay on iPhone
- How to Choose a Refurbished iPhone With Years of Support
- Voice Dictation in Google Docs: How to Use It
- Turn Off Message Notifications on Mac