Microsoft DiskPart

diskpart

select disk 0
convert gpt
create partition efi size=200
format fs=fat32 quick
assign letter=O

create partition primary size=40960
format fs=ntfs quick
assign letter=C

create partition primary
format fs=ntfs quick
assign letter=D

ImageX Tool for Windows

imagex /apply E:\sources\install.wim 4 C:
imagex /apply D:\sources\install.wim 1 W:

Bcdboot UEFI

bcdboot C:\Windows /s O: /f UEFI /l zh-cn
bcdboot W:\Windows /s U: /f UEFI /l zh-cn

DISM

mount

dism /Mount-Wim /WimFile:C:\mac_win\install.wim /index:1 /MountDir:C:\mac_win\mount
dism /Mount-Wim /WimFile:C:\mac_win\install.wim /index:4 /MountDir:C:\mac_win\mount

add drivers

dism /Image:C:\mac_win\mount /Add-Driver /Driver:C:\mac_win\drv\x64 /Recurse /ForceUnsigned
dism /Image:C:\mac_win\mount /Add-Driver /Driver:C:\mac_win\drv\x64\iusb3hub.inf /ForceUnsigned
dism /Image:C:\mac_win\mount /Add-Driver /Driver:C:\mac_win\drv\x64\iusb3hcs.inf /ForceUnsigned
dism /Image:C:\mac_win\mount /Add-Driver /Driver:C:\mac_win\drv\x64\iusb3xhc.inf /ForceUnsigned

commit and unmount

dism /Unmount-Wim /mountdir:C:\mac_win\mount /Commit
dism /Commit-Wim /mountdir:C:\mac_win\mount
dism /Unmount-Wim /mountdir:C:\mac_win\mount /Discard

Command Prompt http(s) proxy

set http_proxy=http://10.10.10.50:8118
set https_proxy=http://10.10.10.50:8118

optimization

Windows 10

%SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall
%SystemRoot%\System32\OneDriveSetup.exe /uninstall