Posts

Showing posts from August, 2009

Building WinPE with Windows 7 AIK

I was having problems getting the new AIK for Win7 working,
there were a few bugs to work around, so I have documented my process here, with
all my notes.
To create a WinPE CD for Windows 7 follow these
directions. This is for an x86 version.



Start by creating a place to store some scripts and config files called c:\WinPE-tools

mkdir c:\WinPE-tools



Copy and paste this into a file called c:\WinPE-tools\startnet.cmd

@Echo OFF

wpeutil InitializeNetwork

ping localhost

net use z: <server share> <password> /user:<domain\user-id>

wpeinit

CLS

z:





Copy and paste this into a file called c:\WinPE-tools\wimscript.ini

[ExclusionList]

ntfs.log

hiberfil.sys

pagefile.sys

"System Volume Information"

RECYCLER

Windows\CSC

[CompressionExclusionList]

*.mp3

*.zip

*.cab

\WINDOWS\inf\*.pnf







Now, let's create your WinPE image:



Open the Deployment Tools Command Prompt.

copype.cmd x86 c:\winpe_x86



You should be at c:\winpe_x86 when it completes.



Mount the image.

DISM.exe /Mount-Wim /WimFile:C:\winpe_x86\winpe.…