Reinstalling Windows will delete your files unless you choose the right installation method

A standard Windows reinstall — the kind most people do — will erase everything on your C: drive, including your documents, photos, downloads, and desktop files. Windows needs a clean slate to install properly, so it wipes the drive first. However, you have options that can preserve your files, and understanding which path you're taking before you start is the difference between losing everything and keeping what matters.

The outcome depends entirely on which reinstall method you choose and where your files are stored. If your files live on a separate drive or partition, they will survive any Windows reinstall. If they're on the same drive as Windows, they will be deleted unless you back them up first or use a method specifically designed to keep them.

Key Takeaways

  • A clean Windows install deletes all files on the C: drive, including documents, photos, and programs, so you must back up first if those files matter to you.
  • Files stored on a different physical drive or partition will not be affected by a Windows reinstall on the C: drive.
  • The "Keep my files" option during a Windows 10 or 11 reset will preserve your documents and photos but removes all programs and settings.
  • Before you start any reinstall, move important files to an external drive, cloud storage, or a different internal drive to may provide they survive.
  • If you have already reinstalled and lost files, recovery software may retrieve them if you have not written new data to that drive.

What a clean Windows install actually removes

When you perform a clean install of Windows — downloading the installer from Microsoft, creating a bootable USB drive, and starting the installation fresh — the setup process formats your C: drive. Formatting erases the file system that Windows uses to track where files are stored, which effectively deletes everything Windows can see on that drive.

This includes your user folder (Documents, Downloads, Desktop, Pictures), all installed programs, your browser history and saved passwords, email accounts, and any settings you customized. Windows itself is new, so you are starting from zero. The only files that survive are those physically located on a different drive — a second hard drive, an external USB drive, or a separate partition on the same physical disk.

Many people assume their files are safe because they are not thinking about the physical location. A file on your D: drive is safe. A file in a folder on your C: drive is not, even if that folder has a different name. The drive letter is what matters.

The "Keep my files" reset option in Windows 10 and 11

Windows 10 and Windows 11 include a built-in reset feature that offers a middle ground. You can access it by opening Settings, navigating to System, and selecting Recovery. The "Reset this PC" button gives you two choices: "Keep my files" or "Remove everything."

If you choose "Keep my files," Windows will preserve your documents, photos, music, and videos — the contents of your user folder. It will remove all programs, all settings, and all user accounts except the one you are currently logged into. Your desktop will be empty, your browser will have no history, and you will need to reinstall every program you use. But your actual files remain.

This method is slower than a clean install and sometimes leaves behind corrupted system files that caused the problem in the first place. If Windows is severely broken, a clean install is often more reliable. But if you need to preserve files and do not want to back them up manually, this is the path to take.

How to protect your files before reinstalling

The safest approach is to back up your files before you touch anything. You have three practical options: an external hard drive or USB stick, cloud storage like OneDrive or Google Drive, or a second internal drive if your computer has one.

For an external drive, plug it in, open File Explorer, and copy your entire user folder (usually C:\Users\YourName) to the external drive. This takes time if you have a lot of files, but it is straightforward. For cloud storage, you can upload files manually or set up automatic syncing so files upload as you work — this is slower for large files but happens in the background.

If you have a second internal drive, moving files there is the fastest option because the transfer happens at full disk speed. Open File Explorer, right-click the files you want to move, select "Cut," navigate to the other drive, and paste. The files are now safe from any Windows reinstall on your C: drive.

Files in cloud storage and email accounts

Files stored in OneDrive, Google Drive, Dropbox, or similar services are not on your computer at all — they live on a company's server. A Windows reinstall cannot touch them. You can reinstall Windows and your cloud files will be exactly where you left them.

The same is true for email. Your Gmail, Outlook, or other email accounts are on the provider's server. Reinstalling Windows will not delete your emails or attachments stored in the cloud. However, if you have downloaded email attachments to your computer and saved them in your Documents folder, those local copies will be deleted in a clean install.

If you rely on cloud storage, make sure you know which files are actually stored locally versus synced from the cloud. OneDrive and Google Drive show you this — files with a checkmark are downloaded to your computer, while files with a cloud icon are online only. Before reinstalling, check which files are local and back them up if they matter.

What to do if you already lost files during a reinstall

If you have already reinstalled Windows and realized your files are gone, recovery is possible but not may provide. When a drive is formatted, Windows marks the space as empty but does not actually overwrite the file data immediately. Recovery software like Recuva (free), EaseUS Data Recovery Wizard, or similar tools can scan the drive and reconstruct files from the remaining data.

The critical step is to stop using the computer immediately. Every file you create, every program you install, and every update Windows downloads overwrites the space where your old files lived. The longer you wait and the more you use the drive, the less recoverable your files become.

Plug in an external drive, download recovery software on a different computer, and run it on your reinstalled drive. It will take hours to scan, but it often finds files that appear deleted. Success depends on how much new data has been written since the format and how fragmented your files were before deletion.

Frequently Asked Questions

Will reinstalling Windows delete files on my D: drive or external hard drive?

No. Windows only formats the drive where you are installing it, typically C:. Any files on a different physical drive or external device are completely untouched. You can safely reinstall Windows on C: without worrying about files elsewhere.

If I use "Keep my files" during a reset, will my programs still work?

No. The "Keep my files" option removes all programs. You will need to reinstall everything you use. Your files remain, but the programs that opened them are gone, so you will need to download and install them again from their original sources.

Can I recover files after a clean install if I did not back them up?

Maybe. Recovery software can sometimes reconstruct files from a formatted drive, but success is not may provide and depends on how much new data has been written since the format. The sooner you attempt recovery and the less you use the drive afterward, the better your chances.

What if my files are in OneDrive — are they safe during a Windows reinstall?

Yes. Files stored in OneDrive, Google Drive, or any cloud service live on the provider's servers, not on your computer. A Windows reinstall cannot delete them. You can access them again after reinstalling by signing into your account.

Should I back up files to the same drive I am reinstalling?

No. If you are doing a clean install, the entire drive will be formatted, including any backup folder you created. Back up to an external drive, a different internal drive, or cloud storage — anywhere except the drive you are about to reinstall.