This is the first of a two-part guide to collecting several OS deployment tools.

Mike Taylor

Mike Taylor has been working in IT for 12 years. He is a Windows administrator, scripter and OS deployment engineer based in London.

Build overview ^

When you begin the journey into learning how to deploy a Microsoft Operating System, you quickly realise that although Microsoft provides tools that improve all the time, they leave two main gaps: WIM management and driver management. Before continuing, I want to define the core steps of any OS build:

  1. Create a baseline OS on a reference machine (aka gold, reference or master machine).
  2. Save it as an image.
  3. Deploy the build, installing drivers on the fly as needed.
  4. Optional – install applications silently.

Base lining your Reference machine ^

The first task of creating a "build", given business specifications, is to install the raw OS that you have configured to meet that specification. You then capture this as the baseline image. You can do this capture in several ways, but the easiest is free: Microsoft Deployment Toolkit (MDT).

MDT (Microsoft Deployment Toolkit) ^

MDT is the first tool for your toolkit, as it’s the front-end where you configure and automate both the capture and deployment of a build. The current version is now 2010 Update 1 with both 32-bit and 64-bit versions available and the 2012 version in beta to support SCCM 2012. Ironically, MDT depends on a second tool at the back-end to do most things during the build – the Windows Automated Installation Kit (WAIK, pronounced “wake”).

WAIK (Windows Automated Installation Kit) ^

The WAIK is the second essential tool to get and MDT even includes a download feature to fetch the WAIK for you. Note there are two versions – version 3.0 is for Windows 7 and 2008 R2 and is a 1GB download (KB3AIK_EN.ISO). The older version, 1.0 supports Vista and is an img file. Note, to support Windows 7 SP1 deployments, you also need the WAIK supplement version 3.0 (waik_supplement_en-us.iso).

Disk imaging ^

The first job you use MDT for is creating bootable media to capture the reference machine. This ultimately uses a command-line utility, ImageX, to save the disk content as a WIM. After ten years telling us not to use disk imaging technology, Microsoft capitulated and introduced two tools, first ImageX and later DISM (Deployment Image Servicing and Management) as part of the WAIK. They both provide the ability to mount, merge, capture and edit the reference WIM. They are fine at what they do but are command line only. Although I love the command line, sometimes a GUI helps, like GImageX.

Using GImageX ^

GImageX (latest version v2.0.17) is the friendly face of ImageX . It’s simple, under 200KB and written using Autoit but it does the job superbly. GImageX is easy to use but it shares a few minor idiosyncrasies of ImageX . The first is that normally you need to install the full WAIK (or Windows OPK) to use ImageX itself. As GImageX is merely an ImageX skin, it shares the same fate, but you can make it semi-portable. You just need the files from the WAIK:

  • WIMgapi.dll
  • WIMmount.inf
  • WIMmount.sys
  • WIMMountInstall.exe
  • WIMserv.exe

The magic step is simply right-click the inf and choose install, and GImageX will work.

In use, you always need to create an empty directory before you start. This is the “mount point” where you mount the WIM as a virtual file-system. When you’re ready to seal the WIM, or just discard it, the other trick is to close all files, command prompts before you un-mount the WIM. If you don’t, the WIM will un-mount, but the files will remain and you can’t mount anything in the mount directory.

OS deployment tools - GimageX - Mounting an image

GImageX - Mounting an image

OS deployment tools - Examining a WIM

Examining the contents of the WIM file inside the mount point

In my next post I will discuss some driver deployment tools.

Win the monthly 4sysops member prize for IT pros

Share
0

Related Posts

2 Comments
  1. Jim 6 years ago

    Very useful. Thank you very much.

    0

  2. Graeme 6 years ago

    Why are you doing it the hard way with ImageX? Surely Windows Deployment Services with a Capture Image is click friendly? and far simpler?

    0

Leave a reply

Your email address will not be published. Required fields are marked *

*

CONTACT US

Please ask IT administration questions in the forum. Any other messages are welcome.

Sending
© 4sysops 2006 - 2017

Log in with your credentials

or    

Forgot your details?

Create Account