Dism /Capture-Image /ImageFile:E:\install.wim /CaptureDir:C:\ /Name:”Windows10 Pro”
select disk 0 clean convert gpt create partition primary size=300 format quick fs=ntfs label=”Windows RE tools” assign letter=”T” create partition efi size=260 format quick fs=fat32 label=”System” assign letter=”S” create partition msr size=128 create partition primary format quick fs=ntfs label=”Windows” assign letter=”W” rem == Note:"System" for not Advanced Format Generation One drives, change to size=100 diskpart /s D:\CreatePartitions-UEFI.txt
Dism /Apply-Image /ImageFile:E:\install.wim /Index:1 /ApplyDir:W:\
W:\Windows\System32\bcdboot W:\Windows /l ja-JP /s S:
dism /Split-Image /ImageFile:"c:\temp\install.wim /SWMFile:"c:\temp\install.swm" /FileSize:4000
4K fsutil fsinfo ntfsinfo C: 「物理セクターあたりのバイト数」が4096の場合はAFTのHDD
https://infra20th.wordpress.com/