
{"id":158,"date":"2021-09-28T23:32:38","date_gmt":"2021-09-28T23:32:38","guid":{"rendered":"https:\/\/www.tygarbyte.com\/?p=158"},"modified":"2021-09-28T23:32:39","modified_gmt":"2021-09-28T23:32:39","slug":"capture-sysprep-image-with-dism","status":"publish","type":"post","link":"https:\/\/www.tygarbyte.com\/index.php\/2021\/09\/28\/capture-sysprep-image-with-dism\/","title":{"rendered":"Capture sysprep image with DISM"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>For my own reference &#8211; How to create winpe usb drive<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows-hardware\/manufacture\/desktop\/winpe--use-a-single-usb-key-for-winpe-and-a-wim-file---wim\">https:\/\/docs.microsoft.com\/en-us\/windows-hardware\/manufacture\/desktop\/winpe&#8211;use-a-single-usb-key-for-winpe-and-a-wim-file&#8212;wim<\/a><\/p>\n\n\n\n<p>* Assume \u2013 winpe built with 1903 later, nic driver injected into wim file for hp laptop<\/p>\n\n\n\n<p>Dism \/Mount-Image \/ImageFile:C:\\WinPE_amd64\\media\\sources\\boot.wim \/MountDir:C:\\test\\offline \/index:1<\/p>\n\n\n\n<p>## add nic driver<\/p>\n\n\n\n<p>Dism \/Image:C:\\test\\offline \/Add-Driver \/Driver:C:\\temp\\HP\\E1D\\e1d68x64.inf<\/p>\n\n\n\n<p>########## Capture #############<\/p>\n\n\n\n<p>Winpeinit<\/p>\n\n\n\n<p>Net use w:  <a href=\"\\\\networkmachine\\ffuimage_share\">\\\\networkmachine\\ffuimage_share<\/a> <\/p>\n\n\n\n<p>Username :<\/p>\n\n\n\n<p>Dism \/capture-ffu \/imagefile=w:\\ hpwin10gold2.ffu \/capturedrive=\\\\.\\PhysicalDrive0 \/name:Disk0-win10 \/description:\u201dWin10 Hp\u201d<\/p>\n\n\n\n<p>############ Deploy #################<\/p>\n\n\n\n<p>hpwin10gold2.ffu&nbsp;&nbsp; = touch screen model<\/p>\n\n\n\n<p>hpwin10gold.ffu&nbsp;&nbsp;&nbsp;&nbsp; = standard model<\/p>\n\n\n\n<p>################################################<\/p>\n\n\n\n<p>Net use w: <a href=\"\\\\networkmachine\\ffuimage_share\">\\\\networkmachine\\ffuimage_share<\/a><\/p>\n\n\n\n<p>Username :<\/p>\n\n\n\n<p>Pwd :<\/p>\n\n\n\n<p>Dism \/apply-ffu \/Imagefile=w:\\ hpwin10gold.ffu \/ApplyDrive:\\\\.\\PhysicalDrive0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For my own reference &#8211; How to create winpe usb drive https:\/\/docs.microsoft.com\/en-us\/windows-hardware\/manufacture\/desktop\/winpe&#8211;use-a-single-usb-key-for-winpe-and-a-wim-file&#8212;wim * Assume \u2013 winpe built with 1903 later, nic driver injected into wim file for hp laptop Dism \/Mount-Image \/ImageFile:C:\\WinPE_amd64\\media\\sources\\boot.wim \/MountDir:C:\\test\\offline \/index:1 ## add nic driver Dism \/Image:C:\\test\\offline \/Add-Driver \/Driver:C:\\temp\\HP\\E1D\\e1d68x64.inf ########## Capture ############# Winpeinit Net use w: \\\\networkmachine\\ffuimage_share Username : Dism \/capture-ffu \/imagefile=w:\\ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/www.tygarbyte.com\/index.php\/wp-json\/wp\/v2\/posts\/158"}],"collection":[{"href":"https:\/\/www.tygarbyte.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tygarbyte.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tygarbyte.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tygarbyte.com\/index.php\/wp-json\/wp\/v2\/comments?post=158"}],"version-history":[{"count":1,"href":"https:\/\/www.tygarbyte.com\/index.php\/wp-json\/wp\/v2\/posts\/158\/revisions"}],"predecessor-version":[{"id":159,"href":"https:\/\/www.tygarbyte.com\/index.php\/wp-json\/wp\/v2\/posts\/158\/revisions\/159"}],"wp:attachment":[{"href":"https:\/\/www.tygarbyte.com\/index.php\/wp-json\/wp\/v2\/media?parent=158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tygarbyte.com\/index.php\/wp-json\/wp\/v2\/categories?post=158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tygarbyte.com\/index.php\/wp-json\/wp\/v2\/tags?post=158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}