Blog / Operating systems & apps /

Reinstalling an operating system without losing files

At some point a computer gets slow, strange or just fed up. You’ve tried restarting it, clearing space and removing programs. Someone says: “Just reinstall Windows.”

It can work well. It’s also the sort of job where one wrong click wipes years of files. So the whole post comes down to one rule: assume the reinstall will delete everything, even when the menu says it won’t. Build your safety on that.

First, do you need to?

A reinstall is a big hammer. Try the smaller tools first.

  • Restart and install updates.
  • Free up disk space. A nearly full drive makes a computer crawl.
  • Remove programs you don’t use and check what starts at login.
  • Run a malware scan.
  • On Windows, use the built-in troubleshooters and system file repair.
  • On a Mac, restart in safe mode and check Activity Monitor for something hogging the processor.

If the machine is still unstable, or has malware that won’t go away, or you’re handing it to someone else, a reinstall makes sense.

Step 1: Back up, then check the backup

This is the step that decides whether you have a good day or a terrible one.

What to copy:
– Documents, Desktop, Downloads, Pictures, Music, Videos.
– Browser bookmarks and saved passwords (export them, or make sure they sync to your account).
– Files in odd places: a project folder on the C: drive, a folder in AppData, local email archives.
– Licence keys and installers for paid software.
– Settings you’d miss, such as email accounts and VPN profiles.

Where to copy:
– An external drive or USB stick, or a cloud drive.
– Ideally two places. One copy is a hope. Two copies is a backup.

Then check it. Open the backup drive and open some files from it. Look for the biggest, most important folders. A backup you haven’t opened is only a theory.

Also sign out and deactivate software where needed, such as licences that limit installations, and note which accounts your computer is logged into.

Step 2: Choose the type of reinstall

On Windows

Windows offers a few levels.

Reset this PC. In Settings, System, Recovery (on Windows 11; on Windows 10 it’s Update & Security, Recovery). You choose:
– Keep my files: removes apps and settings but keeps your personal files.
– Remove everything: wipes the lot.

You can also choose to download Windows from the cloud or reinstall from the local copy. Cloud download is often more reliable if the existing files are damaged.

Fix problems using Windows Update. Newer versions of Windows 11 offer a “Reinstall now” option under Recovery. It reinstalls Windows while keeping your files, apps and settings. Try this before a full reset if it’s available.

A clean install from USB. You make a Windows installer on a USB stick using Microsoft’s official tool, boot from it, and choose where to install. This is the most thorough method. It also carries the highest risk if you pick the wrong drive or partition.

On a Mac

Reinstall macOS from Recovery. Restart into macOS Recovery (the key combination depends on whether you have an Apple silicon or Intel Mac; Apple’s support page lists it). Choose “Reinstall macOS”. Installing over the existing system, without erasing the disk first, generally keeps your files and users. Don’t choose “Erase” unless you mean to.

Erase and reinstall. For a fresh start, you erase the disk with Disk Utility, then reinstall. This removes everything, so back up first.

Because instructions change with each version, use Apple’s and Microsoft’s official guides for your version at the time.

Step 3: Do it carefully

  1. Plug in the charger. A laptop that dies mid-install can be a mess.
  2. Read each screen. Look for words like “Keep”, “Remove”, “Erase” and “Format”. Don’t click through by habit.
  3. If choosing a drive or partition, identify it by size and name. Don’t format anything you don’t recognise, and never format the drive holding your backup. Disconnect the backup drive during installation if you can, so a slip can’t touch it.
  4. Be patient. It can take an hour or more, and the computer will restart several times.
  5. Don’t switch off. Even if the screen seems frozen.

Step 4: After the reinstall

  1. Run Windows Update or Software Update until nothing is left.
  2. Install drivers if something isn’t working. Get them from the computer maker’s own site.
  3. Install apps again, but only the ones you need. A reinstall is a chance for a clean start. Resist reinstalling every old program.
  4. Restore files from your backup into the right folders.
  5. Sign back in to your accounts and turn on two-factor authentication where it’s not already on.
  6. Set up a backup so you’re covered next time. See WordPress backups for the same thinking on websites.
  7. Check the extras: printers, Bluetooth devices, display settings.

Common mistakes

  • Trusting “keep my files” without a backup. This is the big one. The option works nearly always. “Nearly” isn’t comforting when it’s your wedding photos.
  • Forgetting a hidden folder or a second drive.
  • Losing licence keys for paid software.
  • Not noting down Wi-Fi passwords, then having no way to get online to download drivers.
  • Installing the old problem back. If a certain program caused the trouble, don’t reinstall it blindly.
  • Using pirated installers. They often come with malware, which defeats the purpose.

If your computer won’t start at all

If Windows can’t boot, you may still reach files by booting from a USB installer or a Linux live USB, or by taking the drive out and connecting it to another computer. If the files are valuable and you’re unsure, stop and ask someone experienced. Further attempts can make recovery harder.

The web admin angle

A work computer holds more than files. Saved logins, SSH keys, FTP profiles, local site copies, browser extensions and two-factor apps all live there. Before a reinstall, write down which sites and services you’re logged into, make sure two-factor codes are recoverable (see transferring two-factor codes to a new phone), and keep your passwords in a manager rather than the browser. Then a reinstall is an inconvenience, not a crisis.

Key takeaways

  • Treat every reinstall as if it might erase everything. Back up twice and check.
  • Try smaller fixes first.
  • “Keep my files” options exist on both Windows and macOS, but read each screen.
  • Afterwards, update, restore selectively and set up a backup.

When did you last open your backup to check that it works?