Sub topic 15
Troubleshooting failed installs and recovery options
This chapter assumes you know the install types (clean, in-place, repair), the difference between UEFI and legacy BIOS, and the difference between GPT and MBR. It also assumes you can open a command prompt. The goal is a repeatable way to work from a symptom to a likely cause and then to a recovery option.
A working model of install failures
Most failed installs come from one of four areas: the hardware, the firmware and disk setup, the installation media, or the source system (for upgrades). Check them in that order. The cheapest checks come first.
| Symptom | Likely cause | First fix |
|---|---|---|
| "Windows cannot be installed to this disk" (GPT or MBR message) | Boot mode and partition style do not match | Match them, or convert the disk |
| "This PC can't run Windows 11" | Missing TPM 2.0, Secure Boot, or an unsupported CPU | Enable TPM and Secure Boot in firmware, or choose another edition or hardware |
| No drives listed in Setup | Missing storage driver (often RAID or NVMe) | Load the driver from the media |
| Setup stops or reboots in a loop | Bad media, bad RAM, or the wrong boot order | Re-create the media and test the hardware |
| Upgrade rolls back | Incompatible driver or app, or too little disk space | Remove the blocker and retry |
Boot mode and partition style
UEFI boot needs a GPT disk. Legacy BIOS boot needs an MBR disk. If they do not match, Setup refuses to install. You have two fixes. You can change the firmware boot mode to match the disk, or you can convert the disk.
Check the current style first:
Get-Disk | Select-Object Number, FriendlyName, PartitionStyle, SizeConverting to GPT from the Setup command prompt (Shift+F10) erases the disk:
diskpart
list disk
select disk 0
clean
convert gpt
exit<br>
Requirement and edition problems
For Windows 11 failures, check Secure Boot and the TPM from an elevated PowerShell window:
Confirm-SecureBootUEFI
Get-Tpm | Select-Object TpmPresent, TpmReadyConfirm-SecureBootUEFI returns an error on a legacy BIOS system. That error is itself the answer: the machine is not booting in UEFI mode.
If Setup offers the wrong edition, or an edition key is rejected, list the editions in the install image. Replace D: with your media drive. Some media uses install.esd instead of install.wim.
dism /Get-WimInfo /WimFile:D:\sources\install.wimRecovery options
When Windows is already installed but will not start correctly, use the Windows Recovery Environment (WinRE). It appears after repeated failed boots, or you can boot from the install media and choose Repair your computer. Pick the lightest option that fits the problem.
- Startup Repair fixes boot files and simple boot configuration errors.
- System Restore returns system files and settings to an earlier restore point. It does not touch personal files.
- Uninstall Updates removes a recent quality or feature update that broke the boot.
- Go back to the previous version reverses an in-place upgrade. It works only for a limited time after the upgrade, and only if the old Windows files are still present.
- Reset this PC reinstalls Windows. You choose to keep your files or remove everything.
- Command Prompt gives you tools such as diskpart and bootrec for manual repair.
- Repair install is an in-place upgrade run from within Windows. It replaces system files and keeps apps and data.
After a recovery
Confirm the result. Run winver to see the version and build. Run slmgr /dli and slmgr /xpr to confirm that the license is still activated. A repair or reset on the same hardware normally keeps activation. A clean install on new hardware may need reactivation.
Exercise
A technician boots a new PC from USB in UEFI mode. Setup says Windows cannot be installed to the disk because it has an MBR partition style. The disk is blank. What are two ways to fix this, and which is faster for a blank disk?
Show answer
Either switch the firmware to legacy BIOS boot so the mode matches the MBR disk, or convert the disk to GPT. Converting is faster and better for a blank disk. In the Setup command prompt run diskpart, list disk, select disk 0, clean, convert gpt, exit. UEFI with GPT is also required for Secure Boot and Windows 11.
Exercise
A user's PC fails to boot after a feature update, and they have important files on it. Which recovery options should you try first, and which should you avoid until later?
Show answer
Try the least destructive options first: Startup Repair, System Restore, then Uninstall Updates or Go back to the previous version. A repair install also keeps files and apps. Avoid Reset this PC with "remove everything" and a clean install until the other options fail and the data is backed up.