Windows installation media does not delete files by itself. Files are removed only if you choose a clean install, format a drive, or delete partitions during setup. Pick the wrong Setup path, and you can lose personal files, apps, and settings in minutes. This guide shows which Windows install options keep your data and which ones erase it.

Windows install decision table

This table separates the media from the choice inside Setup. The USB drive or DVD is only the delivery tool. The file outcome depends on whether you start Setup from inside Windows or boot from the media, and on which keep option or partition choice you pick next.

Path Keep choice Expected result for files, apps, and settings Risk level
Run setup.exe inside Windows Keep personal files and apps Personal files stay. Installed apps stay. Many settings stay, though some may reset. Low
Run setup.exe inside Windows Keep personal files only Personal files stay. Installed apps are removed. Many settings reset. Medium
Run setup.exe inside Windows Keep nothing Windows is reinstalled. Personal files, apps, and settings are removed. High
Boot from USB or open recovery media Clean install path Existing data on the selected device or partition is erased before Windows is installed again. High

📊 The media can be used to reinstall Windows 10 or Windows 11. Source: Microsoft.

Does Windows installation media delete files?

Does Windows installation media delete files?
Colorful USB flash drives lie scattered on a yellow surface

No, not by itself. Windows installation media can reinstall Windows 10 or Windows 11, but the file result comes from the path you choose in Setup. An in-place reinstall from inside Windows can keep personal files and apps, while a clean install from booted media can erase existing data on the device. (Microsoft Support)

What the media can do

Windows installation media can be a USB drive or a DVD. It can start an in-place reinstall from setup.exe in the root of the media, and it can also be used from Windows Recovery Environment when a device has software corruption or hardware failure.

What the setup choice decides

The media does not decide whether your files remain. The choice inside Setup does. Microsoft offers three keep options during reinstall: keep personal files and apps, keep personal files only, or keep nothing. A clean install goes further and erases existing data on the device.

Why the answer changes by install path

If you launch setup.exe while Windows is already running, Setup can replace system files while preserving user data based on the keep option you choose. If you boot from the USB or DVD, you are usually moving toward a clean install, where drive and partition choices matter much more.

What you'll need before reinstalling Windows

  • An external hard drive, USB flash drive, or OneDrive space for backups.
  • Windows installation media on USB or DVD.
  • Your Windows edition details, such as Windows Home, if you need to confirm the match.
  • A Microsoft account if your digital license is linked to it.
  • Time to confirm which drive and partition you are about to change.

Back up first. Copy your files to an external hard drive, USB flash drive, or OneDrive before you reinstall. That matters most if you are unsure whether you will choose an in-place reinstall or a clean install.

How do you launch the installer safely?

Run setup.exe from inside Windows if you want the in-place reinstall path. Boot from USB only when you intend a clean install or recovery path. Before you continue, confirm that the Windows edition matches the digital license, because edition mismatch can block activation later.

  1. Copy important files to an external hard drive, USB flash drive, or OneDrive.
  2. Open File Explorer, then open the root of the Windows media and run setup.exe if you want to keep data.
  3. Choose the keep option that matches your goal: personal files and apps, personal files only, or nothing.
  4. Use the bootable USB or DVD only if you plan to erase a drive or partition during Setup.
  5. Confirm the Windows edition before you click Install.

Suppose a Windows 11 laptop needs a reinstall after corrupted system files, but the owner still needs a tax folder on C:\Users. Running setup.exe inside Windows and choosing the keep option is the safer path. Booting from USB and starting a clean install would put that folder at risk.

What do the keep options mean?

What do the keep options mean?
Windows 11 setup screen shows options for what to keep

The three options control how much of the current install stays. Keep personal files and apps is the least disruptive. Keep personal files only saves documents and other user files, but removes installed apps. Keep nothing removes personal files, apps, and settings.

Keep personal files and apps

This is the closest to a repair reinstall. Your personal files stay, and installed apps stay too. Choose it when Windows is damaged but the rest of the setup still looks sound.

Keep personal files only

This keeps your files but removes installed desktop apps. Use it when you want a cleaner Windows install without losing documents, photos, and similar user data.

Keep nothing

This wipes the current Windows setup from the install path and starts over. Use it when you want a fresh system and have already backed up what you need.

