The (most likely) reason for the Install driver to show hardware error in Windows Setup

When you try to install Windows via a bootable USB flash drive, you might unexpectedly encounter a dialog that seems to indicate that you need some kind of device driver to continue. More often than not, this dialog is entirely misleading: If it appears without you having clicked the Load driver button first, the problem is not a missing device driver, but a bad USB flash drive.

With Windows 11 24H2 or 25H2, this dialog is titled Install driver to show hardware and will look like this:

Install driver to show hardware

Windows 10 and older versions of Windows 11 show a slightly different version of this dialog, titled Select the driver to install:

Select the driver to install

Analyzing the log files

Windows Setup searches for a install.wim, install.esd or install.swm image file at the very beginning of the installation process, even before asking for language and keyboard settings. When your USB flash drive is unreliable, Windows Setup might be able to boot from it, but then fail to locate the image file. To verify this, press Shift+F10 to open a console window, then type notepad.exe to inspect the respective log file.

Windows 11 24H2 and 25H2 with ConX setup

ConX setup uses the X:\$WINDOWS.~BT\Sources\Panther\setupact.log log file. When Windows Setup can locate the image file, you will see these lines:

2026-07-27 16:19:28, Info                  MOUPG  Driver: Searching for install images...
2026-07-27 16:19:28, Info                  MOUPG  Driver: Module to hash is [X:\Sources\SetupHost.exe]
2026-07-27 16:19:28, Info                  MOUPG  Driver: Evaluating drive [D] as media location
2026-07-27 16:19:28, Info                  MOUPG  Driver: Media located at drive [D]
2026-07-27 16:19:28, Info                  MOUPG  Driver: Found install image at [D:\Sources\Install.wim]
2026-07-27 16:19:28, Info                  MOUPG  Driver: Found Media path at [D:]

However, when Windows Setup fails to locate the image file, you will see these lines instead:

2026-07-27 16:19:28, Info                  MOUPG  Driver: Searching for install images...
2026-07-27 16:19:28, Info                  MOUPG  Driver: Module to hash is [X:\Sources\SetupHost.exe]
2026-07-27 16:19:28, Info                  MOUPG  Driver: Evaluating drive [D] as media location
2026-07-27 16:19:28, Info                  MOUPG  Driver: Drive [D] did not contain [D:\Sources\SetupHost.exe] at expected location
2026-07-27 16:19:28, Info                  MOUPG  Driver: Found install image at [(null)]
2026-07-27 16:19:28, Info                  MOUPG  Driver: Found Media path at [(null)]
2026-07-27 16:19:28, Warning               MOUPG  Unable to find media

Windows 10 and Windows 11 with legacy setup

Legacy setup uses the X:\Windows\Panther\setupact.log log file, and its content is slightly different. Nevertheless, you can easily distinguish between both cases:

2026-07-27 16:19:28, Info                  IBS    Callback_WinPE_SetSourceMediaInfo_Unattend:Trying to determine source path.
2026-07-27 16:19:28, Info                  IBS    Callback_WinPE_SetSourceMediaInfo_Unattend:Media boot.
2026-07-27 16:19:28, Info       [0x0605af] IBS    Callback_WinPE_SetSourceMediaInfo:Sources folder path is [D:\Sources]
2026-07-27 16:19:28, Info       [0x0605b0] IBS    Callback_WinPE_SetSourceMediaInfo:Install source path is [D:\Sources]
2026-07-27 16:19:28, Info                  IBS    Callback_WinPE_SetSourceMediaInfo_Unattend:Trying to determine source path.
2026-07-27 16:19:28, Info                  IBS    Callback_WinPE_SetSourceMediaInfo_Unattend:Media boot.
2026-07-27 16:19:28, Warning    [0x0605b1] IBS    Callback_WinPE_SetSourceMediaInfo:Could not determine the source media path. GLE is [0x0]

Resolving the issue

Try these steps to resolve the issue: