Windows OS Hub
  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux

 Windows OS Hub / Windows 11 / Adding USB 3.0 and NVMe Drivers to Windows 7 Install Media

March 11, 2024 Windows 11Windows Server 2019

Adding USB 3.0 and NVMe Drivers to Windows 7 Install Media

The Windows 7 RTM distribution doesn’t support USB 3.0 and NVME controllers out-of-the-box, and you can encounter some problems when installing Windows 7 on a computer/laptop having USB 3.0/3.1 ports only or with an SSD drive connected via a PCI Express bus (NVMe). For example, a USB keyboard and mouse may not work in Windows 7 Setup, or the installer may require you to load drivers for USB/NVMe ports or devices:

A required CD/DVD drive device driver is missing. If you have a driver’s floppy disk, CD, DVD, or USB flash drive, please insert it now.
Note: If the Windows installation media is in the CD/DVD drive, you can safely remove it for this step.

A required CD/DVD drive device driver is missing. If you have a driver floppy disk, CD, DVD, or USB flash drive, please insert it now.

Accordingly, you cannot install Windows 7 (or Windows Server 2008 R2) on a computer on which all peripheral devices are connected via USB 3.0 ports. Or the Windows Installer will not see the PCI Express (NVMe) SSD.

All of the Windows 7 installation image modification operations described below are performed on a computer running Windows 10.

Contents:
  • How to Inject USB 3.0 Driver into Windows 7 Install Media?
  • How to Install Windows 7 to NVMe SSD?

The Enhanced Host Controller Interface is not supported in the Intel chipsets starting from the 100 and 200 series (B150, H110, H170, Q150, Q170, Z170, Intel Apollo Lake), similar AMD chipsets and chipsets from other vendors. Therefore USB 3.0 ports are simply not recognized by the Windows 7 installer.

How to Inject USB 3.0 Driver into Windows 7 Install Media?

To install Windows 7 on some computer models, you can disable USB 3.0 mode in BIOS settings by switching to USB 2.0 compatibility mode (Legacy USB 2.0). In all other cases, you will have to modify Windows 7 install distro and integrate USB 3.0 drivers for your motherboard chipset to the boot and install WIM images.

Some motherboard vendors released special tools to integrate their USB drivers into your Windows 7 install image. Examples: ASRock (Win 7 USB Patcher), MSI (MSI Smart Tool), Intel (Windows USB Installation Tool for Windows 7), Gigabyte (Windows USB Installation Tool), etc. In this article, we will show you how to manually integrate USB drivers into the Windows 7 installation image without using third-party utilities.

First of all, find and download USB 3.0 drivers for your chipset from the vendor’s website (in our example, it is Intel® USB 3.0 eXtensible Host Controller Driver for Intel® 7 Series/C216 Chipset Family). Create a new directory c:\tmp, and create two subfolders inside it: mount and USB3. Extract the driver archives to the USB3 folder. You can create several subfolders with different USB 3.0 drivers for popular chipset models inside the USB3 catalog.

Next, you need to integrate your drivers into the Windows 7 installation image (it may be an ISO file or a ready image copied to the installation USB stick). You need to copy two WIM files from the ISO image or Windows 7 installation media to the local c:\tmp directory on your drive.

  • \sources\boot.wim – WinPE boot image used to boot the computer and run Windows Setup;
  • \sources\install.wim – Windows 7 image that will be installed on your computer.

Windows 7 boot.wim and install.wim

If you have several *.swm (split wim) files instead of an install.wim file, you can convert them into one file. Check the number of indexes in the file:

DISM /get-wiminfo /wimfile:install.swm

Now export each install.swm index into a single WIM file:

DISM /export-image /sourceimagefile:install.swm /swmfile:install*.swm /sourceindex:1 /destinationimagefile:install.wim /compress:max
DISM /export-image /sourceimagefile:install.swm /swmfile:install*.swm /sourceindex:2 /destinationimagefile:install.wim /compress:max

