What a factory reset does and when you need one

A factory reset erases everything on your HP laptop — all files, programs, and settings — and reinstalls the original operating system that came with the machine. This is different from a regular restart. After a factory reset, your laptop looks and works like it did the day you took it out of the box.

You might reset your laptop if it runs slowly, has persistent software problems, or you're selling it and want to remove your personal data. A reset also removes malware that regular antivirus scans miss. The trade-off is that you lose everything that isn't backed up elsewhere, so this step requires planning.

HP laptops running Windows have two main reset paths: a soft reset that keeps your files, and a full reset that removes them. This guide covers both, plus what to do if your laptop won't start.

Key Takeaways

  • Windows includes a built-in reset tool that works on most HP laptops without needing external discs or USB drives.
  • A "Keep my files" reset removes programs and settings but saves your documents, photos, and music — this is the safer starting point.
  • A full reset removes everything and takes 30 minutes to an hour, so back up your files to an external drive or cloud storage first.
  • If your laptop won't start, you can reset it from the Windows login screen or using a recovery USB drive created on another computer.
  • After reset, Windows will ask you to sign in with a Microsoft account and reinstall programs you need.

Reset from Windows settings (the easiest method)

If your HP laptop starts and you can reach the Windows desktop, use the built-in reset tool. This method works on Windows 10 and Windows 11.

Open the Start menu and type "reset this pc" into the search box. Click the result labeled "Reset this PC" — it's in the Settings app. You'll see two options: "Keep my files" and "Remove everything." Choose "Keep my files" if you want to save documents and photos but remove programs and settings. Choose "Remove everything" only after backing up your files elsewhere.

Click your choice. Windows will show you what will happen and ask you to confirm. The reset then runs automatically, usually taking 20 to 45 minutes. Your laptop will restart several times. Don't turn it off or unplug it during this process.

When the reset finishes, Windows will ask you to sign in with a Microsoft account or a local account. You'll then see a clean desktop. Any programs you had installed (like Microsoft Office, Chrome, or Zoom) are gone and must be reinstalled from their websites or the Microsoft Store.

Full reset when you're selling or giving away the laptop

If you're passing the laptop to someone else or selling it, use "Remove everything" instead of "Keep my files." This erases your personal data so thoroughly that recovery tools can't retrieve it.

Before you start, back up anything you want to keep. Connect an external hard drive or USB drive to your laptop, or upload files to cloud storage like OneDrive, Google Drive, or Dropbox. Copy over documents, photos, videos, and anything else you need. This step is not optional — once you choose "Remove everything," those files are gone.

Then follow the same steps: Start menu, search "reset this pc," click "Reset this PC," and choose "Remove everything." Windows will ask whether you want to remove files securely or quickly. "Remove files securely" takes longer but makes recovery harder — choose this if the laptop contained sensitive information. "Quick remove" is faster and fine for most situations.

The reset will take 45 minutes to over an hour. When it finishes, the laptop will show the Windows setup screen, ready for the next owner to create their account.

Reset from the login screen if Windows won't load

If your HP laptop starts but gets stuck before reaching the desktop — showing error messages, a spinning wheel that never stops, or a black screen — you can still reset it from the login screen.

Restart the laptop. As soon as you see the login screen (where you normally type your password), look for a power icon in the bottom right corner. Click it, then hold Shift and click "Restart." The laptop will boot into a recovery menu with a blue background.

Click "Troubleshoot," then "Reset this PC." From here, the process is the same as resetting from Settings: choose "Keep my files" or "Remove everything," confirm, and wait for the reset to finish. This method works even if Windows is too damaged to reach the normal Settings app.

Create a recovery USB drive if the laptop won't start at all

If your HP laptop won't turn on, won't show any screen, or gets stuck before the login screen appears, you'll need a recovery USB drive. You must create this on a different computer.

On another Windows computer, plug in a blank USB drive (at least 8 GB). Open the Start menu, search for "recovery drive," and click "Create a recovery drive." Windows will walk you through the process. Check the box for "Back up system files to the recovery drive" — this adds the files needed to reset your HP laptop. The process takes 15 to 30 minutes.

When it finishes, unplug the USB drive and plug it into your HP laptop. Turn on the HP laptop and immediately press F11 or Esc repeatedly (before Windows tries to load). This boots from the USB drive instead of the hard drive. You'll see the recovery menu. Click "Troubleshoot," then "Reset this PC," and choose your reset type.

If pressing F11 or Esc doesn't work, restart the laptop and try pressing F2, F10, or Del instead — the exact key varies by HP model. If you're unsure, look up your specific model number online with "recovery key" to find the right button.

What to expect after the reset is complete

After your HP laptop finishes resetting, it will restart and show the Windows setup screen. You'll need to sign in with a Microsoft account (your Outlook, Hotmail, or Gmail address linked to Microsoft) or create a local account with just a username and password. A Microsoft account is easier because it syncs your settings across devices, but either works.

Windows will then download and install updates, which can take 10 to 20 minutes. Your laptop may restart again during this time. Let it finish — don't turn it off.

Once setup is done, you'll have a clean desktop with only the programs that came with Windows (like Notepad, Calculator, and Edge). Any programs you had before — Chrome, Zoom, Office, Photoshop, or anything else — must be reinstalled. If you kept your files, they'll be in your Documents, Pictures, or Downloads folders, but the programs that opened them are gone.

If you backed up files to OneDrive or another cloud service before the reset, you can sign in and download them back. If you used an external drive, plug it in and copy your files back to the laptop.

Troubleshooting if the reset gets stuck or fails

If the reset starts but stops partway through, or if you see an error message, the most common fix is to restart and try again. Unplug any USB drives, external hard drives, or other devices (except the power cable), then restart the laptop and begin the reset process from the beginning.

If the reset fails repeatedly with the same error, your hard drive may be failing. In that case, you'll need to take the laptop to an HP service center or a local repair shop. They can replace the drive and reinstall Windows.

If you're stuck at the recovery menu and can't proceed, make sure you're using the correct recovery USB drive for Windows (not a Mac or Linux drive). If you created the drive on a Mac, it won't work on an HP Windows laptop. You'll need to create a new one on a Windows computer.

Frequently Asked Questions

Will a factory reset remove viruses and malware?

Yes, a full factory reset removes most malware because it erases the entire hard drive and reinstalls Windows from scratch. However, some advanced malware can hide in the BIOS (the firmware that runs before Windows loads). If your laptop gets infected again immediately after reset, the malware may be in the BIOS, and you'll need professional help to remove it.

Can I undo a factory reset after it's done?

No. Once a reset finishes, the files are gone permanently. This is why backing up before you reset is critical. If you accidentally reset and need your files back, a data recovery service might retrieve some of them, but it's expensive and not may provide to work.

How long does a factory reset take?

A "Keep my files" reset usually takes 20 to 45 minutes. A full "Remove everything" reset takes 45 minutes to over an hour. The exact time depends on how much data is on your laptop and how fast your hard drive is. Don't interrupt the process — let it run to completion even if it seems stuck.

Do I need the Windows installation disc or product key?

No. HP laptops come with Windows already installed, and the reset tool uses the copy that's already on your hard drive. You don't need a disc or a product key. If you're resetting a very old HP laptop (before 2015), you might need a recovery disc, but modern laptops don't require one.

What if I forget my password and can't log in to reset?

If you're locked out of your account, restart the laptop and use the login screen recovery method: hold Shift and click the power icon, then restart. This takes you to the recovery menu without needing your password. From there, you can reset the laptop.