TL;DR
There are setup information (.inf) files that need to be removed or renamed. With respect to the Boot Camp Support Software 5.1.5621 files copied to the flash drive, this can be done by entering the following commands.
dot_clean -m /Volumes/Win11_25H2
pushd /Volumes/Win11_25H2/\$WinPEDriver\$/IntelHDGraphics64
mv autorun.inf autorun.infbad
popd
A More Detailed Explanation
When the Windows installer boots, a search is made in the root directory of all drives that have been assigned a drive letter for a $WinPEDriver$ subdirectory. When a $WinPEDriver$ subdirectory is found, a recursive search is made in this subdirectory for each setup information (.inf) file. If the contents of a found setup information (.inf) file are not compatible with Windows 11, then the window shown in the posted question will appear.
The following sections explain how to remove or rename setup information (.inf) files that are not compatible with Windows 11.
Remove All Dot Underscore files
When the Finder application copies files to ExFAT-formatted volumes, hidden dot underscore files (._) can be created. Any files starting with ._ and ending with .inf will not be compatible with Windows 11. The command below can be used to find such files in the $WinPEDriver$ subdirectory.
find /Volumes/Win11_25H2/\$WinPEDriver\$ -iname '._*.inf'
For the flash drive created in the question, executing the above command produces the following output.
/Volumes/Win11_25H2/$WinPEDriver$/AppleBluetoothBroadcom64/._AppleBTBC64.inf
/Volumes/Win11_25H2/$WinPEDriver$/IntelHDGraphics64/._autorun.inf
/Volumes/Win11_25H2/$WinPEDriver$/IntelHDGraphics64/DisplayAudio/._IntcDAud.inf
/Volumes/Win11_25H2/$WinPEDriver$/IntelHDGraphics64/Graphics/._igdlh64.inf
Since none of the dot underscore files (._) on the USB flash are needed to install Windows 11, the simplest solution is to remove all dot underscore files (._) from the volume labeled Win11_25H2 on the USB flash drive. The command to do so is given below.
dot_clean -m /Volumes/Win11_25H2
Rename Incompatible Setup Information Files
If the problem still persists after entering the dot_clean -m /Volumes/Win11_25H2 command, then you can use one of the methods given below to find additional incompatible setup information (.inf) files in the $WinPEDriver$ folder.
-
Method 1: Use a virtual machine.
I have VirtualBox Version 6.1.34 r150636 (Qt5.6.3) installed on my 2011 iMac.
The steps are given below.
-
Enter the commands given below to create a UDF formatting ISO file
namedBootCamp5.1.5621.isocontaining the contents of theBootCamp5.1.5621folder.pushd ~/Downloads hdiutil makehybrid -udf -o BootCamp5.1.5621 BootCamp5.1.5621 popd -
Create a new Windows 11 (64-bit) VirtualBox virtual machine. I used the default settings except for the following customizations.
Setting Default Custom Base Memory 4096 MB 2048 MB Chipset PIIX3 ICH9 Enable EFI (special OSes only) Checked Unchecked Processors(s) 2 1 Optical Drive Empty Win11_25H2_English_x64.iso -
Start the virtual machine. Open a Command Prompt window by making the choices given in the table below.
Title Type Choice Select language settings Button Next Select keyboard settings Button Next Select setup option Radio Button Repair my PC Select setup option Button Next Choose your keyboard layout Collection US Choose an option Collection Troubleshoot Advanced options Collection Command Prompt -
Enter the commands given below to determine which (if any) setup information (
.inf) files are not compatible with Windows 11. Start by entering the following commands.diskpart select disk 0 clean create partition primary format fs=NTFS label=BOOTCAMP quick assign letter=c exit copy d:\sources\boot.wim c:\In the settings for this virtual machine, change file for the optical drive to
BootCamp5.1.5621.iso. Afterwards, enter the following commands.md c:\mountboot dism /mount-image /imagefile:c:\boot.wim /name:"Microsoft Windows Setup (amd64)" /mountdir:c:\mountboot dism /image:c:\mountboot /add-driver /driver:d:\$WinPEDriver$ /recurse dism /unmount-image /mountdir:c:\mountboot /discard rd c:\mountbootSee the section titled “Appendix” for the output from these commands. Amongst this output was the following error message.
There was a problem opening the INF file. d:\$WinPEDriver$\IntelHDGraphics64\autorun.inf Error: 0xE0000100.The message means
autorun.infis incompatible with Windows 11. -
With the flash drive inserted in a USB port, enter the following commands in a macOS Terminal application window to rename the
autorun.inffile.pushd /Volumes/Win11_25H2/\$WinPEDriver\$/IntelHDGraphics64 mv autorun.inf autorun.infbad popd -
Shutdown the virtual machine by closing the Command Prompt window, then selecting “Turn off your PC”.
-
-
Method 2: Use a computer running Windows 11.
The steps are given below.
-
Insert the flash drive into a USB port on a computer running Windows 11.
-
Open an Administrator Command Prompt window.
-
Enter the command given below to determine the drive letter
assigned to the volume labeledWin11_25H2.echo list volume | diskpartNote: If your drive letter is not
e:, then make the appropriate drive letter substitutions when entering the commands given in the remaining steps. -
Enter the commands given below to determine which (if any) setup information (
.inf) files are not compatible with Windows 11.md c:\mountboot dism /mount-image /imagefile:e:\sources\boot.wim /name:"Microsoft Windows Setup (amd64)" /mountdir:c:\mountboot dism /image:c:\mountboot /add-driver /driver:e:\$WinPEDriver$ /recurse dism /unmount-image /mountdir:c:\mountboot /discard rd c:\mountbootSee the “Appendix” section of this answer for the output from these commands. Amongst this output was the following error message.
There was a problem opening the INF file. d:\$WinPEDriver$\IntelHDGraphics64\autorun.inf Error: 0xE0000100.The message means
autorun.infis incompatible with Windows 11. -
Enter the following command to rename the
autorun.inffile.ren e:\$WinPEDriver$/IntelHDGraphics64/autorun.inf autorun.infbad -
Close the Administrator Command Prompt window.
-
Appendix
Below is the output from running the commands in “Method 1: Use a virtual machine.”
Microsoft Windows [Version 10.0.26100.6584]
(c) Microsoft Corporation. All rights reserved.
X:\sources>diskpart
Microsoft DiskPart version 10.0.26100.1150
Copyright (C) Microsoft Corporation.
On computer: MININT-726JATF
DISKPART> select disk 0
Disk 0 is now the selected disk.
DISKPART> clean
DiskPart succeeded in cleaning the disk.
DISKPART> create partition primary
DiskPart succeeded in creating the specified partition.
DISKPART> format fs=NTFS label=BOOTCAMP quick
100 percent completed
DiskPart successfully formatted the volume.
DISKPART> assign letter=c
DiskPart successfully assigned the drive letter or mount point.
DISKPART> exit
Leaving DiskPart...
X:\sources>copy d:\sources\boot.wim c:\
1 file(s) copied.
X:\sources>md c:\mountboot
X:\sources>dism /mount-image /imagefile:c:\boot.wim /name:"Microsoft Windows Setup (amd64)" /mountdir:c:\mountboot
Deployment Image Servicing and Management tool
Version: 10.0.26100.2454
Mounting image
[==========================100.0%==========================]
The operation completed successfully.
X:\sources>dism /image:c:\mountboot /add-driver /driver:d:\$WinPEDriver$ /recurse
Deployment Image Servicing and Management tool
Version: 10.0.26100.2454
Image Version: 10.0.26100.6584
Searching for driver packages to install...
There was a problem opening the INF file. d:\$WinPEDriver$\IntelHDGraphics64\autorun.inf Error: 0xE0000100.
Found 3 driver package(s) to install.
Installing 1 of 3 - d:\$WinPEDriver$\AppleBluetoothBroadcom64\AppleBTBC64.inf: The driver package was successfully installed.
Installing 2 of 3 - d:\$WinPEDriver$\IntelHDGraphics64\DisplayAudio\IntcDAud.inf: The driver package was successfully installed.
Installing 3 of 3 - d:\$WinPEDriver$\IntelHDGraphics64\Graphics\igdlh64.inf: The driver package was successfully installed.
The operation completed successfully.
X:\sources>dism /unmount-image /mountdir:c:\mountboot /discard
Deployment Image Servicing and Management tool
Version: 10.0.26100.2454
Unmounting image
[==========================100.0%==========================]
The operation completed successfully.
X:\sources>rd c:\mountboot
X:\sources>
Below is the output from running the commands in “Method 2: Use a computer running Windows 11″.
Microsoft Windows [Version 10.0.26200.6584]
(c) Microsoft Corporation. All rights reserved.
C:\Windows\System32>echo list volume | diskpart
Microsoft DiskPart version 10.0.26100.1150
Copyright (C) Microsoft Corporation.
On computer: WINDOWS11-25H2
DISKPART>
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 D DVD-ROM 0 B No Media
Volume 1 C NTFS Partition 249 GB Healthy Boot
Volume 2 FAT32 Partition 100 MB Healthy System
Volume 3 NTFS Partition 674 MB Healthy Hidden
Volume 4 E Win11_25H2 exFAT Removable 28 GB Healthy
DISKPART>
C:\Windows\System32>md c:\mountboot
C:\Windows\System32>dism /mount-image /imagefile:e:\sources\boot.wim /name:"Microsoft Windows Setup (amd64)" /mountdir:c:\mountboot
Deployment Image Servicing and Management tool
Version: 10.0.26100.5074
Mounting image
[==========================100.0%==========================]
The operation completed successfully.
C:\Windows\System32>dism /image:c:\mountboot /add-driver /driver:e:\$WinPEDriver$ /recurse
Deployment Image Servicing and Management tool
Version: 10.0.26100.5074
Image Version: 10.0.26100.6584
Searching for driver packages to install...
There was a problem opening the INF file. e:\$WinPEDriver$\IntelHDGraphics64\autorun.inf Error: 0xE0000100.
Found 3 driver package(s) to install.
Installing 1 of 3 - e:\$WinPEDriver$\AppleBluetoothBroadcom64\AppleBTBC64.inf: The driver package was successfully installed.
Installing 2 of 3 - e:\$WinPEDriver$\IntelHDGraphics64\DisplayAudio\IntcDAud.inf: The driver package was successfully installed.
Installing 3 of 3 - e:\$WinPEDriver$\IntelHDGraphics64\Graphics\igdlh64.inf: The driver package was successfully installed.
The operation completed successfully.
C:\Windows\System32>dism /unmount-image /mountdir:c:\mountboot /discard
Deployment Image Servicing and Management tool
Version: 10.0.26100.5074
Unmounting image
[==========================100.0%==========================]
The operation completed successfully.
C:\Windows\System32>rd c:\mountboot
C:\Windows\System32>
