Installing Drivers to a File Based Image (WIM)
As it is the intention of Windows PE to be as small and light as possible, it does not come with a huge number of network card drivers. One missing driver is the VMware (AMD Virtual) network card. To add it, you can use the peimg utility. Just give it the path to the inf file and you can install the driver right into your mounted file based image...
Prepare the folder structure needed (if you have not already):
copype.cmd x86 c:\images\winpe
Mount the image for editing:
imagex /mountrw c:\images\winpe\winpe.wim 1 c:\images\winpe\mount
Now get your VMware NIC driver. The easiest way is to start up a VMware session and choose the “Install VMware Tools” option. Don’t worry if you already have them installed—all this does is mount a VMware Tools installation CD (which may autorun to perform an installation, for which you may just press “exit”). In the CD that appears in your VMware session, go to: E:\Program Files\VMware\VMware Tools\Drivers\vmxnet\win2k\ and copy these files to your host system. Now we can use the peimg utility to mount the driver.
Install the driver:
peimg /inf=
Now that you have the NIC driver installed, close that image back up and recreate your ISO…
Unmount image:
imagex /unmount c:\images\winpe\mount /commit
Copy your new wim over the boot.wim:
copy c:\images\winpe\winpe.wim c:\images\winpe\iso\sources\boot.wim /y
Build your new ISO:
oscdimg –n –bc:\images\winpe\etfsboot.com c:\images\winpe\iso c:\images\winpe\winpe.iso

Email This!
Digg it!
Del.icio.us
Reddit!
Newsvine