OSD – Injecting the Windows 7 Kernel Mode Driver Framework (KMDF)
- Download the Kernel-Mode Driver from http://www.microsoft.com/en-au/download/details.aspx?id=38423
- Open the MSU file with 7Zip software kmdf-1.11-Win-6.1-x64.msu and extract to a foldercalled Windows 7 KMDF 1.11
- Copy the contents to the OSD Folder location
- Identify location of the OSD WIM file
- Open ConfigMgr \ Software Library \ Operating Systems \ Operating System Images \ Select the Imaged and Open Properties \ Select Data Source and take note of image path
- \OSD\Operating System\Windows 7 Enterprise with Sp1 x64 – WIM only\install.wim
- Run Deployment and Imaging Tools Environment with Elevated Administrator Privileges – C:\Windows\system32\cmd.exe /k “C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\DandISetEnv.bat “
- DISM.exe /Get-WimInfo /WimFile:C:\test\images\myimage.wim /Index:1
- MD E:\Scratch Folder
- DISM.exe /Mount-Wim /WimFile:C:\test\images\myimage.wim /index:1
/MountDir:C:\test\offline - DISM.exe /Image:C:\test\offline /Get-Packages
- Dism /image:C:\test\offline /Add-Package /PackagePath:C:\packages\package.cab
- dism /get-packages /image e:\scratch
- dism /unmount-Image /mountdir E:\Scratch /commit
- dism /unmount-wim /mountdir E:\Scratch \wimMount /discard
[code]
DISM.exe /Mount-Wim /WimFile:"E:\OSD\Operating System\Windows 7 Enterprise with Sp1 x64 – WIM only\install.wim" /index:1 /MountDir:E:\Scratch
DISM.exe /Image:E:\Scratch /Get-Packages
Dism /Image:E:\Scratch /Add-Package /PackagePath:"E:\OSD\Operating System\Windows 7 KMDF 1.11\Windows6.1-KB2685811-x64.cab"
DISM.exe /Image:E:\Scratch /Get-Packages
Package Identity : Package_for_KB2685811~31bf3856ad364e35~amd64~~6.1.1.11
State : Install Pending
Release Type : Update
Install Time : 28-Nov-2014 5:10
dism /unmount-Image /mountdir:E:\Scratch /commit
[/code]
Reference
- Kernel-Mode Driver Framework version 1.11 update for Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2 – http://support.microsoft.com/kb/2685811
- https://deploymentramblings.wordpress.com/2013/10/24/osd-injecting-the-windows-7-kernel-mode-driver-framework-kmdf/
- http://wibier.me/deploy-the-windows-7-kernel-mode-driver-framework-kmdf-with-configmgr-2012/
- http://technet.microsoft.com/en-au/library/hh824814.aspx
- https://4sysops.com/archives/windows-7-dism-how-to-mount-manage-and-service-wim-images/
- http://activedirectory.ncsu.edu/services/imaging/windows-deployment-services/mounting-wims-with-dism/