OSD – Injecting the Windows 7 Kernel Mode Driver Framework (KMDF)

OSD – Injecting the Windows 7 Kernel Mode Driver Framework (KMDF)

  1. Download the Kernel-Mode Driver from http://www.microsoft.com/en-au/download/details.aspx?id=38423
  2. 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
  3. Copy the contents to the OSD Folder location
  4. Identify location of the OSD WIM file
    1. Open ConfigMgr \ Software Library \ Operating Systems \ Operating System Images \ Select the Imaged and Open Properties \ Select Data Source and take note of image path
    2. \OSD\Operating System\Windows 7 Enterprise with Sp1 x64 – WIM only\install.wim
  5. 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 “
  6. DISM.exe /Get-WimInfo /WimFile:C:\test\images\myimage.wim /Index:1
  7. MD E:\Scratch Folder
  8. DISM.exe /Mount-Wim /WimFile:C:\test\images\myimage.wim /index:1
    /MountDir:C:\test\offline
  9. DISM.exe /Image:C:\test\offline /Get-Packages
  10. Dism /image:C:\test\offline /Add-Package /PackagePath:C:\packages\package.cab
  11. dism /get-packages /image e:\scratch
  12. dism /unmount-Image /mountdir E:\Scratch /commit
  13. dism /unmount-wim /mountdir E:\Scratch \wimMount /discard
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

Reference

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s