I am installing Windows 7 x64 on a HP EliteDesk 800 G3 SFF that only has USB 3 and USB Type-C ports.

Initially, upon booting the USB install media, the USB keyboard and mouse wouldn't work - this was because the Windows 7 install media doesn't have USB 3 drivers.

I was able to modify my Windows 7 install media (USB drive) by using DISM to include the USB 3 drivers. Following this guide, I downloaded the USB 3 drivers from HP's website and extracted the driver files and embedded them onto the USB install media. I was then able to install Windows 7 successfully.

However, after Windows 7 x64 is installed, I get stuck at the setup screen because the USB keyboard and mouse don't work again - this is because the USB bootable install media had the drivers on it but they weren't installed when the OS was installed so I am stuck with a computer that has Windows 7 installed without USB 3 drivers so I cannot complete the initial Windows setup.

The drive Windows is installed on is a M.2 SSD.

I also checked the BIOS and there is no way to disable USB 3.

Is there a way to modify the bootable USB media so that it not only runs the USB 3 drivers but also installs them with the OS so I can use them after Windows is installed?

Or is there another way to do this?

Related issues: 1, 2, 3.

  • 1
    Does the BIOS allow an install over the network? This article may help digitalcitizen.life/… Oct 4, 2017 at 13:19
  • Yup, I can do a PXE boot. If I prepare an image for a PXE boot can I include the drivers I need in that image? I haven't read the link you've provided for me yet so forgive me if that is covered on that page, I am going to read it now.
    – qroberts
    Oct 4, 2017 at 13:23
  • 2
    You could try booting into recovery from the same image and installing the driver superuser.com/questions/531594/… Oct 4, 2017 at 13:24
  • Actually I am not sure if doing a PXE boot will work around your USB 3.0 driver missing in the Windows 7 install issue. Here is a utility and workaround from Intel intel.com/content/www/us/en/support/boards-and-kits/… and this article mentions updating both the boot and the install so I was wondering if you had done both winaero.com/blog/… Oct 4, 2017 at 13:40
  • @RichardChambers Yup I updated both the boot.wim and install.wim (just verified this)
    – qroberts
    Oct 4, 2017 at 13:48

8 Answers 8


I successfully installed Windows 7 on a laptop with a USB 3.0 root hub by using NTLite.

It will allow you to insert the USB 3.0 driver inside your Windows 7 ISO.

NB: You don't need to buy a license for NTLite, the free version is enough for this use.

  • NTLite worked wonders. I downloaded and included the Intel Chipset Support and Intel USB 3.0 eXtensible Host Controller Drivers in the image and it worked! I must have slipstreamed the wrong inf files when I made my original attempt. Thank you for your answer and everyone else for their input.
    – qroberts
    Oct 13, 2017 at 19:32
  • @qroberts Are you adding the exe files of drivers or they must be in extracted form as inf/cat/etc. types?
    – i486
    Nov 28, 2023 at 17:07

There is a tool for exactly this case supplied by intel. It slipstreams the drivers into the installation media in a way that it will also work once installed (I only tested it with an EliteDesk 800G2 SFF but I doubt it has changed that much). Be careful to chose the right version to download, there is a different one for Win7 and Win8 or higher.

Also the tool is a little finicky, you really have to have the image on a usb drive it can not be unpacked into a folder for some reason.

EDIT: As it seems intel removed their own tool because it did not work all the time. They now recommend to use a tool by gigabyte in cases where PS2 devices do not work. It can be found on this page and is named Windows USB Installation Tool. I have no experience with this tool but it is the official recommendation at the moment.

  • 3
    I attempted this yesterday using a USB drive that has a Windows image on it and the tool said it was successful but when I would go to boot the USB drive the keyboard and mouse still wouldn't work. I was able to get the keyboard and mouse working using the manual DISM method linked to in my original question however the keyboard and mouse won't work once I boot Windows.
    – qroberts
    Oct 4, 2017 at 14:18
  • In that case try both. Prepare your image using the Intel tool and do it the manual way. This way you'll have the drivers working during installation and, hopefully, also have them installed. Oct 4, 2017 at 19:47
  • That's very strange. I would recommend trying the second tool on a different OS but I'm pretty sure I used both tools successfully already. Sadly our G3 shipments keep getting delayed so I cannot test with that, Another more tedious workaround could be inlcuding the full driver and running it via an Autounattend.xml file (either in a RunSynchronous step or use such a step to modify setupcomplete.cmd)
    – Syberdoor
    Oct 5, 2017 at 5:50
  • What also just came to my mind. Is this a sky lake or a kaby lake G3? If it's kaby lake (which intel refuses to fully support in windows 7 god knows why) they might just not want to support it with their tool
    – Syberdoor
    Oct 5, 2017 at 10:18
  • FYI, this link is broken, does anyone have an updated link? Jan 3, 2019 at 2:53

