The fastest way: use your Microsoft account to reset on the login screen
If your HP laptop runs Windows 10 or 11 and you signed in with a Microsoft account (not a local account), you can reset your password directly from the login screen without opening Windows at all. This is the simplest path and works even if you cannot remember your password.
On the login screen, click "I forgot my password" beneath the password field. Windows will walk you through verifying your identity using a phone number or backup email address tied to your Microsoft account. Once verified, you can create a new password when ready and log in.
This method works only if you have internet access at the login screen and remember the email or phone number associated with your Microsoft account. If you do not have either, move to the next section.
Key Takeaways
- Microsoft account holders can reset passwords directly from the Windows login screen using a recovery email or phone number.
- Local account users need a password reset disk created beforehand, or must use Windows installation media to access recovery options.
- If you created a password hint when setting up your account, Windows displays it on the login screen to jog your memory.
- HP's built-in recovery tools do not bypass passwords; they reinstall Windows, which erases all files unless you back them up first.
- A second administrator account on the same laptop can reset the primary account's password without needing the original password.
Reset a local account password using a password reset disk
A password reset disk is a USB drive or external disk you create in advance, before you forget your password. If you made one previously, you can use it now to reset your local account password without losing any files.
Insert the reset disk into your HP laptop at the login screen. Click "Reset password" on the login screen (this option appears only if a reset disk is detected). Windows will launch a wizard that lets you create a new password. Once complete, you can log in with the new password and your files remain untouched.
If you never created a reset disk, you cannot use this method. Move to the next section for other options.
Use another administrator account to reset the forgotten password
If someone else set up an administrator account on your HP laptop before you forgot your password, that person can log in and reset your password without erasing anything. This works because administrator accounts have permission to change other account passwords.
Have the other administrator log in, then open Settings and go to Accounts > Other people. Find your account name and click "Reset password." They can set a temporary password that you change the next time you log in. No files are lost, and you regain access when ready.
This option works only if a second administrator account exists on the laptop. If you are the only account holder, skip to the next section.
Reset Windows using installation media (erases all files)
If none of the above options work, you can use Windows installation media to reset your HP laptop. This method wipes all files, programs, and settings from the drive, so use it only as a last resort and only if you have backed up your important files to an external drive or cloud storage.
You need a second computer to create the installation media. Go to Microsoft's Windows read page, select your Windows version (10 or 11), and read the Media Creation Tool. Follow the tool's instructions to write Windows to a USB drive. Insert that USB drive into your HP laptop, restart it, and boot from the USB (usually by pressing F2, F10, or Del during startup—check your HP model's manual for the exact key). Choose "Repair your computer," then "Reset this PC," and select "Remove everything." Windows will reinstall fresh, and you can create a new password during setup.
This erases all your files permanently. Do not use this method unless you have already copied everything you need to another device.
Check the login screen for your password hint
When you created your local account, Windows asked if you wanted to add a password hint—a phrase to remind you of your password if you forgot it. This hint appears on the login screen after you enter an incorrect password a few times.
Try entering a few guesses at your password. After the third or fourth wrong attempt, Windows displays your hint below the password field. The hint does not reveal your password, but it may trigger your memory. If it does, you can log in without resetting anything.
If you did not create a hint, or the hint does not help, this method will not work for you.
Prevent this from happening again: set up a recovery method now
Once you regain access to your HP laptop, take 10 minutes to set up a way to reset your password in the future without losing files. For Microsoft accounts, make sure your recovery email and phone number are current in your account settings. For local accounts, create a password reset disk by opening Control Panel, searching for "password reset disk," and following the wizard. Store the disk somewhere safe.
You can also add a second administrator account to your laptop. Go to Settings > Accounts > Other people and click "Add account." This gives you a backup way in if you forget the primary password. Neither of these steps takes more than a few minutes and can save hours of frustration later.
Frequently Asked Questions
Can I reset my HP laptop password without losing my files?
Yes, if you use a password reset disk, another administrator account, or your Microsoft account recovery method. Only the Windows reinstall method erases files. If you have no recovery option set up, you will lose everything on the drive.
What if I do not remember my Microsoft account email or password either?
Go to account.microsoft.com on another device and use the "Can't access your account" option. Microsoft will walk you through identity verification using a phone number, backup email, or security questions. Once you regain access to your Microsoft account, you can reset your laptop password from the login screen.
How long does it take to reset my password?
Using a Microsoft account or password reset disk takes a few minutes. Using another administrator account takes about five minutes. Reinstalling Windows takes 30 minutes to an hour, plus time to reinstall programs and restore files from backup.
Will resetting my password affect my programs or documents?
No, unless you use the Windows reinstall method. Password resets, recovery disks, and administrator resets all leave your programs and files untouched. Only a full Windows reinstall erases the drive.
What if I see a message that says my account is locked?
Account lockouts are temporary and usually lift after 30 minutes. Wait that time, then try logging in again. If the lockout persists, use one of the reset methods above. Do not restart your laptop repeatedly, as this can extend the lockout.