WAIK 1.1

In the shadow of yesterdays Microsoft RTM announcements, another product team has released a new version: The Automated Installation Kit (AIK) has been updated for Windows Server 2008 and Vista SP1.

According to the Microsoft Download page, this version of the WAIK Tools will support the following OS’s:

Windows Vista
Windows Vista Service Pack 1
Windwos Server 2008
Windows Server 2003 Service Pack 1 with KB926044
Windows Server 2003 Service Pack 2
Windows XP Service Pack 2 with KB926044

Microsoft’s Michael Niehaus, advises:

It also includes the new Windows PE 2.1 version, a minor update to the existing Windows PE 2.0 version. Images created with WAIK 1.0 are fully compatible with those created with WAIK 1.1 — there are no changes to the WIM file format.

Extending a virtual hard disk with Windows PE

I tend to do a lot of my development work using virtualisation, usually VMware Server or Workstation. Quite often I build a VM and realise once I start using it that I need more hard disk space. It’s easy enough to slap another virtual disk in and just add another disk, but what if you just want to make the current disk bigger?

I’ve found there’s a way to do this that is quite painless, and is possible with the tools that I use daily – admittedly it doesn’t mean that you use them daily, but maybe you do: WinPE from the Windows Automation Installation Kit (WAIK), and vmware-vdiskmanager.exe which is installed as part of VMware Workstation or Server.

First of all we need to open up cmd.exe and run the following command from within the VMware Workstation/Server folder:

vmware-vdiskmanager.exe -x

In this example, we’re going to extend the hard disk in a 2003 server VM from 8GB to 10GB:
VMware-vdiskmanager.exe Extend Example

Next, we boot the Virtual Machine with a WinPe disk. We’re not going to go into the details of preparing a PE disk now, but the documentation can be found here.

Once the VM has booted into PE, we want to use the diskpart utility.
Windows PE - Diskpart Extend example
As you can see, checking the volumes after the extend shows that we now have 10GB available for use. A reboot back into the guest OS and we’re back in business, and we didn’t even have to break out Partition Magic!