Open an elevated command prompt  Now mount the WinPE boot image (boot.wim) to the c:\tmp\mount directory and integrate the USB 3.0 drivers into it using DISM commands (according to the guide How to add drivers to a Windows image):

dism /mount-wim /wimfile:c:\tmp\boot.wim /index:2 /mountdir:c:\tmp\mount
dism /image:c:\tmp\mount /add-driver:"c:\tmp\usb3" /recurse

dism /image:c:\tmp\mount /add-driver usb

The /recurse option will force DISM to scan all subdirectories in the specified folder and add all drivers from found inf files.

The following message indicates that the specified USB3 driver was successfully added to the boot.wim image of the Windows 7 Setup environment:

Installing 1 of 6 — c:\tmp\usb3\Drivers\HCSwitch\x64\iusb3hcs.inf: The driver package was successfully installed.

Save the changes in the image and unmount the boot.wim file (to avoid DISM errors, make sure that you closed all File Explorer windows and the file managers, which has the c:\tmp\mount directory open):

dism /unmount-wim /mountdir:c:\tmp\mount /commit
dism /cleanup-wim

Similarly, you need to update the operating system installation image in the install.wim file. The main difference here is the install.wim image can contain several editions of Windows 7 with different indexes. So, you will have to add drivers to that Windows edition you are going to deploy on your desktop computers (or inject drivers to all available Windows 7 editions in turn).

You can list the available Windows 7 editions in the install.wim image as follows:

dism /Get-WimInfo /WimFile:c:\tmp\install.wim

dism Get-WimInfo

In our example, there are 4 different Windows editions in the install.wim image. We’ll add the USB 3.0 driver to Windows 7 PROFESSIONAL with the index 3 (this number will be used to address the edition in the DISM commands).

Then add the USB 3.0 drivers to the Windows install image as we did it above:

dism /mount-wim /wimfile:c:\tmp\install.wim /index:3 /mountdir:c:\tmp\mount
dism /image:c:\tmp\mount /add-driver:"c:\tmp\usb3" /recurse
dism /unmount-wim /mountdir:c:\tmp\mount /commit
dism /cleanup-wim

If you are using a USB flash drive as the installation source, be sure to copy the boot.wim and install.wim files back after injecting the drivers.

You can also use IDSM to integrate the latest security updates into your Windows installation image.

How to Install Windows 7 to NVMe SSD?

In this part, we’ll show you how to create an NVM Express (NVMe)-enabled Windows 7 boot image for hard drives (typically SSDs) connected via a PCI Express (PCIe) bus.

When you try to install Windows 7 on a computer with an NVMe disk, the Windows installer will simply not see the SSD drive connected through this bus.

No drives were found. Click Load Driver to provide a mass storage driver for installation.

windows setup not recognized nvme ssd No storage drives were found

Windows 7 SP1 and Windows Server 2008 R2 SP1 distros don’t contain PCIe (and NVMe) drivers, you can only install the OS on a SATA SSD drive. Built-in support for NVMe appeared only in Windows 8.1. Microsoft has released special updates that enable support for NVM Express in Windows 7. Next, we will show you how to enable PCIe support in the Windows 7 installer and inject NVMe drivers into it.

  1. Download the following updates from the Microsoft Update Catalog: KB2990941-v3, KB3087873-v2. Save *.MSU files to the directory c:\tmp\updates;
  2. Download the NVMe driver for your controller and extract it to c:\tmp\nvme;
  3. Slipstream the updates and the drivers to the boot WinPE image (boot.wim):
    DISM /Get-WimInfo /WimFile:c:\tmp\boot.wim
    DISM /Mount-Wim /WimFile:"C:\tmp\boot.wim" /Index:1 /MountDir:c:\tmp\mount
    DISM /Image:c:\tmp\mount /Add-Package /PackagePath:C:\tmp\updates
    DISM.exe /image:c:\tmp\mount /Add-Driver /driver:c:\tmp\nvme /recurse /ForceUnsigned
    DISM /Unmount-Wim /MountDir:c:\tmp\mount /Commit
  4. Run the same commands for the image with index 2 (on the second line, replace /Index:1 with /Index:2 ).
  5. Now you need to integrate the update and the driver into the Windows installation image (install.wim). The image file can contain several versions of Windows 7 with different indexes. You can get a list of Windows versions with the command:
    dism /Get-WimInfo /WimFile:c:\tmp\install.wim
    Specify the index of the image to be updated (in our example it is Index:2 )
    DISM /Get-WimInfo /WimFile:c:\tmp\install.wim
    DISM /Mount-Wim /WimFile:"C:\tmp\install.wim" /Index:2 /MountDir:c:\tmp\mount
    DISM /Image:c:\tmp\mount /Add-Package /PackagePath:C:\tmp\updates
    DISM.exe /image:c:\tmp\mount /Add-Driver /driver:c:\tmp\nvme /recurse /ForceUnsigned
    DISM /Unmount-Wim /MountDir:c:\tmp\mount /Commit
