Windows Imaging Format
Get Windows Imaging Format essential facts below. View Videos or join the Windows Imaging Format discussion. Add Windows Imaging Format to your topic list for future reference or share this resource on social media.
Windows Imaging Format
Windows Imaging Format
Filename extension.wim .swm .esd
Internet media typeapplication/x-ms-wim[1]
Magic numberMSWIM\0\0\0 / WLPWM\0\0\0 for wimlib pipable variant[2]
Developed byMicrosoft
Type of formatDisk image

The Windows Imaging Format (WIM) is a file-based disk image format. It was developed by Microsoft to help deploy Windows Vista and subsequent versions of the Windows operating system family, as well as Windows Fundamentals for Legacy PCs.[3]


Like other disk image formats, a WIM file contains a set of files and associated filesystem metadata. However, unlike sector-based formats (such as ISO or VHD), WIM is file-based: The fundamental unit of information in a WIM is a file.

The primary advantages of being file-based is hardware independence and single-instance storage of a file referenced multiple times in the filesystem tree. Since the files are stored inside a single WIM file, the overhead of opening and closing many individual files is reduced. The cost of reading or writing many thousands of individual files on the local disk is negated by hardware and software-based disk caching as well as sequential reading and writing of the data.

WIM files can contain multiple disk images, which are referenced either by their numerical index or by their unique name. Due to the use of single-instance storage, the more each successive disk image has in common with previous images added to the WIM file, the less new data will be added. A WIM can also be split (spanned) into multiple parts, which have the .swm extension.

WIM images can be made bootable. Windows boot loader supports booting Windows from within a WIM file. Windows Setup DVD in Windows Vista and later use such WIM files. In this case, BOOT.WIM contains a bootable version of Windows PE from which the installation is performed. Other setup files are held in the INSTALL.WIM.



ImageX is the command-line tool used to create, edit and deploy Windows disk images in the Windows Imaging Format. It is distributed as part of the free Windows Automated Installation Kit (WAIK). Starting with Windows Vista, Windows Setup uses the WAIK API to install Windows.

The first distributed prototype of ImageX was build 6.0.4007.0 (main.030212-2037). It allowed Microsoft OEM partners to experiment with the imaging technology and was developed in parallel with Longhorn alpha prototypes. It was first introduced in Milestone 4 into the Longhorn project, and used in later builds of Longhorn. Build 6.0.5384.4 added significant advantages over previous versions, like read-only and read/write folder mounting capabilities, splitting to multiple image files (SWM), a WIM filter driver and the latest LZX compression algorithms. It has been used since pre-RC (release candidates) of Windows Vista.


Deployment Image Service and Management Tool (DISM) is a tool introduced in Windows 7[4] and Windows Server 2008 R2[4] that can perform servicing tasks on a Windows installation image, be it an online image (i.e. the one the user is running) or an offline image within a folder or WIM file. Its features include mounting and unmounting images, querying installed device drivers in an offline image, and adding a device driver to an offline image.[4][5][6] It is now possible to repair with DISM any image using either a Windows Installation CD or Windows Update[7]

Before Windows Server 2012 and Windows 8, DISM had incorporated the majority of ImageX functions but not all; ImageX was still needed for image capture.[4] However, DISM deprecated ImageX in Windows 8.[8]

Support in other operating systems

Since April 30, 2012, an open source library for handling the WIM format is available. This library can be used on Unix-like systems as well as on Windows. Thanks to this project, GNU/Linux distributions now have their own imagex clone called wimlib-imagex which allows mounting WIM images and managing them (read/write) like any other file system.[9]

As WIM images are basically using the LZX compression algorithm, they can be accessed by using file archivers like 7-Zip.

For other operating systems that might not support this format, it is still possible to convert .wim images to the more commonly used ISO image using the Windows Assessment and Deployment Kit on Windows.[10]

See also


  1. ^ "application/x-ms-wim". Retrieved .
  2. ^ "WIMCAPTURE". 2018-11-24. Retrieved .
  3. ^ "Windows Imaging File Format (WIM)". Microsoft. Retrieved 2014.
  4. ^ a b c d Savill, John (29 January 2010). "Q. What's Deployment Image Servicing and Management (DISM)?". Windows IT Pro. Penton.
  5. ^ "Deployment Image Servicing and Management (DISM) Technical Reference". Microsoft. 29 February 2012. Retrieved 2012.
  6. ^ "What Is Deployment Image Servicing and Management?". Microsoft TechNet. Microsoft. 22 October 2009. Retrieved 2012.
  7. ^ "Repair a Windows Image - Technet - Microsoft". Microsoft Technet. Microsoft. 20 October 2013.
  8. ^ "What is DISM?". TechNet. Microsoft. 18 April 2014.
  9. ^ "the open source Windows Imaging (WIM) library". Retrieved .
  10. ^ "WIM to ISO or what". September 4, 2007. Retrieved 2016.

External links

  This article uses material from the Wikipedia page available here. It is released under the Creative Commons Attribution-Share-Alike License 3.0.



Music Scenes