create a file called fixboot.reg paste the following text into it: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vds\Alignment] @="Alignment Settings in Bytes" "Between4_8GB"=dword:00000000 "Between8_32GB"=dword:00000000 "GreaterThan32GB"=dword:00000000 "LessThan4GB"=dword:00000000 now run this command before doing any diskpart steps: reg import fixboot.reg this resolves disk alignment issue with winpe 2.x etc