Similarly, you can add USB and NVMe drivers to winre.wim image of the Windows Recovery Environment.
35 comments
15
Facebook Twitter Google + Pinterest
previous post
Configuring SFTP (SSH FTP) Server on Windows
next post
How to Enable and Configure WinRM (Windows Remote Management) via GPO

Related Reading

Map a Network Drive over SSH (SSHFS) in...

May 13, 2025

How to Cancel Windows Update Pending Restart Loop

May 6, 2025

View Windows Update History with PowerShell (CMD)

April 30, 2025

Change BIOS from Legacy to UEFI without Reinstalling...

April 21, 2025

Remove ‘Your License isn’t Genuine’ Banner in MS...

April 21, 2025

35 comments

Rich June 6, 2017 - 10:57 pm

Great article. Just followed to merge USB3.0 drivers into ISO for a Dell 7480. Worked a treat.
Many thanks.

Reply
Justin April 11, 2018 - 8:44 am

Brilliant article. Easy to follow. Got the USB mouse and Keyboard working on a HP Elitedesk G3 Mini.
Thank you

Reply
Martin van Dijk July 1, 2022 - 1:35 pm

Justin,
i tried to mount but it did not work…….

Reply
Andrew September 20, 2018 - 7:22 am

Hell ya it ended up working for m on my custom PC. decided to install after windows 10 blue screened me. right? wtf i did realize i needed to copy the .wim files from the tmp folders in C to the usb drive and replace the old ones with the new ones after that it worked! wireless mouse and keyboard no problem. 2 days trying to fix all this and now i can get back to gaming 😀 thank you! BTW intell explained i needed to get the usb drive from my motherboards website msi.

Reply
Tim Petts October 1, 2018 - 2:36 pm

Awesome guide, well explained, saved me hours !, thanks so much !!!

Reply
Jace November 18, 2018 - 3:09 am

Thank you!!!!

Been having a hell of a day trying to get W7P installed on an older Thinkpad. It had been downgraded to Windows 10, and this was causing too many headaches. Your write-up above was brilliant; now doing the final bits of Windows updates and other drivers. Thank you again!

Reply
lovert December 3, 2018 - 11:25 am

You saved my life. Thanks very much

Reply
Mario Flores December 12, 2018 - 12:28 am

This worked great for getting Windows 7 installed on a 2013 Macbook Air, but once Windows is installed, the drivers are no longer present and the initial setup of the OS cannot be completed. Any suggestions?

Reply
admin December 20, 2018 - 9:39 am

You may need to add an additional driver for the USB device. I suppose that the keyboard doesn’t work on your Mac?
Or forget to integrate the USB drivers into your install.wim image.

Reply
markymonkeymark December 18, 2018 - 1:45 am

Tried this tutorial but it doesn’t work to me… if you have a unit same as mine that it worked, please share…