What happens if you boot from Windows installation USB?

What happens if you boot from Windows installation USB?
A USB drive is plugged into a laptop beside the keyboard

Booting from the installation USB usually points to a clean install rather than an in-place upgrade. That means the installer can erase existing data on the selected drive or partition. The USB does not erase anything on its own; your partition choice is what turns the process destructive.

How partition choices affect data loss

During clean install setup, the dangerous moment is selecting, formatting, or deleting the wrong partition. If you remove the partition that holds Windows and personal files, those files are gone unless you backed them up earlier.

Why backups matter before you click Install

Backups protect you from the two common failure cases: accidental clean install and wrong partition selection. If the drive order on the screen looks unfamiliar, stop and verify which disk is internal and which is removable before proceeding.

A common mistake is assuming that booting from a Windows installation USB will repair the system without affecting any files on the drive. It may do that, but it may also erase the target drive if you continue through the clean install path. Treat every screen after boot as a data-loss checkpoint.

Windows install media and your USB files

Yes, creating Windows installation media can delete files on the selected USB drive. The media tool formats the selected USB drive while preparing the installer. Files on other drives are separate, though, so your internal disk is not erased just because you created a bootable USB.

  1. Use a USB drive you can erase, not one with files you still need.
  2. If you need that USB’s contents, move them somewhere else first.
  3. Use a different USB drive for the installer if you want to preserve the first one.
  4. After creation, label the installer clearly so you do not confuse it with a data drive.

Common mistakes

Choosing Keep my files and expecting installed apps to remain is a common mistake. That option is not the same as “keep apps.” Another mistake is treating Cloud download like a file-preservation setting; it only changes where Windows setup files come from.

Skipping the backup is the biggest risk. Microsoft recommends an external hard drive, a USB flash drive, or OneDrive before reinstalling. Another avoidable error is selecting the wrong Windows edition for the digital license. Windows Home, for example, must match the license.

Say your PC has Windows 10 Home and you need to reinstall after a failed update. If you boot from the installer and pick the wrong partition, the existing files can disappear even though the media itself did nothing on its own. The edition still has to match the digital license for activation later.

Reinstall, reset, or repair startup?

These are different tools. Reinstalling Windows uses installation media and can be in-place or clean. Reset this PC is a separate recovery path that can keep files or remove everything. Startup repair is for boot problems, not a normal reinstall path.

  1. Use setup.exe from the media inside Windows for an in-place reinstall.
  2. Use Reset this PC if you want a built-in recovery route instead of media. Microsoft guidance described by Windows Central notes the keep files and remove everything choices.
  3. Use startup repair only when Windows will not boot and you are trying to restore startup files.

Backup and activation prerequisites

Before reinstalling, copy important data to an external hard drive, USB flash drive, or OneDrive. After reinstall, Windows must be activated, and it usually activates automatically after going online. A digital license can be linked to a Microsoft account.

The Windows edition you reinstall must match the digital license. Microsoft gives Windows Home as the example of a required match. If you reinstall the wrong edition, activation may fail until the edition lines up with the license.

Keep reading

Frequently asked questions

Does Windows installation media delete files on USB?

Yes, if you are creating the installer on that USB drive. The media creation process can format the selected USB drive, which removes its contents. Use a spare drive or copy the files elsewhere first if you need to keep what is already on it.

Does reinstalling Windows delete files?

Not always. Running setup.exe from inside Windows can keep personal files, and in some cases apps too. Booting from USB and choosing a clean install can erase existing data on the selected drive or partition, so the path matters more than the media.

Will reinstalling Windows keep my personal files?

It can. Choose the in-place reinstall path from inside Windows and select Keep personal files and apps or Keep personal files only. A clean install from booted media is different and can remove existing data, so back up first either way.

What is the difference between keep personal files and keep nothing?

Keep personal files preserves user files but removes installed apps. Keep nothing removes files, apps, and settings from the current install path. If you need anything from the machine after setup, save it first to an external drive or OneDrive.

Should I back up before reinstalling Windows?

Yes. Microsoft recommends backing up to an external hard drive, USB flash drive, or OneDrive before you reinstall. That is the safest step whether you plan an in-place reinstall, a recovery install, or a full clean install from USB or DVD.