Imaging Scripts

UPDATE 6/27/2011: Fixed yet more typos in the script.

Imaging Scripts

To make my life a little easier, I decided to make some scripts to automate WIM image creation.  Decided to share, because otherwise they aren't put to good use.

Requirements: 

- Windows Automated Installation Kit for Windows 7

I mainly use these scripts to create completely updated Windows Vista and Windows 7 installations.

Steps I take:

1 - Create a new virtual machine in VirtualBox

2 - Install Windows 7 and WAIK onto machine

3 - Attach a new drive to the Windows 7 WAIK Machine

4 - Install OS onto the new drive

5 - Boot to the new OS

6 - Update new OS, run sysprep /generalize

7 - Boot back into WAIK Machine

8 - Configure "Step 1 - Configuration.cmd" script

9 - Run "Step 2 - CreateWIM" to create an image of the new OS

10 - Repeat steps 3-9 for the number of images I'm creating

11 - Run "Step 3 - CombineWims.cmd" to combine all images together

12 - Run "Step 4 - SplitWim.cmd" to make the image readable

13 - Create Unattended settings

14 - Run "Step 5 - Make ISO.cmd" to finally create a DVD 

It helps to have multiple machines :-)

Download

Keywords: WAIK Scripts, WAIK Process