Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- copype amd64 c:\winpe_amd64
- dism /mount-wim /wimfile:c:\winpe_amd64\media\sources\boot.wim /index:1 /mountdir:c:\winpe_amd64\mount
- :Copy over the x64 folder's contents to the c:\winpe_amd64\mount\ directory
- :Do not copy over the entire x64 folder, just the contents.
- :ALSO don't forget to copy over your install.esd, install*.swm, or install.wim file to the c:\winpe_amd64\media\sources\ folder
- :**Make sure to add-package the winrecfg packages. I'll use an example directory here:
- dism /image:c:\winpe_amd64\mount /add-package /packagepath:c:\murphy78-DiskPart-Apply-v1.2.6\x64-winrecfg-packages\
- :that should add both the packages
- :you can add any other packages at this point
- dism /image:c:\winpe_amd64\mount /cleanup-image /startcomponentcleanup /resetbase
- dism /unmount-wim /mountdir:c:\winpe_amd64\mount /commit
- dism /export-image /sourceimagefile:c:\winpe_amd64\media\sources\boot.wim /sourceindex:1 /destinationimagefile:c:\winpe_amd64\boot.wim /checkintegrity
- move /y c:\winpe_amd64\boot.wim c:\winpe_amd64\media\sources\
- :Make boot-prompt image with UEFI boot support (press any key blah blah)
- oscdimg -o -u2 -udfver102 -bootdata:2#p0,e,bc:\winpe_amd64\fwfiles\etfsboot.com#pEF,e,bc:\winpe_amd64\fwfiles\efisys.bin -l
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement