Sub topic 11
Clean install, in-place upgrade, repair install, and multiboot
This chapter assumes you know the edition differences, the valid upgrade paths, and the UEFI/GPT basics from earlier chapters. It covers the four ways to put Windows on a PC and how to pick one.
The four install types
| Type | Starts from | Keeps files, apps, settings? | Typical use |
|---|---|---|---|
| Clean install | Boot from install media | No. The target partition is wiped. | New disk, badly infected or corrupt system, changing partition style |
| In-place upgrade | `setup.exe` run inside Windows | Yes, by default | Moving Windows 10 to Windows 11, or to a newer feature update |
| Repair install | `setup.exe` run inside Windows, same version | Yes | Fixing corrupt system files when Windows still boots |
| Multiboot | Boot menu chosen at startup | Each OS is separate | Testing, or running software that needs a different OS version |
Clean install
A clean install boots the PC from USB, optical, or network media and builds a fresh copy of Windows. You delete or format the target partition during setup, so back up your data first. Setup then writes a new system.
Choose it when the old system is unreliable, when you are moving between paths that do not allow an upgrade (for example 32-bit to 64-bit), or when you are reassigning a PC. Check the partition style before you start:
Get-Disk | Select-Object Number, FriendlyName, PartitionStyle, SizeA UEFI install needs a GPT disk. If the disk is MBR, you can convert it with diskpart as shown in the earlier partitioning chapter, but that erases the disk.
In-place upgrade
Run setup.exe from the media while signed in to the old Windows. Setup keeps your files, installed apps, and settings, and puts the old system in Windows.old. For a limited time (10 days by default on Windows 10) you can roll back from Settings.
Before you start:
- Confirm the upgrade path is valid, including the edition.
- Confirm the hardware meets the target version's requirements.
- Back up data, and update or remove incompatible apps and drivers.
- Make sure there is enough free disk space.
Repair install
A repair install is an in-place upgrade over the same version and edition. Windows replaces its system files and keeps your data and apps. Use it when Windows boots but has damaged components that sfc /scannow and DISM could not fix. If Windows will not boot at all, use Windows RE (Startup Repair, System Restore, or Reset this PC) first.
Reset this PC is a related option. "Keep my files" removes apps and settings. "Remove everything" wipes personal data too.
Multiboot
Multiboot puts two or more Windows installs on one machine, each on its own partition. Install the older version first. Newer setups update the Windows Boot Manager menu, while an older installer can overwrite the boot files and hide the newer OS. Change the default OS and the menu timeout in System Properties > Advanced > Startup and Recovery.
Multiboot has costs. Each OS needs its own license and disk space. A BitLocker-encrypted volume may ask for its recovery key when the boot configuration changes.
Choosing a type
Exercise
A user's Windows 10 Pro PC boots, but several system files are corrupt and sfc /scannow cannot repair them. The user wants to keep all files and apps. Which install type do you choose, and what must be true about the media?
Show answer
Run a repair install, which is an in-place upgrade over the same version. The media must match the installed version and edition (and architecture) so setup can keep files and apps.