Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To reinstall Windows from a USB on an HP laptop while keeping files, start Windows, open the USB in File Explorer, and run setup.exe. In Windows Setup, choose Keep personal files and apps or Keep personal files only. Do not boot the laptop from the USB for this method: booting from installation media starts a clean-install workflow that removes personal files.

Choose the right reinstall path before you begin

The key question is whether Windows still starts. If it does, running setup.exe from within Windows can offer options to preserve files. If you boot the HP laptop from the USB, you enter the clean-install path, which removes personal files, apps, settings, and device-manufacturer customizations. Microsoft describes these distinctions in its Windows installation-media guidance; HP documents the in-Windows setup method in its Windows 11 USB installation instructions.

Path What it preserves When it fits
Run USB setup.exe inside Windows; choose Keep personal files and apps Personal data, apps, and settings Windows starts and you want an in-place reinstall
Run USB setup.exe inside Windows; choose Keep personal files only Personal files; apps are removed Windows starts and removing apps is acceptable
Boot from USB for a clean installation Does not preserve personal files, apps, settings, or OEM customizations A fresh start after you have backed up or recovered needed files
Use another Windows recovery option Effects vary by option The issue may be addressed by troubleshooting, uninstalling an update, System Restore, or a supported Windows Update reinstall

If Windows will not start, the file-preserving setup.exe route may not be available. Prioritize backing up or recovering important files before considering a clean install.

Prepare the laptop and installation USB

  • Back up important files somewhere separate. Microsoft recommends backing up before reinstalling and lists an external hard drive, USB flash drive, or cloud location as possible destinations. The Windows installer USB is not a backup; recovery media does not include your personal files. See Microsoft’s Windows recovery options.
  • Check your Windows edition. The edition you reinstall must match the license on the laptop. Windows usually activates automatically after the laptop connects to the internet; a significant hardware change can affect activation.
  • Find your BitLocker recovery key if encryption is enabled. HP warns that Setup may ask for it.
  • Use a blank USB drive to create the installer. HP’s Windows 11 USB guidance specifies a blank drive of 32 GB or larger. This is HP’s stated preparation guidance for that workflow, not a universal capacity requirement for every Windows version or HP model. The media-creation process uses the drive, so move any files you need off it first and follow the current media tool’s on-screen requirements.
  • Consider a narrower repair first. If Windows remains usable, troubleshooting, uninstalling a recent update, System Restore, or Windows Update reinstall where supported may address the issue without a USB reinstall.

Reinstall Windows from USB while keeping files

  1. Start the HP laptop and sign in to Windows.
  2. Insert the Windows installation USB.
  3. Open the USB drive in File Explorer and run setup.exe from its root folder. Approve the User Account Control prompt if one appears.
  4. Continue through Windows Setup until you reach Choose what to keep. Select Keep personal files and apps to retain personal data, apps, and settings, or Keep personal files only if you are willing to remove apps. Do not choose Keep nothing if you need the files on the laptop to remain.
  5. Review the summary before selecting Install. Keep the laptop connected to power and let it restart as needed; HP notes that the computer restarts several times during installation.
  6. After Setup finishes, connect to the internet, check Windows activation, and update HP drivers, apps, and software as appropriate.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

If Windows will not start

You cannot use the in-Windows setup.exe method if Windows does not boot. Starting the laptop from installation media leads to a clean install, which removes data. Do not assume files will survive that route. If the files matter, pursue a separate backup or recovery option first; for important data or uncertainty about the laptop’s condition, seek model-specific support before installing.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

SaleBestseller No. 1
Microsoft Windows 11 (USB)
Microsoft Windows 11 (USB)
Make the most of your screen space with snap layouts, desktops, and seamless redocking.; FPP is boxed product that ships with USB for installation
$128.99
Bestseller No. 2
Microsoft Windows 11 PRO (Ingles) FPP 64-BIT ENG INTL USB Flash Drive
Microsoft Windows 11 PRO (Ingles) FPP 64-BIT ENG INTL USB Flash Drive
MICROSOFT WINDOWS 11 PRO (INGLES) FPP 64-BIT ENG INTL USB FLASH DRIVE
Bestseller No. 3
Rank #3
Microsoft System Builder | Windоws 11 Home | Intended use for new systems | Install on a new PC | Branded by Microsoft
  • STREAMLINED & INTUITIVE UI, DVD FORMAT | Intelligent desktop | Personalize your experience for simpler efficiency | Powerful security built-in and enabled.
  • OEM IS TO BE INSTALLED ON A NEW PC with no prior version of Windows installed and cannot be transferred to another machine.
  • OEM DOES NOT PROVIDE SUPPORT | To acquire product with Microsoft support, obtain the full packaged “Retail” version.
  • PRODUCT SHIPS IN PLAIN ENVELOPE | Activation key is located under scratch-off area on label.
  • GENUINE WINDOWS SOFTWARE IS BRANDED BY MIRCOSOFT ONLY.
Rank #2
Microsoft Windows 11 PRO (Ingles) FPP 64-BIT ENG INTL USB Flash Drive
  • MICROSOFT WINDOWS 11 PRO (INGLES) FPP 64-BIT ENG INTL USB FLASH DRIVE
#1 Best Overall
Sale
Microsoft Windows 11 (USB)
  • Less chaos, more calm. The refreshed design of Windows 11 enables you to do what you want effortlessly.
  • Biometric logins. Encrypted authentication. And, of course, advanced antivirus defenses. Everything you need, plus more, to protect you against the latest cyberthreats.
  • Make the most of your screen space with snap layouts, desktops, and seamless redocking.
  • Widgets makes staying up-to-date with the content you love and the news you care about, simple.
  • Stay in touch with friends and family with Microsoft Teams, which can be seamlessly integrated into your taskbar. (1)

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.