Sub topic 11
Clean Install, In-Place Upgrade, Repair Install, and Multiboot
This chapter covers the four ways Windows ends up on a disk. It assumes you already know the editions, the 32-bit and 64-bit differences, the minimum requirements, the valid upgrade paths, and the firmware and partitioning concepts covered in earlier chapters. Here you choose among the install types and learn what each one keeps, erases, and risks.
The four install types at a glance
The type you pick decides what happens to existing files, apps, and settings.
| Install type | Files | Apps | Settings | Typical use |
|---|---|---|---|---|
| Clean install | Erased if you format | Erased | Reset | New disk, failing or infected system, fresh start |
| In-place upgrade | Kept | Kept (compatible ones) | Kept | Moving to a newer version or feature update |
| Repair install | Kept | Kept | Kept | Fixing damaged system files without losing data |
| Multiboot | Kept on each OS | Separate per OS | Separate per OS | Running two or more systems on one PC |
Clean install
A clean install puts a fresh copy of Windows on a disk with no previous Windows settings. You boot from installation media, choose Custom: Install Windows only (advanced), and select or create a partition.
Choose a clean install when:
- The disk is new or blank.
- The existing system is infected, unstable, or slowed by years of changes.
- You are moving between edition families or architectures that do not allow an in-place path. For example, 32-bit Windows cannot be upgraded in place to 64-bit.
- You are repurposing a PC and want no leftover user data.
The setup screen shows each partition. Deleting a partition destroys its data. Formatting does the same. If you pick an existing partition with an older Windows on it and do not format it, Setup moves the old files into a folder named Windows.old and installs a new copy beside them. That folder lets you recover files, but it uses several gigabytes. Windows removes it automatically after a period, or you can remove it with Disk Cleanup.
If the disk uses the wrong partition style for the firmware mode, Setup refuses to install. The fix is to convert the disk, which erases it:
diskpart
list disk
select disk 0
clean
convert gpt
exitRun this from the Setup command prompt (Shift+F10). Check the number in list disk carefully. clean wipes whichever disk is selected.
Before any clean install, back up user data and note any license keys or app installers you need afterward. Also confirm that you have drivers for storage and network adapters. Setup may not see a disk without a storage driver, and a PC without a network driver cannot download the rest.
In-place upgrade
An in-place upgrade replaces the operating system files while keeping personal files, installed apps, and settings. You start it by running setup.exe from inside the running Windows, either from mounted installation media or from the downloaded tool. Booting from the media does not offer this option.
Use it for:
- Moving from Windows 10 to Windows 11 on supported hardware.
- Moving to a higher edition, such as Home to Pro.
- Applying a feature update, which is itself an in-place upgrade.
Before you start:
- Back up data. An upgrade can fail midway.
- Check the requirements and the upgrade path for your edition and architecture.
- Free enough disk space. The upgrade needs room for new files plus a copy of the old system for rollback.
- Remove or update incompatible apps, and disable third-party antivirus if the vendor recommends it.
- Unplug nonessential USB devices.
- Make sure the system is plugged in and on a stable connection.
The old system is kept so that you can roll back. In Windows 10 and 11 you have a limited window, 10 days by default, to go back using Settings > System > Recovery. Cleaning up Windows.old removes that option.
An in-place upgrade also carries forward problems. Misconfigured settings, bad drivers, and some malware survive the process. If the reason for the change is a damaged system, a clean install is a better fix.
Repair install
A repair install, also called a repair upgrade, reinstalls Windows over itself to replace damaged system files while keeping data, apps, and settings. It is mechanically an in-place upgrade to the same version and edition.
Run setup.exe from installation media of the same version, edition, and architecture while logged in to the broken system. When Setup asks what to keep, choose Keep personal files and apps. This is the right step after simpler tools fail. A reasonable order is:
- Run
sfc /scannowto repair protected system files. - Run
DISM /Online /Cleanup-Image /RestoreHealthif SFC cannot fix everything. - Try a restore point or Startup Repair from the Windows Recovery Environment (WinRE).
- Run the repair install.
- As a last step, use a reset or clean install.
If Windows will not boot at all, the repair install from inside Windows is not possible. In that case, use WinRE tools such as Startup Repair, or boot the media and look for a repair option. Then fall back to a clean install after backing up data from another environment.
Another built-in option is Reset this PC, which reinstalls Windows from the local recovery image or from the cloud. You choose to keep your files or remove everything. Keeping files still removes apps and resets settings, so it is not the same as a repair install.
Multiboot
Multiboot means more than one operating system installed on one computer, with a menu at startup to choose. You might pair Windows 10 and Windows 11, or Windows and Linux.
Key points:
- Each OS needs its own partition. Resize an existing partition in Disk Management to create unallocated space first.
- Install the older Windows first and the newer one second. A newer Windows installer builds a boot menu that includes the older system. An older installer may overwrite the newer boot loader and hide it.
- Windows uses the Boot Configuration Data (BCD) store to list the systems to start. UEFI systems keep the boot files on the EFI System Partition. You edit entries with
bcdeditor the startup settings in System Properties. - Both systems need a file system they can read. Windows uses NTFS. Linux typically uses ext4, which Windows cannot read natively.
- With BitLocker enabled, firmware or boot changes can trigger a recovery key prompt. Save the key first.
- Each OS needs its own license and its own updates, and each takes its own disk space.
An alternative is a virtual machine, which runs a second OS inside a window on the first. It is safer for testing, but it shares the host's CPU and memory and has no direct hardware access in most cases.
bcdedit /enumRun bcdedit /enum in an elevated command prompt to list the boot entries and their descriptions.
Comparing the options
| Question | Clean install | In-place upgrade | Repair install |
|---|---|---|---|
| Does it fix deep corruption or malware? | Yes | Not reliably | Sometimes |
| Does it keep apps? | No | Yes | Yes |
| Can you change 32-bit to 64-bit? | Yes | No | No |
| Starts from inside Windows? | No, boot media | Yes | Yes |
| Risk of data loss | High without backup | Low | Low |
Common errors
- Starting
setup.exefrom boot media instead of inside Windows, which removes the keep-files option. - Using media with a different version, edition, or language than the installed system, which limits or blocks the keep-files choice.
- Deleting the wrong partition during a clean install. Read the sizes and drive numbers.
- Installing the older Windows after the newer one in a multiboot setup.
- Forgetting a backup before any type.
Exercise
A user's Windows 10 PC boots, but File Explorer and several built-in apps crash. SFC and DISM did not fix it. The user must keep all files and installed programs. Which install type do you choose, and how do you start it?
Show answer
A repair install. Sign in to the PC, mount or insert installation media of the same version, edition, and architecture, and run setup.exe from inside Windows. When Setup asks what to keep, choose "Keep personal files and apps". Back up data first as a precaution.
Exercise
You are building a PC that will run Windows 10 and Windows 11 on separate partitions. In what order do you install them, and why?
Show answer
Install Windows 10 first, then Windows 11. The newer installer creates a boot menu that includes the older system. Installing the older one last can overwrite the newer boot loader and hide Windows 11.