Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

WIM

Direct 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.

When to use this

Use this when working with Windows image files.

First 30 seconds

1. dism /Get-WimInfo /WimFile:install.wim — indexes/editions.

2. Mount for servicing.

3. Split for FAT32 media (/Split-Image → .swm).

4. ESD vs WIM.

5. Verify after commit.

Operational verification

WIM file → indexed images → applied by index

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Applying the wrong index (edition) from a multi-image WIM.
  • ESD files used where tools expect WIM — export to WIM first.
  • WIM larger than 4 GB on FAT32 USB media — split it.
Platform / version applicability
Windows servicing, deployment and recovery
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows servicing, deployment and recovery
Scope / prerequisiteUse this when working with Windows image files.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • One WIM can hold several editions by index.
  • Use the right index when applying.
  • Mount an image to service it offline.
Key checks
  • Get-ComputerInfo -Property BiosFirmwareType — UEFI or legacy BIOS
  • Get-Disk | Select Number,PartitionStyle — GPT or MBR
  • Get-Content C:\Windows\Panther\setupact.log -Tail 50 — setup log
  • dism /Get-WimInfo /WimFile:<install.wim> — images in a WIM
ReferenceWhy it matters1 section · depth on demand

WIM facts

  • File-based, single-instance storage: several editions (indexes) share files in one WIM.
  • install.wim holds editions; boot.wim holds WinPE/Setup.
  • Larger than 4 GB WIMs do not fit on FAT32 USB sticks: split with dism /Split-Image /SWMFile:install.swm /FileSize:3800 or use ESD.
  • ESD is a more compressed, read-only variant used by Microsoft downloads.
ReferenceImportant terms & boundaries1 section · depth on demand

In depth

WIM is a file-based image format: multiple images (indexes) per file, single-instance storage of identical files, compression (fast/max/LZMS in ESD).

Dism /Get-WimInfo /WimFile:D:\sources\install.wim
Dism /Export-Image /SourceImageFile:install.esd /SourceIndex:6 /DestinationImageFile:install.wim /Compress:max
Dism /Mount-Image /ImageFile:install.wim /Index:1 /MountDir:C:\mount
Dism /Image:C:\mount /Add-Package /PackagePath:C:\updates\windows11.0-kb5044284-x64.msu
Dism /Unmount-Image /MountDir:C:\mount /Commit

FAT32 USB sticks cannot hold WIMs over 4 GB — split with Dism /Split-Image into .swm files.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Commands

Dism /Get-WimInfo /WimFile:D:\sources\install.wim
Dism /Export-Image /SourceImageFile:install.esd /SourceIndex:6 /DestinationImageFile:install.wim /Compress:max
Dism /Split-Image /ImageFile:install.wim /SWMFile:install.swm /FileSize:3800

Documented example, not captured output. Split WIMs (.swm) fit FAT32 USB sticks, which have a 4 GB file limit.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows servicing, deployment and recovery current

Authoritative/upstream documentation reviewed for bounded claims in Installation & Deployment → WIM. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows/deployment/ · confidence 94%
Confirmation

Confirm action

Continue?