The Deployment Bunny

OS Deployment, Virtualization, Microsoft based Infrastructure…

  • Archives

  • Meta

Archive for the ‘WinPE’ Category

OS Deployment PreCon(s)–Spring and Summer 2012

Posted by Mikael Nystrom on March 3, 2012

This spring I will deliver 3 PreCons on the topic of OSD or Operating System Deployment. All these three will bi similar, we will cover both the basics and the really advanced topics. The focus will be on Windows 7 deployment, but we will also cover Windows 8 and Server Deployment. The tools that we will cover are MAP/ACT, WAIK/ADK, WDS, MDT and SCCM (and then some). The hardware vendors that we will cover are HP, Dell and Lenovo. We had some questions regarding the level of these sessions, so I did an interview with Michael Niehaus

Microsoft TechDays 2012

  • Date: 24th of April 2012
  • Speakers: Mikael Nystrom and Johan Arwidmark
  • Language: Swedish
  • Location: Örebro, Sweden

Microsoft TechEd North America 2012

  • Date: 10th of June 2012
  • Speakers: Mikael Nystrom, Michael Niehaus and Ben Hunter
  • Language: English
  • Location: Orlando, US

Microsoft TechEd Europe 2012

  • Date: 25th of June 2012
  • Speakers: Mikael Nystrom, Michael Niehaus and Ben Hunter
  • Language: English
  • Location: Amsterdam, NL

Posted in ACT, Deployment, Drivers, Lite Touch, MAP, MDT, SCCM, SCVMM, TechEd, Windows 7, Windows 8, WinPE | Tagged: | 3 Comments »

Back to basic: Adding drivers to WinPE (or a normal image) in Offline mode

Posted by Mikael Nystrom on September 19, 2011

A couple of days ago someone asked me, –“Is this correct syntax for Imagex.exe and peimg.exe to inject drivers in WinPE”?

IMHO, Imagex and Peimg should not be used anymore; they belong to the “Generation-Vista”. Today we use other methods. Here is how you inject drivers in to a wim image, both a WinPE and a normal deployment image. So make sure you use WAIK for Windows 7 and WinPE 3.0

The following commands will mount an existing WinPE wim file first index. This is fine when you create your own WinPE, but if you are to use this Image in WDS you need to mount Index 2 and inject the drivers there. We also run two /Get-Drivers, this is an easy way to see the before and after, not really needed when you do it in a script.

dism /Mount-Wim /Wimfile:"c:\WinPEx64\winpe.wim" /MountDir:"C:\WinPEx64\mount" /Index:1
dism /Image:"C:\WinPEx64\mount" /Get-Drivers
dism /Image:"C:\WinPEx64\mount" /Add-Driver /Driver:"C:\USB3Driver\sp47527\Files\x64\nusb3drv.inf"
dism /Image:"C:\WinPEx64\mount" /Get-Drivers
dism /Unmount-Wim /MountDir:"C:\WinPEx64\mount” /Commit

If you need to add more then one driver, you can modify the script so it looks like this instead

dism /Mount-Wim /Wimfile:"c:\WinPEx64\winpe.wim" /MountDir:"C:\WinPEx64\mount" /Index:1
dism /Image:"C:\WinPEx64\mount" /Get-Drivers
dism /Image:"C:\WinPEx64\mount" /Add-Driver /Driver:C:\Drivers /recurse
dism /Image:"C:\WinPEx64\mount" /Get-Drivers
dism /Unmount-Wim /MountDir:"C:\WinPEx64\mount” /Commit

Just a quick note: It is possible to use WDS to inject drivers. If you have MDT and/or SCCM this “feature” is a part of those solutions.


Posted in Deployment, WinPE | Tagged: , | Leave a Comment »