I suggest looking into the BCDBoot command (https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcdboot-command-line-options-techref-di). In your case, you may end up with the following command (after formatting the system partition):
bcdboot C:\Windows /s V: /f UEFI
Your firmware type may be different from the one specified above.