Jump to content




Sign in to follow this  
wmmayms

Guide: Adding drivers to a custom winPE (3.0)



Recommended Posts

Here are the command needed to add drivers to a custom WIM

 

1. Make sure you have Windows Automated Installation Kit installed (make sure you have the latest version)

2. Open "Deployment Tools Command Prompt" (Start -> All programs -> right click on Microsoft Windows AIK, choose Run As administrator)

3. Copy base files to c:\winpe (change x86 to amd64 for 64bit)

copype x86 c:\winpe  

post-2500-12798817549858_thumb.jpg

 

4. Mount imagefile

Dism /mount-wim /wimfile:c:\winpe\winpe.wim /index:1 /mountdir:c:\winpe\mount 

post-2500-12798817749401_thumb.jpg

 

5. Copy all drivers into a catalog for example c:\temp

post-2500-12798818339966_thumb.jpg

 

6. Inject custom drivers

Dism /image:C:\winpe\mount /Add-Driver /driver:C:\temp /recurse  

post-2500-12798822654674_thumb.jpg

 

7. Look what drivers are installed

Dism /image:C:\winpe\mount /get-drivers   

 

8. Save the changes

Dism /Unmount-Wim /MountDir:C:\winpe\mount /Commit  

post-2500-12798822923904_thumb.jpg

 

9. Change format from Windows Image format so we can boot from the file

copy c:\winpe\winpe.wim c:\winpe\iso\sources\boot.wim 

post-2500-1279882372692_thumb.jpg

 

And that is it!

You can now use this file (c:\winpe\iso\sources\boot.wim) in SCCM or burn it to a ISO (look at this post for info on that)

 

Cheers!

Edited by anyweb
added right click on Microsoft Windows AIK, choose Run As administrator

Share this post


Link to post
Share on other sites


Btw has any of you got vmware tools drivers working in winPE?

 

The mouse support would be great in a lab/test environment!

Share this post


Link to post
Share on other sites

the mouse works fine here in winpe on our vmware servers (vsphere v.4.0)

Share this post


Link to post
Share on other sites

Whats the difference between using dism to inject drivers into your boot image and using the options within SCCM to add drivers?

 

If you right click a boot image within sccm (2012 sp1) go to properties, there is a drivers tab with a starburst to add a driver.

 

Do these effectively do the same thing?

 

Thanks for any clarity you can provide.

 

-Matlock

Share this post


Link to post
Share on other sites

If nothing fancy is required, just use the ConfigMgr console to add drivers to the boot image. Only drivers added via the console, to a boot image, will show in the console in the properties of the boot image.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


×