Skip to content

Instantly share code, notes, and snippets.

@bayron808
Created September 30, 2025 14:37
Show Gist options
  • Select an option

  • Save bayron808/7eb51e3acdc6381fe71419015b037835 to your computer and use it in GitHub Desktop.

Select an option

Save bayron808/7eb51e3acdc6381fe71419015b037835 to your computer and use it in GitHub Desktop.
How to Upgrade from Windows 7 to Windows 10 without Losing Data

Upgrade from Windows 7 to Windows 10 without wiping your stuff

This is a calm, reversible route that keeps personal files and—when architecture and edition match—most desktop apps. It uses Microsoft’s own installer and avoids tool hype. Risks are called out plainly, with a rollback plan if things go sideways.

Start with the right mindset

An operating-system change is less like installing an app and more like a heart transplant. The goal here isn’t to rush; it’s to arrive intact. The safest approach uses the official Windows 10 setup from within your current Windows 7 session. That’s what preserves your profile and most programs. Booting from USB, by contrast, usually means a clean install that wipes apps.
You’ll see no product pitches here. If something isn’t built into Windows or offered directly by Microsoft, treat it as optional at best.

Backups that actually help

Two different backups cover two different kinds of bad days. Do both—each takes minutes, and together they turn emergencies into inconveniences.
  1. Image backup to an external drive. If the upgrade fails or you dislike the result, this lets you put the entire machine back exactly as it was—boot sector, partitions, apps, everything.
  2. Plain file copy of Documents, Desktop, Pictures, project folders, and any .PST or app data. If all you need later is a few files, this is faster than restoring a full image.
Encryption matters: if you keep sensitive data on the external drive, enable device encryption there or store it in a physically safe place.

Quick health checks on Windows 7

These catch silent disk or system file issues that often cause cryptic setup errors.
  1. Open an elevated Command Prompt (Start → type cmd, right-click, Run as administrator).
  2. Run:
    chkdsk /f
    sfc /scannow
    Reboot if chkdsk schedules a check.
  3. Free up at least 30–40 GB on C:. Uninstall old “tune-up” suites that hook deep into the OS; they can interfere with Setup.
  4. Disconnect non-essential USB devices during the upgrade. The fewer moving parts, the better.
If sfc can’t repair files, run Microsoft’s System Update Readiness Tool (KB947821) on Windows 7 before attempting the upgrade.

Do the upgrade from inside Windows 7

The in-place route is what keeps your apps. Architecture and edition must match (32-bit → 32-bit, 64-bit → 64-bit; Home ↔ Home, Pro ↔ Pro).
  1. Get the official media. Download the Windows 10 ISO from Microsoft.
  2. Open the installer without rebooting. Windows 7 can’t natively mount ISOs. The two simple options are:
    • Create a standard USB from the ISO, then, while still in Windows 7, open the USB in Explorer and run setup.exe.
    • Or extract the ISO to a folder and run setup.exe from there.
  3. When asked about updates, choose “Not right now.” You’ll patch later. This reduces online variables that can stall Setup.
  4. Choose “Keep personal files and apps.” If that option isn’t offered, see the “What could go wrong” section below.
  5. Let the process run. Don’t interrupt power. Expect several reboots.
If you boot from the USB, Windows assumes you want a clean install. Close it and re-launch setup.exe from the Windows 7 desktop to keep apps.

The first hour on Windows 10

  • Open Settings → Update & Security → Windows Update, install everything, reboot as prompted.
  • Check Device Manager for warning icons. If present, install chipset, storage, network, and graphics drivers from your PC or motherboard vendor.
  • Launch a few critical programs to confirm licensing and plugins still work.
  • Create a restore point named “Post-Win10-OK,” then make a fresh image backup. You now have a clean, known-good snapshot.

What could go wrong (and how to respond with minimal stress)

“Keep personal files and apps” isn’t offered

  • Architecture mismatch: 32-bit Windows 7 can’t in-place upgrade to 64-bit Windows 10. To switch architectures you’d do a clean install (after backing up).
  • Edition mismatch: Home ↔ Home, Pro ↔ Pro. Use matching media.
  • You launched by booting the USB: close it and run setup.exe from the Windows 7 desktop instead.

Driver-related error (0xC1900101 and similar)

  • Unplug docks, external drives, and other peripherals; remove any CPU/GPU overclocks.
  • Update storage/chipset/network drivers in Windows 7 first, then retry.
  • Temporarily uninstall legacy antivirus or VPN/tunneling software that installs low-level filter drivers.

Setup hangs on “Checking for updates”

  • When Setup asks about updates, pick Not right now.
  • Disable Wi-Fi or unplug Ethernet and try again (an offline in-place upgrade). You’ll patch after landing on Windows 10.

Activation doesn’t carry over

  • Open Settings → Update & Security → Activation and run the troubleshooter.
  • Have the product key ready. Some OEM keys work; in other cases a new license is required.
None of these steps modify protected system files. If the experience isn’t right, the image backup you made at the start can put everything back precisely as it was.

FAQs

Will every program survive the upgrade?

Most do, provided architecture and edition match. Very old software, unsigned drivers, or tools that hook the kernel may need a reinstall—or a modern alternative.

Do I need to convert MBR to GPT?

No. Windows 10 runs on BIOS/MBR and UEFI/GPT. You can convert later with mbr2gpt if you choose to move to UEFI; it’s optional for the upgrade itself.

Is a clean install better?

It’s “cleaner,” but it wipes apps. The in-place route avoids weeks of reinstalling. You can always clean install later once your files are safely on Windows 10.

How long will this take?

Plan for about an hour on typical hardware, longer on older disks. What matters more than speed is avoiding surprises—hence the backups and health checks.

Pocket checklist

  • Image backup to an external drive + a simple file copy of essentials.
  • chkdsk /f → reboot if scheduled; sfc /scannow on Windows 7.
  • 30–40 GB free on C:; remove deep-hooking utilities temporarily.
  • Get the official Windows 10 ISO; match edition and architecture.
  • From the Windows 7 desktop, run setup.exe (don’t boot the USB).
  • Choose Not right now for updates, then Keep personal files and apps.
  • Afterward: Windows Update → vendor drivers → restore point → new image backup.

 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment