In this post we are going to walk through the basics of creating a Windows Vista 5308 - Feb CTP image. This will be a single partition image, but the concept here can be used for creating any type of image. Before you begin make sure you have downloaded the WAIK for the FEB CTP and the Windows Vista Feb CTP build.
Preparing the tools necessary:
- Install WAIK (available on connect) on a Windows Vista or Windows XP machine.
- Create Unattend.XML using the Windows System Image Manager. Note: We will cover this in more detail in a future post, but for now see help file included in the WAIK.
- Copy appropriate imaging tools to c:\vistawim.
- For an x86 image copy c:\program files\Windows AIK\Tools\x86\
- For an x64 image copy c:\program files\Windows AIK\Tools\amd64\
- For an ia64 image copy c:\program files\Windows AIK\Tools\ia64\
- Copy c:\windows\system32\XmlRW.dll to c:\vistawim.
- Create c:\vistawim\wimscript.ini that contains the following. This is an exclusion list of things not to capture in the WIM you add any additional files you wish. If you use a name other than wimscript.ini you would need to pass the file name on the command line with /config.
[ExclusionList]
Hiberfil.sys
Pagefile.sys
Boot.ini
"System Volume Information"
C:\RECYCLER
Copy c:\vistawim to your WinPE CD or another location accessible from WinPE.
Creating an image:
- Install Feb CTP.
- Install and configure any software you would like in the image.
- Install Unattend.XML to sysprep folder.
- Right click c:\windows\system32\sysprep\sysprep.exe and select Run elevated.
- Click Allow on the Consent Dialog.
- Select Generalize and Select Shutdown in the dropdown and click Okay.
- Reboot machine into WinPE
- Create a C:\Image folder if one does not exist
- ximage /capture c: c:\image\image.wim “My 5308 Image”
Optionally, split the WIM (4000 is under 4GB and fits comfortably on a DVD):
· ximage /split c:\image\image.wim c:\image\split.swm 4000
Note: you will need about half as much free space as the amount of data on the drive.
- Reboot into OS. This completes the mini-setup
- Burn the image to a DVD.
Deploying an image:
- Boot into WinPE.
- Partition drive as desired with diskpart.
- Format c: /fs:ntfs /q
- Browse to vistawim (see above)
If using a single WIM
· Ximage /apply c:\image\image.wim 1 c:
If using split WIMs:
· Copy all SWM files to a local drive – in this example, c:\image\ again.
· Ximage /ref c:\image\*.swm /apply c:\image\split.swm 1 c:
- Run bootsect /nt60 SYS
- cd c:\windows\system32
- bcdedit /set {default} osdevice boot
- bcdedit /set {default} device boot
- bcdedit /set {default} detecthal 1
- Reboot and OOBE completes the image process.
Your Done!
You have now successfully created a Windows Vista Feb CTP image. Let me know how your image comes out.
Posted
Mar 01 2006, 05:54 PM
by
Josh Phillips
Follow Me on Twitter
Did you enjoy this article? If yes, then subscribe to our

or