Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


December 18, 2006

How can I mount a Windows Imaging Format (WIM) file so that I can view or edit its content?

RSS
Subscribe to Windows IT Pro | See More Installation Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

A. The Windows Automated Installation Kit (WAIK) includes the Imagex utility, which, in addition to facilitating the capture and deployment of WIM images, can also be used to mount a WIM file so that you can access its content.

But before you can mount a WIM file, you need to install the WIM File System Filter, which is responsible for handling all file system requests to the mounted WIM file, enabling browsing and editing of its contents. To install the WIM File System Filter, navigate to the C:\Program Files\Windows AIK\Tools\x86 folder, right-click wimfltr.inf, and select Install. This will install and activate the wimfltr.sys file system filter.

After you install the WIM File System Filter, you can mount a WIM by following these steps:

  1. Create a folder on the file system that will be used to access the WIM file content (e.g., d:\vistamount).
  2. Start a command prompt with Administrative credentials (Start, Programs, Accessories; right-click Command Prompt and select "Run as administrator").
  3. Navigate to the C:\Program Files\Windows AIK\Tools\x86 folder on a machine with WAIK installed (assuming you're running on an x86 architecture box).
  4. Run the Imagex command with the /mount switch to open the WIM file in read-only mode or the /mountrw switch to open with full read and write abilities. Use the following command syntax: imagex </mount or /mountrw> <location and name of WIM file> <image number to open in WIM file> <path to enable access to WIM file content via> For example, to mount the first image of the standard Vista install.wim file to path d:\vistamount, use the following command:

    C:\Program Files\Windows AIK\Tools\x86>imagex /mountrw d:\Sources\install.wim 1 d:\vistamount
    

    You can then modify the WIM file via standard file system manipulation tools, such as the command prompt and Windows Explorer.

    Once editing is complete, unmount using the Imagex utility with the /unmount switch, and if you wish to keep the changes made also add the /commit switch (if you don't specify the /commit switch, all changes will be lost, and you won't be prompted for confirmation). Unmounting without the /commit switch is significantly faster because it doesn't have to convert file system changes to the relevant area inside the WIM file.

    End of Article



    Reader Comments

    You must log on before posting a comment.

    If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...

Microsoft Delivers Service Pack 2 Beta 2 for Vista, Server 2008

Microsoft on Tuesday announced the availability of the Beta 2 version of Service Pack 2 (SP2) for Windows Vista and Windows Server 2008. Since both operating systems were developed from the same code base, they have a common servicing structure and thus ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing