Install Bootcamp On External Drive !!exclusive!! -

diskutil list sudo diskutil eraseDisk MS-DOS WIN10 GPT /dev/disk2 sudo mkdir /Volumes/WIN10/efi/microsoft sudo cp -r /path/to/windows/efi/boot /Volumes/WIN10/efi/

Be extremely cautious with dd , as it can overwrite data on the wrong drive. install bootcamp on external drive

Windows on external drives does not support BitLocker with TPM (no TPM present on external boot path). Use BitLocker password or third-party encryption (Veracrypt). Enabling FileVault on macOS may interfere with the EFI boot picker’s ability to list external Windows drives. diskutil list sudo diskutil eraseDisk MS-DOS WIN10 GPT

Is this the perfect solution? It depends on your needs. install bootcamp on external drive