Laptop:
Acer Aspire ES1-432

Reply
admin December 20, 2018 - 10:00 am

What driver did you try to integrate into your Windows 7 image?

Reply
Nasir Enrique January 11, 2019 - 6:25 am

Thanksssss A Lott…. BRO YOU saved my dayy…. 😘😘😘😊😊😊😊

Reply
Rellik1000 February 18, 2019 - 4:30 pm

Downgrading an hp15-233 to win7…bad dvd.

I’ve tried at least 10 different ways,from manually,to the gigabyte utility to merge the intel extensible drivers to the win7 pro iso,to install win7 from usb.

dism reports them correctly,available as 3rd party drivers in boot.wim and install.wim images.

I absolutly know these are the correct drivers for this SOC.

I even went as far as merging the signed MS usb3 drivers from the original win10 os on this machine.

Is win7 setup looking for something else?

I’ve spent a whole Sunday so far with no success.

It’s now become a QUEST and,I WILL NOT BE BEATEN.
Any ideas?

Reply
Rellik1000 February 18, 2019 - 4:37 pm

BTW make sure ALL windows explorer windows are closed to avoid dism errors when unmounting any wims.

Reply
Juan Carlos ESPINOSA May 14, 2019 - 3:18 pm

After many hours, you saved me! Thanks! HP 705 G3 Mini and Windows 7 Pro INSTALLING!!!

Reply
X May 18, 2019 - 6:23 am

The driver gets installed into boot.wim but when I try to install them into install.wim, it gives an error. I have checked the location and it’s correct.

Reply
Jason December 29, 2019 - 3:57 am

If you get Error 5, then you need to take ownership and add Administrators with full control on all child objects to:
C:\tmp\mount\Windows\System32\DriverStore\FileRepository

Reply
Mark Moore June 1, 2019 - 7:47 pm

Installation reports success but I still do not have control of my keyboard or mouse. Why does instructions refer to index 2 regarding boot.wim? I understand the reference in Install.wim. Gigabyte X470 Auros Ultra Gaming with Ryzen 2600X. BIOS is at F6. Is there a way to add a PS/2 port to this motherboard?

Reply
Сергей July 10, 2019 - 7:15 pm

Have the same chipset, all dism operations succeeded. But after reboot and installation attemt still have the error “A required CD/DVD drive device driver is missing…” Appreciate any help. Sorry for bad English.

Reply
SARFARAZ January 27, 2020 - 6:02 am

The driver gets installed into boot.wim but when I try to install them into install.wim, it gives an error. I have checked the location and it’s correct.
Error: 11

An attempt was made to load a program with an incorrect format.

Reply
admin January 28, 2020 - 5:39 am

Check the DISM log for errors: C:\WINDOWS\Logs\DISM\dism.log
Also check the paths and make sure that you unmounted the previous wim file using the “dism /unmount-wim” command

Reply
Riplet April 4, 2020 - 11:45 pm

Thank you so much! Never knew DISM was such a breeze to work with!

Cheers!

Reply
Michel May 19, 2020 - 8:27 am

I get an error on the command
“dism /image:c:\tmp\mount /add-driver:”c:\tmp\usb3″ /recurse”
I can’t find out why.

Reply
admin May 21, 2020 - 7:26 am

Please provide the full DISM error text and code

Reply
Paul February 17, 2021 - 12:02 am

Also works with Windows 7 System Repair Disk. Note, there’s no “install.wim”, but updating boot.wim only did the trick for me with an HP Elitedesk 800 G2 Mini. Thanks.

Reply
EDDIE August 17, 2021 - 12:12 pm

DAMN .. I was wrecked with a HP system .. finally managed to load WIN 7 but USB port wasn’t detecting .. & also no network drivers.
Somewhere i seen USB 3 & bios in the enormous post .. i just went to bios ..set it to AUTO & yess .. USB is on ..
Thank you

Reply
MartinJ August 26, 2022 - 9:42 am

