sodcalculator

10 Tech How-To

Factory Reset HP Laptop Without Password: 2 Ways

Guide 10-42834 · Updated · Step by step

Forgetting your Windows password can lock you out of your HP laptop, but a factory reset lets you wipe the drive and restore the system to its original state, removing the password in the process. This guide covers the two most reliable methods: using the built-in Windows Recovery Environment (WinRE) and using HP’s own recovery partition. Both erase your files, so back up anything you need beforehand if possible.

What You’ll Need

  • Your HP laptop (plugged into AC power)
  • A separate computer with internet access (for creating a recovery drive, optional)
  • A USB flash drive with at least 16GB of space (only for the second method)
  • Your HP laptop’s model name or serial number (printed on the bottom label)

Step-by-Step

Method 1: Reset via Windows Recovery Environment (WinRE)

This method works on most HP laptops running Windows 10 or 11. It uses the recovery tools built into Windows itself.

  1. Force a restart into recovery. With the laptop completely off, press and hold the Power button for about 10 seconds until it turns on, then immediately release it. As soon as the HP logo appears, press and hold the Power button again for 10 seconds to force it off. Repeat this process three times. On the fourth boot, Windows should display “Preparing Automatic Repair.”
  2. Open Advanced Options. After Windows loads the recovery screen, click Advanced Options.
  3. Choose Troubleshoot. On the blue “Choose an option” screen, click Troubleshoot.
  4. Select Reset this PC. Click Reset this PC from the Troubleshoot menu.
  5. Choose “Remove everything.” When asked “Choose an option,” select Remove everything. This deletes all files, apps, and settings, including the password.
  6. Select “Local reinstall” or “Cloud download.” Windows will ask how you want to reinstall Windows. Local reinstall uses files already on your laptop and works offline. Cloud download fetches fresh Windows files from Microsoft’s servers (requires internet, but is more reliable if system files are corrupt).
  7. Confirm the reset. Review the warning that this will remove all personal files, then click Reset. The laptop will restart and begin the process. It can take 30 minutes to a few hours. The laptop will reboot several times; do not interrupt it.
  8. Complete Windows setup. When the reset finishes, Windows will boot to the “out-of-box experience” (OOBE) screen. Here you can create a new user account and set a new password.

Method 2: Reset Using HP Recovery Manager (F11)

This method uses HP’s own recovery partition, which is preinstalled on most HP laptops. It restores the exact factory image that shipped with the laptop.

  1. Turn off the laptop. Ensure it is completely shut down.
  2. Press F11 repeatedly. Press the Power button to turn it on, and immediately start tapping the F11 key every second. Keep tapping until the HP Recovery Manager screen appears. If Windows loads instead, you missed the window – repeat from step 1.
  3. Choose “Troubleshoot.” In the HP Recovery Manager, click Troubleshoot.
  4. Select “Reset your PC.” Click Reset your PC from the menu.
  5. Choose “Remove everything.” Select Remove everything to wipe the drive completely.
  6. Pick “Just remove my files” or “Fully clean the drive.” The first is faster; the second takes longer but makes data harder to recover. For most users, “Just remove my files” is sufficient.
  7. Click Reset. Confirm the warning and click Reset. The process will start, and the laptop will restart several times. This restores the original HP image, including any preinstalled HP software.
  8. Set up Windows. Once done, the laptop will boot to the initial setup screen. Create a new user and password.

Common Mistakes

  • Interrupting the reset. Letting the battery die or pressing keys during the reset can corrupt the process, leaving the laptop in a non-bootable state.
  • Choosing “Keep my files” when you’re locked out. This option still requires your current password to proceed, so it won’t help you bypass the lock.
  • Not backing up. Both methods erase everything. If you have files you need, you must back them up before resetting, which is impossible if you’re locked out – so consider using a Linux live USB to copy files first.
  • Using the wrong F-key timing. Tapping F11 too early or too late will boot into Windows normally. You must start tapping immediately after pressing Power.
  • Ignoring the “Cloud download” internet requirement. If you choose Cloud download without a stable connection, the reset may fail partway through.

Tips

  • Plug in the charger. A factory reset is power-hungry and can take over an hour. A dead battery mid-reset can brick the laptop.
  • Use the HP Recovery Manager first. It restores the exact factory state, including drivers and HP utilities, which can save you from manually reinstalling drivers later.
  • Create a recovery USB as a fallback. If the recovery partition is missing or corrupted, you can use another computer to download the Windows Media Creation Tool and create a bootable USB. Then boot from it and choose “Repair your computer” > “Troubleshoot” > “Reset this PC.”
  • Write down your new password. After the reset, store your new password somewhere safe, or use a password manager.
  • Check if your laptop has a “Reset” hole. Some older HP models have a small pinhole on the bottom or side. Inserting a paperclip into it for 5 seconds forces a factory reset, but this is rare and model-specific.

Troubleshooting

  • F11 doesn’t open Recovery Manager. Try pressing Esc first to open the Startup Menu, then press F11 from there. If that fails, your recovery partition may be deleted – use Method 1 or a USB recovery drive.
  • “Preparing Automatic Repair” never appears. This usually means WinRE is disabled or corrupted. Try booting from a Windows installation USB instead: change the boot order in BIOS (press F10 at startup) to boot from the USB, then choose “Repair your computer.”
  • Reset fails with an error. Note the error code. Common ones like “0x80070005” indicate permission issues. Try the other method, or reset from a USB drive.
  • The laptop boots to a black screen after reset. Force a shutdown by holding the Power button for 10 seconds, then turn it back on. If it still hangs, repeat the F11 method – the recovery partition may still be intact.
  • “Remove everything” is greyed out. This happens when the laptop can’t find the recovery partition. Use the Cloud download option instead, or create a USB recovery drive on another PC.
  • You see “Choose an option” but no “Reset this PC.” This means the recovery environment is incomplete. Use a Windows installation USB and select “Repair your computer” > “Troubleshoot” > “Reset this PC” from there.

Frequently Asked Questions

Will a factory reset remove the BIOS password?

No. A factory reset only removes the Windows user password. A BIOS or HP Security password (which appears before Windows loads) is stored separately and cannot be removed by a system reset. You would need to clear the CMOS or contact HP support.

Can I recover files after a factory reset?

If you chose “Just remove my files,” some data may be recoverable with specialized software, but it’s not guaranteed. If you chose “Fully clean the drive,” recovery is virtually impossible. Always back up before resetting if you can.

How long does the reset take?

Typically 30 minutes to 2 hours, depending on the method (Local vs. Cloud) and your hard drive speed. SSDs are faster than HDDs. The laptop will restart multiple times – this is normal.

Do I need a Microsoft account to set up Windows after reset?

No. During setup, you can choose “Offline account” or “Domain join instead” to create a local account with a password you set. For Windows 11 Home, you may need to disconnect from the internet temporarily to see this option.

What if my HP laptop came with Windows 8 and I upgraded to Windows 10?

Method 2 (F11) will restore Windows 8 as it was originally shipped. Method 1 (WinRE) will restore the current Windows version (10 or 11). Choose based on which operating system you want to return to.

Is it legal to factory reset a laptop I don’t own?

Only reset a laptop you own or have explicit permission to reset. Resetting someone else’s device without consent may be illegal and could destroy their data. If you bought a used laptop that’s still linked to the previous owner, contact them or HP support first.

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 →