What is the SWM file format?
.swm files are closely related to Windows Imaging Format (.wim) files and are used by Microsoft's imaging tools - originally ImageX, and now the built-in DISM command - to store fragments of a disk image created when a single .wim file is split into smaller parts.
WIM format was developed by Microsoft for Windows Vista and Windows Server 2008. The .swm format comes into play when a larger .wim file (sized for a DVD, for example) must be split into smaller pieces - each resulting part is assigned the .swm extension. Each .swm file retains the filename of the original .wim file with a numerical index appended: the first part is named install.swm, the second install2.swm, the third install3.swm, and so on. Only the first part carries the full WIM header; the remaining parts are continuation pieces and cannot be opened independently - the complete split set must be kept together.
Reassembling the original .wim image from its .swm parts is also possible. The modern approach uses DISM /Apply-Image /SWMFile:install*.swm; the legacy method relied on ImageX (part of the Windows AIK).
Every .swm file begins with the 8-byte magic signature MSWIM\0\0\0 (hex 4D 53 57 49 4D 00 00 00), identical to a standard .wim header.
.swm files are by default stored in the sources directory of each optical disc in a multi-disc deployment set.
Security & safety
RISK: MEDIUMA .swm is passive image data and doesn't execute on its own, so opening/browsing it is safe. The real risk is integrity and trust: it contains a full Windows OS image that you may later install, so a .swm from an untrusted source could carry a tampered or pirated Windows build - only use install.swm sets from official Microsoft media or your own builds. Operationally, keep ALL parts together (a missing part makes the image unusable) and verify hashes when distributing. Beware anything named 'install.swm.exe' or fake 'SWM openers'.
Format details
in a nutshell- Supportworks ESP message file - Hornbill/Supportworks IT-service-desk software used .swm for a message/template file - unrelated to Windows imaging and now legacy.
- Simatic WinCC / misc app data - A few niche applications have used .swm for their own data; check the source app if it isn't a Windows image.
Programs that open SWM files
Technical details
deep spec| Magic signature | `MSWIM\0\0\0` (hex `4D 53 57 49 4D 00 00 00`) at byte offset 0, shared with the parent `.wim` format |
| Developer | Microsoft |
| MIME type | `application/octet-stream` |
| File structure | Binary; each `.swm` file is a segment of a parent WIM archive split into sequential continuation pieces |
| Naming convention | Parts follow the pattern `<name>.swm`, `<name>2.swm`, `<name>3.swm` - the first part carries no number suffix |
| Header location | Only the first part (e.g., `install.swm`) carries the complete WIM XML metadata header; subsequent parts are headerless continuation data |
| Part dependency | All parts of a split set must be present simultaneously to extract or apply the image |
| Splitting tool (current) | `DISM /Split-Image /WimFile:<path>.wim /SWMFile:<dest>.swm /FileSize:<MB>` - built into Windows since Windows 8 and available via Windows ADK |
| Splitting tool (legacy) | `ImageX /split` from the Windows Automated Installation Kit (AIK), superseded by DISM |
| Reassembly command | `DISM /Apply-Image /ImageFile:<first>.swm /SWMFile:<name>*.swm /ApplyDir:<drive>:\` or `wimlib-imagex apply` on Linux |
| Compression | Inherits the compression algorithm of the parent WIM (None, XPRESS, LZX, or LZMS); not re-compressed during the split |
| Default storage location | `sources\` directory on each optical disc of a multi-disc Windows deployment set |
| Typical part size | Configurable via the `/FileSize` parameter; commonly set to approximately 4,700 MB to fit a single-layer DVD |
| Cross-platform support | Readable and mountable on Linux and macOS via `wimlib` (`wimlib-imagex`); Windows-native tools (`DISM`, `ImageX`) are Windows-only |
| Released | WIM since Windows Vista (2006); SWM via ImageX, now DISM /Split-Image |
| Specification | learn.microsoft.com |
SWM conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about SWM files.