+ Post New Thread
Results 1 to 6 of 6
O/S Deployment Thread, Update drivers in WIM image for use with USB install in Technical; I have built up an install media on a USB stick for windows 7 testing. It is our full build ...
  1. #1
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,316
    Thank Post
    83
    Thanked 47 Times in 33 Posts
    Rep Power
    31

    Update drivers in WIM image for use with USB install

    I have built up an install media on a USB stick for windows 7 testing.
    It is our full build and works well on the motherboard type I created it on Intel 965.
    With one driver install it also works well on Intel boards DG33.

    I've tried it on our latest boards Intel DH55's and the following appear with exclamation marks in device manager.

    Ethernet Controller
    PCI Serial Port
    PCI Simple Communications Controller

    Can anyone point me to a good resource which step by step shows how to inject the drivers from the DH55 Driver CD in to my custom WIM file and repackage?

    Thanks.

  2. Thanks to kennysarmy from:

    speckytecky (19th January 2012)

  3. #2


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,802
    Thank Post
    231
    Thanked 883 Times in 759 Posts
    Rep Power
    300
    You may need to do this if the sata / network drivers are not built in. Sata important full stop network if you plan to use wds (mdt can add its own drivers you just need to remake the boot images but you will still need to do this if you plan to wds out the image at a later stage)

    on a pc/server download and install the latest version of windows aik (about 1.6gb iirc so go have a coffee)

    go to start\all programs\microsoft windows aik\deployment tools command prompt (if you are on a pc/server with uac enabled then run as administrator or it wont work)

    to make it simpler copy the boot.wim and install.wim from your install media to say d: and make a temp dir on d: called mount

    first you need to work out which part of the image to mount so type the following

    dism /Get-WimInfo /WimFile:d:\boot.wim
    or
    dism /Get-WimInfo /WimFile:d:\install.wim

    if its boot.wim personally I add drivers to both parts 1 and 2 to be on the safe side with install you probably want index 3 pro and can probably safely ignore the rest apart from possibly ultimate (4 I believe)

    now to mount the image to the mount dir (this allows for adding drivers but you can also manually add any files you want as well

    dism /Mount-Wim /wimfile:d:\boot.wim /index:1 /MountDir:d:\mount
    or
    dism /Mount-Wim /wimfile:d:\boot.wim /index:2 /MountDir:d:\mount
    or
    dism /Mount-Wim /wimfile:d:\install.wim /index:3 /MountDir:d:\mount

    while waiting now is a good time to extract all your drivers so they are in sensible folders and contain .inf/.cab files (exe/zip files arenít any use) best bet is to create another temp file on d called drivers then have drivers\audio drivers\video etc you may as well add any drivers you can that way when booted into win7 properly the pc will have them all installed (there are some exceptions apply to this for instance hp quicklaunch keyboard stuff needs running from the exe)

    DISM /image:d:\mount /Add-Driver /driver:d:\drivers\ /recurse

    if you have a lot of drivers this again may take a while

    when thatís finished you need to write this back to the wim file make sure you have the /commit on the end or you will have done nothing

    dism /Unmount-Wim /MountDir:d:\mount /commit

    repeat for any other wim files/indexes needed. Boot.wim is basically winpe so this needs to be done for wds and initial boot from dvd/pen drive. Install.wim is the actual windows 7 you will install

  4. #3
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,316
    Thank Post
    83
    Thanked 47 Times in 33 Posts
    Rep Power
    31
    All sounds pretty straight forward - though doing anything for the first time is often a bit worrying in case you break it lol

    My only question is about knowing which drivers on the DVD to extract:

    Attached is my "tree" of the drivers folder off the motherboard DVD.

    How do I work out for my 32bit win7 installation which of the drivers I need?

    Sorry if that's a thick question.
    tree.txt

  5. #4


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,802
    Thank Post
    231
    Thanked 883 Times in 759 Posts
    Rep Power
    300
    Quote Originally Posted by kennysarmy View Post
    All sounds pretty straight forward - though doing anything for the first time is often a bit worrying in case you break it lol

    My only question is about knowing which drivers on the DVD to extract:

    Attached is my "tree" of the drivers folder off the motherboard DVD.

    How do I work out for my 32bit win7 installation which of the drivers I need?

    Sorry if that's a thick question.
    tree.txt
    dont worry it will only install drivers that are the right architecture

  6. #5
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,316
    Thank Post
    83
    Thanked 47 Times in 33 Posts
    Rep Power
    31
    It has part-worked.

    Ethernet Controller - tick - now not in other devices.
    PCI Serial Port - nope - still in other devices
    PCI Simple Communications Controller - nope - still in other devices

    Also the last time the VGA initial resolution was wrong, this time it's OK - so that was also fixed by injecting the drivers.

    If I try to update the drivers from the D:\drivers folder inc. subfolders obviously it says it cannot find the driver software.

    If I point it at the original driver CD it does find the drivers for:
    PCI Serial Port and says it is "Intel(R) Activee Management Technology - SOL

    If I point it at the original driver CD it does find the drivers for:
    PCI Simple Communications Controller and says it is "Intel(R) Management Engine Interface

    I think I have found the drivers for these on a sub-folder on the original CD called "IMEI".

    I will try again but this time add these drivers as well.

  7. #6


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,802
    Thank Post
    231
    Thanked 883 Times in 759 Posts
    Rep Power
    300
    some drivers are packages as .exe files and you cant inject them as drivers (you can add them as a runonce task at the end though) and iirc it wont allow you to add unsigned drivers either

SHARE:
+ Post New Thread

Similar Threads

  1. WIM Drivers
    By vasto in forum O/S Deployment
    Replies: 3
    Last Post: 3rd November 2010, 03:16 PM
  2. [WDS] Inject drivers into WIM file
    By dezt in forum O/S Deployment
    Replies: 6
    Last Post: 23rd June 2010, 10:28 AM
  3. [WDS] WIM XP SP3 Image Problems
    By pritchardavid in forum O/S Deployment
    Replies: 2
    Last Post: 13th May 2010, 12:53 PM
  4. [WDS] Bootable WIM Image
    By Gatt in forum O/S Deployment
    Replies: 0
    Last Post: 20th January 2010, 01:33 PM
  5. Replies: 10
    Last Post: 30th August 2007, 10:52 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •