- Windows Imaging Format
Infobox file format
name = WIM image format
extension = .wim .swm
mime =
genre =Disk image
containerfor =
containedby =
owner =Microsoft
extendedfrom =
extendedto = The Windows Imaging Format (WIM) is afile -baseddisk image format. It was developed byMicrosoft to deploy its latest Windowsoperating system releases,Windows Vista andWindows Server 2008 , which use it as part of their standard installation procedure. It works equally well with legacy versions of Windows however, and indeed is used as part ofWindows Fundamentals for Legacy PCs .Design
Like other
disk image formats, a WIM file contains a set of files and associatedfilesystem metadata . However, unlike sector-based formats (such as .ISO, .CUE/.BIN used for CD and DVD images), WIM is file-based, which means that the smallest unit of information is a file. The primary advantages of it being file-based include hardware independence and unique storage of a file referenced multiple times in the filesystem tree (single instance storage ).Although the architecture is file based, the files are nevertheless stored inside a single WIM database, thereby reducing the SMB overhead of opening and closing many individual files at that end of the data transfer. 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 images need to be deployed to an existing volume or partition as the toolset does not create low-level disk structures such as partitions, nor does it format them. Microsoft provides a command-line tool called DiskPart for creating and formatting new volumes.
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.ImageX
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 withWindows Vista , Windows Setup uses the WAIK API to install fresh as well as cloned installation of Windows.The first developed 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.
=CustomizingA WIM image can also be mounted as a new volume under Windows with a drive letter associated in order to facilitate easier extraction or updating of its contents. (For example, a WIM image can be converted into an
ISO image using this approach). Adevice driver named WimFltr.sys needs to be loaded before a WIM image can be mounted using ImageX however.Lastly, a set of public APIs for manipulating WIMs have also been released, with the required functionality contained in WIMGAPI.DLL, thereby allowing developers to write their own tools too. A number of third party applications have therefore included the capability to read or write WIM files.
WIM images can be made bootable, as is the case with Windows Vista's setup DVD. In this case, BOOT.WIM contains a bootable version of
Windows PE from which the installation is performed. Other setup files are contained in the file INSTALL.WIMee also
*
Windows Preinstallation Environment
*System Deployment Image References
* [http://download.microsoft.com/download/f/e/f/fefdc36e-392d-4678-9e4e-771ffa2692ab/Windows%20Imaging%20File%20Format.rtf Windows Imaging Format Whitepaper that describes the internal file structure of WIM files]
* [http://www.microsoft.com/technet/windowsvista/evaluate/feat/deplovw.mspx ImageX and WIM Image Format] atMicrosoft TechNet
* [http://filext.com/detaillist.php?extdetail=WIM File Extension Details for .WIM] at filext.com
Wikimedia Foundation. 2010.