Used Tools
– PC running Windows 10 21H2 (OS build 19044.1706)
– Cheap external USB3 to M2 SATA case with a 120GB drive
– Windows 11 iso (Nov 2021)
– Elevated command prompt
Prepare Drive
Start diskpart and partition the drive in accordance to Microsoft documentation.
list disk
select disk 1
clean
convert gpt
create partition efi size=100
format quick fs=fat32 label="System"
assign letter="S"
active
create partition msr size=16
create partition primary
format quick fs=ntfs label="Windows"
assign letter="W"
list volume
exit
Apply .wim
Mount the .iso for access to the sources\install.wim and determine the index to use.
dism /Get-WimInfo /WimFile:D:\sources\install.wim
Apply image according to Microsoft documentation:
dism /Apply-Image /ImageFile:D:\sources\install.wim /Index:4 /ApplyDir:W:\
Configure system partition.
W:\Windows\System32\bcdboot W:\Windows /s S:
Boot to SSD
Press F12 or whatever your computer/mainboard requires to select the boot medium. Booting from external drives may be disabled in the your mainboard’s setup.
Windows will install drivers and reboot afterwards, so be prepared to press F12 again.