I kept getting the above error when installing Windows 10 and Windows 11 from two different USB sticks onto a ThinkPad X1 Extreme laptop. I had followed the process outlined at FreeCodeCamp for creating the USB sticks from a Mac.
Finally, I figured it out based on a comment on another board: During Windows setup, delete all the partitions except for the first one. Now installation proceeds, to a point:
Then I got the error “Windows could not update the computer’s boot configuration.” To resolve this and the previous error, I reset the BIOS to the default configuration, and crucially, used MBR to format the USB stick instead of GPT. (
diskutil eraseDisk MS-DOS "WIN10" MBR /dev/disk2 )
Now Windows installed successfully!