How to reset an HP laptop when you forgot the login password

If you cannot sign in to your HP laptop, you can reset the Windows password from the lock screen or reinstall Windows to get back in. This guide suits Windows 10 and 11 users who have their own device and can reach a recovery screen. You will need another device with internet access for the Microsoft account route.

YouTube video: HP Laptop: How to Reset if You Forgot the Password to Login

Caption availability is unknown. Check the CC control in the YouTube player.

Video length
3 min 14 s
Time to do it
20 minutes
Difficulty
Medium
Steps
8

What you need

Steps

  1. On the Windows sign-in screen, type anything in the password box and press Enter. A message should appear saying the password is incorrect, with an option to reset it.

  2. Click the reset link under the password box. Windows will ask how you want to verify your identity, such as a code sent to your phone or email.

  3. Enter the code you receive, then set a new password. Sign in with it to check it works before doing anything else.

  4. If no reset link appears, sign in to your Microsoft account on another device at account.microsoft.com and choose the password change option there.

  5. If you use a local account with no reset option, restart the laptop and hold Shift while clicking Restart to open the recovery menu.

  6. Choose Troubleshoot, then Reset this PC. Pick Keep my files to reinstall Windows and keep your documents, or Remove everything for a clean factory reset.

  7. Follow the on-screen prompts and let the laptop restart. Do not close the lid or unplug it during the reset.

  8. When Windows finishes, set up your account and sign in. Reinstall any apps you need from the Microsoft Store or their websites.

Tips and common mistakes

A full reset can take an hour or more, so plug the laptop into power first.

Keep my files still removes installed programs, so note down any apps you rely on.

If you bought the laptop second hand, ask the seller for the Microsoft account details before resetting.

Questions

Will I lose my files when I reset the laptop?

Choosing Keep my files keeps your personal documents but removes apps and settings. Remove everything wipes the drive completely.

Can I reset without a Microsoft account?

Yes. Use the Shift and Restart method to reach the recovery menu, then choose Reset this PC.

What if the reset option does not appear?

Your Windows install may be damaged. Use a Windows installation USB drive to repair or reinstall the system.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Computers & Phones

See all