In this article, I will show you how to fix You can’t install Windows on a USB flash drive using Setup on Windows 10/11
First, open start and search for Registry Editor

On Registry Editor you have to expand HKEY_LOCAL_MACHINE

And the SYSTEM

And CurrendControllSet

And press on Control

Double-click on PortableOperatingSystem and change the Value data to 0

After that restart your computer
I am hoping that after reading this article you managed to fix You can’t install Windows on a USB flash drive using Setup on Windows 10/11
For a more in-depth explanation, you can watch the video below from the youtube channel.