Advertisement
vanhoivo

Untitled

Aug 14th, 2015
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.21 KB | None | 0 0
  1. copype amd64 c:\winpe_amd64
  2. dism /mount-wim /wimfile:c:\winpe_amd64\media\sources\boot.wim /index:1 /mountdir:c:\winpe_amd64\mount
  3. :Copy over the x64 folder's contents to the c:\winpe_amd64\mount\ directory
  4. :Do not copy over the entire x64 folder, just the contents.
  5. :ALSO don't forget to copy over your install.esd, install*.swm, or install.wim file to the c:\winpe_amd64\media\sources\ folder
  6. :**Make sure to add-package the winrecfg packages. I'll use an example directory here:
  7. dism /image:c:\winpe_amd64\mount /add-package /packagepath:c:\murphy78-DiskPart-Apply-v1.2.6\x64-winrecfg-packages\
  8. :that should add both the packages
  9. :you can add any other packages at this point
  10. dism /image:c:\winpe_amd64\mount /cleanup-image /startcomponentcleanup /resetbase
  11. dism /unmount-wim /mountdir:c:\winpe_amd64\mount /commit
  12. dism /export-image /sourceimagefile:c:\winpe_amd64\media\sources\boot.wim /sourceindex:1 /destinationimagefile:c:\winpe_amd64\boot.wim /checkintegrity
  13. move /y c:\winpe_amd64\boot.wim c:\winpe_amd64\media\sources\
  14. :Make boot-prompt image with UEFI boot support (press any key blah blah)
  15. 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