Welcome to TechNet Blogs Sign in | Join | Help

Off Campus

Michael Greene - Virtualization Specialist - US Education

News

  • The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Inappropriate comments will be deleted at the authors discretion. All code samples are provided "AS IS" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

    Subscribe as Email

    Plot my visitors on Virtual Earth

    My TechNet Edge Profile

    Blue Monster

Use ImageX without installing WAIK

I've heard a few people actually say ImageX.exe is included with Vista.  That's not technically accurate.  ImageX is most certainly a value add to Vista but it is packaged separately in a download called "WAIK" or Windows Automated Installation Kit.  So let's say you want to use ImageX but don't want to run the full WAIK install.  You copy imagex to a separate machine and run it.  Works, but certain things fail, why?  There are a number of other files you'll want to copy in addition to the EXE.  To mount a WIM read/write and do other interesting things copy these files (everything in the same folder).  Combine their total size is 1.01 MB.

imagex.exe
intlcfg.exe
wimfltr.inf
wimfltr.sys
wimgapi.dll

Ok, now you attempt to mount read/write and you receive an error that imagex was unable to find the file?  That's because it needs to load the filter to be able to mount an image stored within the WIM.  WIM supports single instance storage and allows appending a new image to an existing file.  This considerably saves file size and disk space but does mean you need to install the wimfltr.inf file.

Simply open the folder in Windows Explorer, right click on wimfltr.inf and click "install".  Approve the UAC prompt.  Done.  If you need to script the install or want to run it from the command line, by using the context menu you actually executed the following command.

%SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 <filename.inf>

Posted: Monday, December 04, 2006 7:00 AM by michael.greene
Filed under: ,

Comments

The Daily Ramblings of an SMS Engineer said:

From Michael Greene&rsquo;s TechNet blog. Source . Use ImageX without installing WAIK I've heard a few

# December 4, 2006 3:12 PM

... said:

Si [URL=http://www.marasti.cn/orecchino] orecchino dal [/URL] persone.

# March 8, 2008 10:01 PM

Idiots said:

What tool at M$ thought bundling a useful 1Mb utility in with a 1Gb download was a good idea??

And while I'm at it, what equal dumb **** thought that making the Vista install DVD wholly dependent on one enormous flaky file was 'the way to go'.

What was wrong with the i386 directory and a re-copy-all-files-if-the-OS-gets-corrupted huh? Oh that's right, no-one at M$ thinks their software ever goes wrong. Read the forums numbnuts, it's full of legitimate people with install.wim errors.

Tools.

# October 30, 2008 11:31 AM

0sten said:

Thank you for this note.

ImageX is a great tool, but I lost two days to find out why I can't mount any wim file while all other works well.

Combined with GimageX GUI it's almost perfect.

# April 6, 2009 6:17 PM

AndyR said:

Thanks for this I was tearing my hair out tring to work out why my command was not working!

How simple the solution is!

# May 6, 2009 7:29 AM

Jean-Yves said:

Thanks for this useful tip.

In your post you gave the command line installation of the "Windows Image File Filter Driver" .

I want to script the unstallation regarding this driver .

How can I do that ?

Thanks in advance.

# June 24, 2009 8:15 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker