windows篇 · 2016年12月2日

Win PE setup windows

Windows 7

unzip win7.iso to x:\win7
 copy x:\win7\boot\ and x:\win7\bootmgr to c:\
 creat c:\sources
 copy x:\win7\sources\boot.wim to c:\sources
 c:\boot\bootsect.exe /nt60 c:
 //reboot the pc
 format c:/fs:ntfs /q
 x:\win7\sources\setup.exe

 

Windows xp

unzip the ISO to d:\ and ISO to virtual drive
 cd /d a:\i386
 winnt32 /syspart:c /makelocalsource /tempdrive:c