I have a Dell 5480 and can only find the USB3 drivers in an EXE file, any idea how I unpack this archive please?

Reply
lou powell November 6, 2022 - 2:51 am

it works well
just add a little : “if you use USB drive for installation source, don’t forget to copy boot.wim & install.wim back after mounting driver”

Reply
admin November 16, 2022 - 8:41 am

Thanks for the note!

Reply
Daniel December 11, 2022 - 9:01 pm

Awesome notes! got win 7 on dell 7480 latitude working.

Reply
Toby April 19, 2023 - 12:48 am

I have tried this and just am not getting anywhere at all. No errors, everything about this goes according to the instructions, no problems following it at all. It just didn’t work. I still get to the same initial install screen with no response from keyboard or mouse. Windows 7 USB and wireless keyboard/mouse transmitter both in the USB 2.0 ports. I’ve also tried wired keyboards and mice and have changed up ports. I’ve even tried both indexes on Boot.Wim and all 4 indexes on Install.Wim and no change.

Using a Generic Mini-PC with below specs:

Specification:
CPU: Intel Pentium Processor J4205 (up to 2.6 GHz)
RAM: 12 GB DDR3L
Storage: 128 GB mSATA SSD
*SATA: Support 1 x 2.5 inch SATA HDD or SDD

Processor Graphics: Intel UHD Graphics 500
Graphics Base Frequency: 250 MHz
Graphics Burst Frequency: 800 MHz
Cache: 2 MB
# of Cores: 4
Processor Base Frequency:1.5 GHz
Burst Frequency: 2.6 GHz

WiFi:Dual Band, 2.4G/5G
LAN:10/100/1000M
Bluetooth: Version 4.2

Interface:
2 x USB 3.0 Port
2 x USB 2.0 Port
2 x HDMI Port
1 x RJ45 (1000Mbps LAN) Port
1 x Headphone Microphone Port
1 x DC in Port

Reply
CHOPPERGIRL June 20, 2023 - 12:57 am

Not sure why you didn’t link to the finished ISO hosted somewhere or uploaded as a torrent…

Reply
Paul May 21, 2024 - 10:48 am

Thanks for great info!

Reply
Bobby October 22, 2024 - 8:01 pm

Where do I download the extensible host controller? I can’t find it anywhere to download either through a duck search or the motherboard (Asus) ?
I can only find the CHIPSET not the host controller driver as a standalone …

Reply
Abhi February 3, 2025 - 6:18 pm

This is not working for me. I have Acer aspire laptop with win 11 64 bit and NVMe disk

Reply

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMware
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • Cannot Install Network Adapter Drivers on Windows Server

    April 29, 2025
  • Change BIOS from Legacy to UEFI without Reinstalling Windows

    April 21, 2025
  • How to Prefer IPv4 over IPv6 in Windows Networks

    April 9, 2025
  • Load Drivers from WinPE or Recovery CMD

    March 26, 2025
  • How to Block Common (Weak) Passwords in Active Directory

    March 25, 2025
  • Fix: The referenced assembly could not be found error (0x80073701) on Windows

    March 17, 2025
  • Exclude a Specific User or Computer from Group Policy

    March 12, 2025
  • AD Domain Join: Computer Account Re-use Blocked

    March 11, 2025
  • How to Write Logs to the Windows Event Viewer from PowerShell/CMD

    March 3, 2025
  • How to Hide (Block) a Specific Windows Update

    February 25, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • How to Allow Multiple RDP Sessions on Windows 10 and 11
  • How to Repair EFI/GPT Bootloader on Windows 10 or 11
  • How to Restore Deleted EFI System Partition in Windows
  • Network Computers are not Showing Up in Windows 10/11
  • How to Run Program without Admin Privileges and Bypass UAC Prompt
  • Install and Manage Windows Updates with PowerShell (PSWindowsUpdate)
  • How to Download Offline Installer (APPX/MSIX) for Microsoft Store App
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top