How to Extract Files from a Windows 10 ISO Install.wim
In this article
You can extract files from a Windows 10 ISO's install.wim using built-in Windows tools: mount the ISO, then use DISM to mount the WIM and copy files out, or use 7-Zip to open the WIM directly. The DISM method is the most reliable for large images and preserves file attributes. Before you start, note that install.wim is often split into install.swm or install.esd on some media—if you see those, the steps differ slightly. This guide covers the standard install.wim case on a Windows 10 PC. Menu labels can vary slightly by Windows version and region.
What You'll Need
- A Windows 10 PC with administrator rights (DISM requires an elevated command prompt).
- The Windows 10 ISO file, or a mounted installation DVD/USB.
- Enough free disk space: the WIM can be several gigabytes, and extracting files needs additional space.
- Optional: 7-Zip (free, from the official 7-zip.org site) if you prefer a graphical method.
Step-by-Step
- Mount the ISO. In File Explorer, navigate to the ISO file, right-click it, and choose Mount. A new drive letter appears under This PC. If you have a physical disc, insert it. Note the drive letter—for example,
D:. - Locate install.wim. Open the mounted drive and go to the
sourcesfolder. You should seeinstall.wim. If you seeinstall.esdorinstall.swminstead, skip to the troubleshooting section below. - Open an elevated Command Prompt. Click Start, type
cmd, right-click Command Prompt, and choose Run as administrator. Accept the User Account Control prompt. - Create a mount folder. Choose an empty folder, for example
C:\wim_mount. Create it in File Explorer or runmkdir C:\wim_mountin the command prompt. - Check the image index. Run
dism /Get-WimInfo /WimFile:D:\sources\install.wim(replaceD:with your mounted drive letter). This lists the editions inside the WIM, each with an index number (1 for Home, 2 for Pro, etc., depending on the ISO). Note the index you want. - Mount the WIM. Run
dism /Mount-Image /ImageFile:D:\sources\install.wim /Index:1 /MountDir:C:\wim_mount /ReadOnly. The/ReadOnlyswitch prevents accidental changes. Mounting can take a minute or two. - Browse and copy files. Open
C:\wim_mountin File Explorer. The Windows filesystem appears as folders (Windows, Program Files, Users, etc.). Copy the files you need to another location. Do not modify files inside the mount folder while it is mounted read-only. - Unmount the image. When finished, run
dism /Unmount-Image /MountDir:C:\wim_mount /Discard. The/Discardoption discards changes (there should be none in read-only mode) and releases the mount. If you mounted without/ReadOnlyand want to keep changes, use/Commitinstead—but for simple extraction, discard is safer. - Alternative: use 7-Zip. If you installed 7-Zip, right-click
install.wim, choose 7-Zip > Open archive, then navigate the internal folders and extract the files you need. This avoids DISM but may not preserve all attributes and can be slower for very large images.
Common Mistakes
- Forgetting to run Command Prompt as administrator. DISM mount and unmount commands fail with access-denied errors without elevation.
- Using the wrong drive letter. The mounted ISO letter changes; double-check it in This PC before running commands.
- Choosing the wrong index. If you mount index 1 but wanted Pro (often index 2 or higher), you will extract the wrong edition's files.
- Leaving the image mounted. A mounted WIM locks the mount folder and can prevent later operations. Always unmount when done.
- Editing files in a read-only mount. Changes are discarded on unmount; copy files out first if you need to modify them.
- Assuming install.wim exists. Many official ISOs use
install.esdinstead; DISM can mount ESD only in limited ways, so convert or use 7-Zip.
Tips
- Use
/ReadOnlyfor extraction—it is faster and safer than a writable mount. - If you only need a few files, 7-Zip is quicker than mounting the whole image.
- Keep the mount folder on a drive with plenty of free space; the mounted image consumes space roughly equal to its uncompressed size.
- Run
dism /Get-WimInfofirst to confirm the index and edition names before mounting. - For repeated extractions, consider copying
install.wimto a local folder first to avoid issues if the ISO unmounts.
Troubleshooting
- “The specified image file did not contain a resource section” or mount fails: The WIM may be corrupted or actually an ESD. Check the file extension and try 7-Zip to inspect it.
- install.esd instead of install.wim: DISM can apply ESD images but mounting is limited. Use 7-Zip to open the ESD and extract files, or use DISM with
/Apply-Imageto a folder (advanced). - install.swm files: These are split WIMs. Mount the first part with
/SWMFilepointing to the split files, or use 7-Zip on the.swmparts. - Access denied: Ensure the command prompt is elevated and the mount folder is not in use by another program.
- Mount folder not empty: DISM requires an empty mount directory. Create a fresh folder.
- Unmount fails with “file in use”: Close File Explorer windows pointing to the mount folder, then retry the unmount command.
- ISO will not mount: Right-click the ISO and check Mount is available; if not, the file may be incomplete. Re-download from Microsoft's official site.
Frequently Asked Questions
Can I extract files from install.wim without DISM?
Yes, 7-Zip can open WIM files directly and extract contents. It is simpler for occasional use but may not preserve all metadata.
What if my ISO has install.esd instead of install.wim?
ESD is a compressed format. 7-Zip can open it for extraction. DISM mounting of ESD is limited; applying the image to a folder is the advanced alternative.
Do I need to mount the ISO first?
Not strictly—you can point DISM directly at the ISO's path if the ISO is mounted, but DISM cannot read inside an unmounted ISO. Mount it first or extract the ISO contents.
Will extracting files from install.wim install Windows?
No. Extracting files is just copying them. Installing Windows requires applying the image or running setup.
Is it safe to modify files in the mounted WIM?
Only if you mount without /ReadOnly and commit changes. For extraction, use read-only and copy files out.
Why does DISM say the mount directory is not empty?
DISM requires an empty folder. Create a new empty directory and use that as the mount point.