sodcalculator

10 Tech How-To

Restore HP Laptop to Factory Settings Without Password

Guide 10-47498 · Updated · Step by step

If you’re locked out of your HP laptop because you forgot the Windows password, a factory reset can get you back to a usable system. This guide walks you through the built-in recovery options that don’t require you to log into Windows. You’ll erase all personal files, settings, and apps, returning the laptop to its original out-of-box state. Before you start, back up any files you need from another computer if possible, and ensure the laptop is plugged into a power source.

What You’ll Need

  • Your HP laptop (plugged into AC power)
  • Access to the recovery partition (most HP laptops have this)
  • Patience — the process can take 30–60 minutes

Step-by-Step

  1. Power off the laptop. Hold the power button for about 10 seconds until it shuts down completely.
  2. Turn it on and immediately press the F11 key repeatedly (about once per second) until the “Choose an option” screen appears. If F11 doesn’t work, try Esc then F11, or F12 (on some models).
  3. On the “Choose an option” screen, click Troubleshoot.
  4. Click Reset this PC.
  5. Choose Remove everything. (If you don’t see this option, select “Reset this PC” and then “Remove everything”.)
  6. If prompted, choose Only the drive where Windows is installed (usually C:).
  7. Click Just remove my files (or “Fully clean the drive” if you plan to sell or recycle the laptop — this takes longer).
  8. Click Reset. The laptop will restart and begin the reset process. It may restart several times and show a progress percentage.
  9. Once done, the laptop will boot to the Windows setup screen. Follow the on-screen prompts to create a new user account and set a new password (or leave it blank).

If the above doesn’t work because your HP laptop uses a different recovery method, try this alternative:

  1. Turn off the laptop.
  2. Press and hold the Volume Up button (or Esc on some models) while pressing the power button.
  3. Continue holding Volume Up until the HP Recovery Manager screen appears.
  4. Select System Recovery and follow the prompts. This will restore the factory image.

Common Mistakes

  • Not pressing F11 early enough. You must press it right after the power button, before the Windows logo appears. If you miss it, wait for the login screen, then restart and try again.
  • Choosing “Keep my files” when you actually want a full factory reset. That option keeps files but may still require your password.
  • Interrupting the process. Do not unplug the laptop or force shutdown during the reset. This can corrupt the system.
  • Forgetting to back up. The reset wipes everything on the drive. If you have important files, back them up first.

Tips

  • If you can access Windows but forgot the password, try the Shift + Restart method: on the login screen, hold Shift and click the power icon, then Restart. This leads to the same “Choose an option” screen.
  • If your HP laptop has a BIOS administrator password, you may need to clear it first (see Troubleshooting).
  • After the reset, update Windows and install drivers from HP’s support site to ensure everything works.
  • Consider creating a recovery USB drive after resetting for future emergencies.

Troubleshooting

F11 doesn’t open the recovery screen. Try the alternative method with Volume Up or Esc. If that fails, your recovery partition may be damaged or missing. In that case, you’ll need a Windows installation USB or HP recovery media. You can create one on another computer using Microsoft’s Media Creation Tool (for Windows 10/11) or order recovery media from HP.

The reset gets stuck at a percentage. Wait at least 2 hours before assuming it’s frozen. If it’s truly stuck, force shutdown, then restart and try again. If it fails repeatedly, you may need to reinstall Windows from a USB drive.

You see a “BitLocker recovery key” prompt. If your drive was encrypted, you’ll need the recovery key (usually saved to your Microsoft account). Without it, the reset cannot proceed. You can try to find the key at account.microsoft.com/devices/recoverykey.

The laptop asks for a “BIOS password” at startup. This is a separate password set in the firmware. If you don’t know it, you may need to contact HP support or remove the CMOS battery (on some models) to clear it. This is a hardware-level step and not recommended unless you’re comfortable.

Frequently Asked Questions

Will this remove the Windows password? Yes, after the reset, the laptop will be like new and you’ll create a fresh user account without the old password.

Do I need a product key for Windows? No, the recovery process uses the embedded product key in the BIOS, so Windows will activate automatically.

Can I recover files after the reset? If you chose “Just remove my files,” the data is likely unrecoverable with simple tools. If you chose “Fully clean the drive,” it’s nearly impossible. Always back up first.

How long does the reset take? Typically 30–60 minutes, but it can be longer depending on the drive size and whether you choose the “clean” option.

What if I don’t have a recovery partition? Some HP laptops don’t include one, especially if the drive was replaced. In that case, use a Windows installation USB and choose “Reset this PC” from the installer, or perform a clean install.

Will this remove viruses? Yes, a factory reset removes all software, including malware, as long as the recovery partition itself isn’t compromised.

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

The whole Tech How-To bed →