WIM
Cheat sheet · https://pcornel.dk/topic.php?topic=2945
Answer
WIM (Windows Imaging Format) is the file-based image format of install.wim and boot.wim. One WIM can hold several editions; inspect it with dism /Get-ImageInfo and apply it with dism /Apply-Image.
Remember
- One WIM can hold several editions by index.
- Use the right index when applying.
- Mount an image to service it offline.
First checks
Get-ComputerInfo -Property BiosFirmwareType— UEFI or legacy BIOSGet-Disk | Select Number,PartitionStyle— GPT or MBRGet-Content C:\Windows\Panther\setupact.log -Tail 50— setup logdism /Get-WimInfo /WimFile:<install.wim>— images in a WIM
Verify in this order
WIM file → indexed images → applied by index
Where it usually breaks
First mismatch in source/package/image/device identity → servicing/setup configuration → installation/activation → reboot/boot/runtime → system/component health → user/workload validation; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2945