Title: Embed USB3.0 driver into win7 image package Create:2019-12-22 ◊ :1162

:2019-12-22 17:56
: TabKey9   :0   :0  


MacBook Air is installed with Win7, and the solution to mouse and keyboard failure is to implant USB 3.0 driver into the image package!

 Integrating USB 3 drive.jpg for the original image of Win7

Step 1

Extract the original ISO of win7 directly with winrar. I use the 64 bit win7 Enterprise Edition. Find the "boot. wim" and "install. wim" image files in the sources folder and copy them to the computer hard disk for backup.


Step 2

Add a new folder named win7 in the location other than the C disk (D disk for demonstration) of the computer, and add two subfolders mount and usb3 in this folder.
Then put the boot.wim and install.wim image files just copied to the hard disk into the win7 folder.


Step 3
After unzipping the downloaded USB 3.0 driver, find the Drivers folder and copy it to the usb 3 subfolder.


Step 4
The Drivers folder contains two subfolders: HCSwitch and Win7, and each of these subfolders contains two x64 and x86 driver folders
The demonstration here is a 64 bit win7 system, so you can delete x86 folders.


Enter d: (press Enter)
Enter cd win7 (press Enter)


Then copy and paste the following instructions to mount the image, and search the XHCI drive in the usb3 folder and put it into the boot.wim image file. Implement one by one:


    dism /mount-wim /wimfile:boot.wim /index:2 /mountdir:mount
    dism /image:mount /add-driver:"usb3" /recurse
    dism /unmount-wim /mountdir:mount /commit

After executing the above command, the usb 3 driver will be integrated as the boot.wim file. Next, continue to integrate install.wim. Same command:


    dism /mount-wim /wimfile:install.wim /index:4 /mountdir:mount
    dism /image:mount /add-driver:"usb3" /recurse
    dism /unmount-wim /mountdir:mount /commit


Now the USB 3 driver has also been integrated into install.wim.

In the command to mount install.wim, the index: the following number is also different for different win7 versions. I installed the flagship version for my boss, and the corresponding number for the flagship version is 4. That is, if the command to mount is marked "index: 4", you can try it one by one.  


Step 6

After the two files are added to the driver, copy them back to the original sources folder, so that the installation disk of win7 is added to the driver.


It should be noted that Intel 8/9/100 series/C220/C610 chipset and Intel 7 Series/C216 chipset drivers are not universal


-----------------------------------------------------------------

Reprint: Integrate the USB 3 driver for the original image of Win7

And other related articles/resources:

1、 When installing Win7 for Mac, the mouse and keyboard are lost when selecting the language and entering the user name for the last one

2、 Boot Camp Support Software 5.1.5640

3、 How to avoid the minefield for MacBook Air to reinstall win7 system

4、 Download various genuine images