Zend certified PHP/Magento developer

Trying to install Windows 11 from USB by copying content to internal drive

So I’ve been using a Mac to create a bootable USB in order to install Windows 11 on another computer. Everytime I try to install it, I get a “cannot create or locate partition” even when all partition have been previously removed.

So what I’ve been trying to do is to follow this “fix”: https://ivanderevianko.com/2014/07/fixed-setup-was-unable-to-create-a-new-system-partition-or-locate-an-existing-system-partition-during-installing-windows-8-18-7-vista-etc-from-usb

But now everytime I reboot, my internal SSD does not even appear in BIOS so I cannot boot from my internal drive. Here are the exact steps I’ve reproduced, since I’m on UEFI so I had to convert to GPT my disk first:

diskpart
list disk
select disk 0
clean
convert gpt
create partition primary size=10000
format fs=ntfs
assign
exit

d:
xcopy d: c: /e /h /k
cd boot
bootsect /nt60 c:

Worth mentioning that I’ve made sure C: was my internal drive and D: was my USB. I’ve also dropped the ‘active’ command as it did nothing for GPT disks. Everything seems working like a charm except that after a reboot, my BIOS doesn’t recognize my newly created bootable drive. Have I been missing something?