daily pastebin goal
3%
SHARE
TWEET

WDS Boot Image Creation

a guest Jun 21st, 2017 253 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. copype amd64 C:\WinPE_amd64\
  2.  
  3. dism.exe /mount-wim /wimfile:C:\WinPE_amd64\media\sources\boot.wim /index:1 /mountdir:C:\WinPE_amd64\mount
  4.  
  5. Dism /Add-Package /Image:"C:\WinPE_amd64\mount" /packagepath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\winpe-wmi.cab"
  6. Dism /Add-Package /Image:"C:\WinPE_amd64\mount" /packagepath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\winpe-scripting.cab"
  7. Dism /Add-Package /Image:"C:\WinPE_amd64\mount" /packagepath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\winpe-wds-tools.cab"
  8. Dism /Add-Package /Image:"C:\WinPE_amd64\mount" /packagepath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-SecureStartup.cab"
  9. Dism /Add-Package /Image:"C:\WinPE_amd64\mount" /packagepath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-Setup.cab"
  10. Dism /Add-Package /Image:"C:\WinPE_amd64\mount" /packagepath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-Setup-Server.cab"
  11. Dism /Add-Package /Image:"C:\WinPE_amd64\mount" /packagepath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-Setup-Server_en-us.cab"
  12. Dism /Add-Package /Image:"C:\WinPE_amd64\mount" /packagepath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-Setup_en-us.cab"
  13. Dism /Add-Package /Image:"C:\WinPE_amd64\mount" /packagepath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-SecureStartup_en-us.cab"
  14. Dism /Add-Package /Image:"C:\WinPE_amd64\mount" /packagepath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-WMI_en-us.cab"
  15. Dism /Add-Package /Image:"C:\WinPE_amd64\mount" /packagepath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-Scripting_en-us.cab"
  16. Dism /Add-Package /Image:"C:\WinPE_amd64\mount" /packagepath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-WDS-Tools_en-us.cab"
  17. Dism /Add-Package /Image:"C:\WinPE_amd64\mount" /packagepath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\lp.cab"
  18. Dism /image:C:\WinPE_amd64\mount /Set-AllIntl:en-US
  19.  
  20. *** Manually add the lang.ini file in the C:\WinPE_amd64\mount\sources folder ***
  21.  
  22. dism.exe /image:C:\WinPE_amd64\mount /add-driver /driver:"C:\forbootimage\WINPE10.0-DRIVERS-A04-942XJ\winpe" /recurse
  23.  
  24. dism.exe /unmount-wim /MountDir:C:\WinPE_amd64\mount /commit
  25.  
  26. TO MAKE AN ISO OR USB BOOTABLE INSTALLER
  27.  
  28. dism.exe /mount-wim /wimfile:C:\WinPE_amd64\media\sources\boot.wim /index:1 /mountdir:C:\WinPE_amd64\mount
  29.  
  30. *** Manually copy in the winpeshl.ini from this folder into C:\WinPE_amd64\mount\Windows\System32
  31.  
  32. dism.exe /unmount-wim /MountDir:C:\WinPE_amd64\mount /commit
  33.  
  34. -------
  35. MakeWinPEMedia /ISO C:\WinPE_amd64 C:\iso1.iso
  36. MakeWinPEMedia /UDF /F X: (drive letter)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top