World Library  
Flag as Inappropriate
Email this Article

Windows Imaging Format

Article Id: WHEBN0003632045
Reproduction Date:

Title: Windows Imaging Format  
Author: World Heritage Encyclopedia
Language: English
Subject: .NET Framework, Disk images, Technical features new to Windows Vista, WIM, Comparison of disc image software
Collection: Archive Formats, Disk Images, Windows Server 2008, Windows Vista
Publisher: World Heritage Encyclopedia

Windows Imaging Format

Windows Imaging Format
Filename extension .wim .swm
Magic number MSWIM
Developed by Microsoft
Type of format Disk 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 Windows operating system family, as well as Windows Fundamentals for Legacy PCs.[1]


  • Design 1
  • Tools 2
    • ImageX 2.1
    • DISM 2.2
    • Support in other operating systems 2.3
  • See also 3
  • References 4
  • External links 5


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[2] and Windows Server 2008 R2[2] 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.[2][3][4]

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

Support in other operating systems

Since April 30, 2012, an open source library dedicated in handling the WIM format, has been made available. This library can be used on UNIX-like systems as well as on Windows. Thanks to this project, GNU/Linux distributions have now their own imagex clone called wimlib-imagex which allows to mount WIM images and manage them (read/write) like any other file systems.[6]

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

See also


  1. ^ "Windows Imaging File Format (WIM)".  
  2. ^ a b c d Savill, John (29 January 2010). "Q. What's Deployment Image Servicing and Management (DISM)?".  
  3. ^ "Deployment Image Servicing and Management (DISM) Technical Reference".  
  4. ^ "What Is Deployment Image Servicing and Management?".  
  5. ^ "What is DISM?".  
  6. ^ "wimlib, a library to create, extract, and modify Windows Imaging (WIM) files". Retrieved 4 May 2014. 

External links

  • Windows Imaging Format Whitepaper that describes the internal file structure of WIM files
  • ImageX and WIM Image Format at Microsoft TechNet
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.