How To: Use DISM to Manually Inject Drivers into the Boot.wim

Version 8
Created by  https://community.ivanti.com/people/bcstring" rel="nofollow - bcstring  on Oct 11, 2013 8:29 AM. Last modified by  https://community.ivanti.com/people/ProductVersionAutoUpdate" rel="nofollow - Product Version  on Jul 11, 2016 9:19 AM.

Verified Product Versions

LANDESK Management Suite 9.5LANDESK Management Suite 9.6LANDESK Management Suite 2016.x

Issue

Sometimes it is necessary to manually inject drivers into the Boot.wim file to allow client computers to properly recognize the network card, USB3 or other devices.


This is most easily done with the Deployment Image Servicing and Management tool, commonly known as DISM. 

DISM is also the utility LANDESK Hardware Independent Imaging employs to install drivers during the HII step of Provisioning Templates and OSD Scripts.


 

Resolution

 

Here are the steps to setup for and inject the drivers into the boot.wim file with DISM.


Preparation

 

  1. Create the following folders on the root of the C drive:
    C:\Mount
    C:\Mount\Drivers
    C:\Mount\BootWIM
  2. Copy the drivers you wish to inject into the C:\Mount\Drivers folder
  3. Copy \Program Files(x86)\LANDESK\ManagementSuite\landesk\vboot\boot.wim to the C:\Mount folder.

 

Execution:


  1. Open a CMD prompt as Administrator.
  2. Navigate to "C:\Mount".
  3. Use the following DISM commands to mount the Boot.wim:
    DISM /Mount-Wim /WimFile:C:\Mount\boot.wim /Index:1 /MountDir:C:\Mount\BootWIM
  4. Use the following DISM command to add the driver:
    DISM /Image:C:\Mount\BootWIM /Add-Driver /Driver:C:\Mount\Drivers /recurse
  5. Use the following DISM command to unmount the Boot.wim:
    DISM /Unmount-Wim /MountDir:C:\Mount\BootWIM /Commit


Cleanup and Deploy

  1. Copy the newly updated Boot.WIM file from the mount folder to the \Program Files(x86)\LANDESK\ManagementSuite\landesk\vboot\ folder.
  2. If desired, you can delete the C:\Mount folder and its contents.
  3. Redeploy your PXE Rep.
  4. PXE Boot your client and verify the drivers are being correctly recognized now.
62648 Views Categories: Tags:  https://community.ivanti.com/community/landesk/systems/osd/tags#/?tags=osd" rel="nofollow -
Average User Rating: 4.5 of 5 (4 ratings)
Average User Rating
Average User Rating: 4.5 of 5
(4 ratings)