An alternative to injecting drivers is checking your UEFI/BIOS for a legacy USB mode.

This, as I understand it, presents the peripherals directly to the operating system (perhaps as if they were plugged in via ps/2). Once windows is fully installed, you should be able to go back into BIOS and disable that option.

This question has more information on this mode; What does "Legacy USB Mouse" support in a BIOS mean?


Besides using DISM to integrate the drivers into BOTH boot.wim and install.wim (as Xyf already posted) there is another trick that usually works:

During the Win7 setup there is the possibility to load extra drivers (to get extra mass-storage drivers on-board).
What most people don't realize is that this can load other drivers too as long as they are suited for whatever hardware is in the system.
And drivers loaded at this point will automatically be installed to the new OS.

It isn't guaranteed to work (I have never been able to establish exactly what makes a driver work or not at this point) but it is certainly a lot quicker than a second session with DISM if it does happen to work.

  • in the XP era people often use this to load SATA drivers after loading the installer
    – phuclv
    Oct 6, 2017 at 2:17
  • 1
    @LưuVĩnhPhúc Yes, but as of Vista the mechanism is a lot better. You don't need a special (floppy -based) version of the driver anymore. Any regular INF file based driver setup will do and you can load it from any media that is readable at boot time.
    – Tonny
    Oct 6, 2017 at 8:11

From the specifications:

    1 SD 4 card reader (optional);
    1 USB Type-C™; 
    2 USB 3.1 Gen 1; 
    1 USB 2.0; 
    1 USB 2.0 (fast charging); 
    1 Headphone connector; 
    Universal audio jack with CTIA headset support
    1 audio line in; 
    1 RJ-45; 
    1 power connector; 
    1 audio out; 
    2 DisplayPort™; 
    2 USB 2.0; 
    4 USB 3.1 Gen 1; 
    3 optional ports

It appears that your machine should have USB2.0 ports. I would use them.

If not, can you get inside the machine? It will probably still have the USB2.0 headers internally, and you can use a cheap adaptor like this one to connect your keyboard for the installation process.

  • I've tried every USB port on the machine, I will try cold booting and testing each port instead of switching ports while it's turned on.
    – qroberts
    Oct 4, 2017 at 16:04
  • 2
    The USB 2 ports are clearly labelled both on the outside of the case and inside on the motherboard however none of these ports are working once I am in the Windows installation. They work when I have the drivers installed on the boot media however.
    – qroberts
    Oct 4, 2017 at 16:26
  • 3
    The keyboard (especially a wired one) should still work or how would you access the BIOS/CMOS screen? If somehow you can access the the BIOS setup, then make sure "Legacy USB support" or similar is enabled. Oct 4, 2017 at 19:29
  • 24
    Frequently on modern motherboards "USB 2.0" ports are actually placed behind a USB 3.0 root hub. So you still have to have the driver for the USB 3.0 hub installed to get them to work even though the ports only have USB 2.0 connections externally. As such the win 7 install won't see the USB 2.0 ports because it doesn't have the hub driver. Oct 4, 2017 at 20:17
  • 1
    Recent intel chipsets present all the USB ports (whether 2.0 or 3.0) as logically behind an XHCI controller which win7 can't talk to out of the box.
    – plugwash
    Oct 7, 2017 at 19:33

The install media has 2 images:

  1. boot.wim
  2. install.wim.

Boot.wim handles the initial install step (selecting drive and expanding install.wim onto it) and then the setup takes over from the expanded files.

You need to add the USB drivers with DISM to both images.

  • That is how i would do it.
    – Tonny
    Oct 5, 2017 at 14:41

The process you're looking for is called slipstreaming and it allows you to cram a bunch of things into a windows setup image including drivers, service packs and even applications. It's the same technique that OEMs use for creating custom windows installs for laptops and embedded devices. You can improve the process with additional tools like AutoIT to automate additional setup steps.

Personally though I found the whole process exhausting (like just about any windows configuration task) but it may be your only option. There are tools out there which claim to simplify the process as well.

You'll probably need an existing working Windows 7 machine to create the slipstream image on.

Note that you used to be able to install needed drivers via a floppy by pressing F6 during the install process. Obviously that doesn't help much when modern computers don't have a floppy drive.


If it comes to the worst, you can always put a USB2 port card in the PCI slot. The ones I tried had built-in support in Windows. Besides that, your machine has a card reader. Depending on how it's connected internally, it may be on a USB2 header and have built-in support. You could then put the Windows 7 installer onto a card. Or just use a USB header connected to your motherboard near the power/reset jumpers. It appears to be the yellow one just below the blue SATA connectors. Mind the polarity; if you connect it backwards, you'll fry the flash drive. Don't say I didn't warn you.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .