{"id":2991,"date":"2018-09-12T18:44:34","date_gmt":"2018-09-12T16:44:34","guid":{"rendered":"https:\/\/www.mariotti.de\/?p=2991"},"modified":"2018-09-12T18:44:34","modified_gmt":"2018-09-12T16:44:34","slug":"windows-installationsmedium-mit-kumulativen-updates-aktualisieren","status":"publish","type":"post","link":"https:\/\/dev.mariotti.de\/?p=2991","title":{"rendered":"Windows Installationsmedium mit kumulativen Updates aktualisieren."},"content":{"rendered":"<p>In diesem Artikel m\u00f6chte ich beispielhaft aufzeigen wie man vorgeht, wenn man kumulative Windows Updates in seine Windows Installationsdatentr\u00e4ger (Install.wim Datei) integrieren will.<\/p>\n<p>Dieses Vorgehen spart sp\u00e4ter bei der Installation deutlich Installationszeit, weil dann die Updates bereits integriert sind, und nicht erst sp\u00e4ter per Windows Update oder WSUS zeitaufw\u00e4ndig installiert werden m\u00fcssen.<\/p>\n<p>Ich zeige das Vorgehen in diesem Beispiel auf Basis eines Windows 10 1803 Datentr\u00e4gers, das vorgehen kann aber auch f\u00fcr \u00e4ltere Versionen wie Windows 7, 8, 8.1 und Server 2008, 2008R2, 2012, 2012 R2 und 2016 angewendet werden.<\/p>\n<p><strong>Schritt 1 Install.wim extrahieren<br \/>\n<\/strong>Je nachdem welchen Windows Datentr\u00e4ger man hat gestaltet sich das extrahieren der Install.wim Dateien unterschiedlich. Hat man eine MVL\/MSDN ISO Datei kann das Install.wim direkt daraus extrahiert werden. Hat man einen Datentr\u00e4ger der mittels Windows Media Creation Tool erstellt wurde befindet sich darauf nur eine komprimierte Install.esd Datei statt einer Install.wim Datei, in diesem Fall muss man die Install.wim aus der Install.esd extrahieren, welches mit folgendem DISM Aufruf m\u00f6glich ist:<\/p>\n<p><code>DISM \/Export-Image \/SourceImageFile:C:\\temp\\Install.esd \/SourceIndex:1 \/DestinationImageFile:C:\\temp\\Install.wim \/Compress:Maximum<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2992\" src=\"https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step1.jpg\" alt=\"\" width=\"2318\" height=\"625\" srcset=\"https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step1.jpg 2318w, https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step1-300x81.jpg 300w, https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step1-1024x276.jpg 1024w, https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step1-2000x539.jpg 2000w\" sizes=\"auto, (max-width: 2318px) 100vw, 2318px\" \/><\/p>\n<p><strong>Schritt 2 Install.wim Index ermitteln (optional)<\/strong>S<br \/>\nSolle man ein Install.wim Datei verwenden, die mehrere unterschiedliche Installationen auf einem Datentr\u00e4ger beinhaltet muss man Index der Installation ermitteln die man aktualisieren will, diese ben\u00f6tigt man im sp\u00e4teren Verlauf. In meinem Fall war es nicht n\u00f6tig, der follst\u00e4ndigkeithalber m\u00f6chte ich es jedoch zeigen, Das Ermittelt des Index geht \u00fcber folgenden DISM Aufruf:<\/p>\n<p><code>DISM \/Get-WimInfo \/WimFile:&lt;path to install.wim&gt;<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2993\" src=\"https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step2.jpg\" alt=\"\" width=\"2318\" height=\"758\" srcset=\"https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step2.jpg 2318w, https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step2-300x98.jpg 300w, https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step2-1024x335.jpg 1024w, https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step2-2000x654.jpg 2000w\" sizes=\"auto, (max-width: 2318px) 100vw, 2318px\" \/><\/p>\n<p><strong>Schritt 3 Update Download<\/strong><\/p>\n<p>Download des aktuellem Kumulativen Updates welches man integrieren m\u00f6chte. Hierzu muss man als erstes herausbekommen welches das aktuellen Kumulativen Update ist, hierzu geht man auf folgende Microsoft Webseite <a href=\"https:\/\/support.microsoft.com\/en-gb\/help\/4000825\/windows-10-windows-server-2016-update-history\">https:\/\/support.microsoft.com\/en-gb\/help\/4000825\/windows-10-windows-server-2016-update-history<\/a> , und w\u00e4hlt oben das Betriebsystem aus und links unterhalb vom \u201eIn this realese\u201c den obersten Eintrag, in meinem Fall \u00a0Windows 10 1803 und September 2018 KB4457128. Nun scrollt man runter bis zum Abschnitt \u201eHow to get this update\u201c und klickt auf den \u201eMicrosoft Update Catalog\u201c Link um das Update herunterzuladen. Fall ein Prerequisite angezeigt wird ist diese ebenfalls herunterzuladen (in meinem Fall KB 4456655). Bei den Downloads handelt es sich um eine .WSU Dateien.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2994\" src=\"https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step3.jpg\" alt=\"\" width=\"2658\" height=\"1860\" \/><\/p>\n<p><strong>Schritt 4 Mounten<\/strong><\/p>\n<p>Mounten des install.wim Images des Windows Datentr\u00e4gers mittels DISM. Vorab erstellt man sich einen leeren Ordner z.B. mit dem Namen \u201eMountFolder\u201c. Wenn diese vorbereitenden Schritte durchgef\u00fchrt sind f\u00fcr man nun DISM wie folgt aus:<\/p>\n<p><code>DISM.exe \/Mount-Wim \/WimFile:&lt;path to Install.wim&gt; \/index:&lt;index&gt; \/mountdir:c:\\MountFolder<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2995\" src=\"https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step4.jpg\" alt=\"\" width=\"2318\" height=\"617\" srcset=\"https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step4.jpg 2318w, https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step4-300x80.jpg 300w, https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step4-1024x273.jpg 1024w, https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step4-2000x532.jpg 2000w\" sizes=\"auto, (max-width: 2318px) 100vw, 2318px\" \/><\/p>\n<p><strong>Schritt 5 Updates hinzuf\u00fcgen<\/strong><\/p>\n<p>Da das Image nun gemountet ist kann das kumulative Update und seine evtl. n\u00f6tigen Prerequisite nun mittels DISM integriert werden, der Aufruf hierzu lautet:<\/p>\n<p><code>DISM.exe \/image:C:\\MountFolder \/add-package \/packagepath:&lt;Path to update files&gt;<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2996\" src=\"https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step5.jpg\" alt=\"\" width=\"2318\" height=\"798\" srcset=\"https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step5.jpg 2318w, https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step5-300x103.jpg 300w, https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step5-1024x353.jpg 1024w, https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step5-2000x689.jpg 2000w\" sizes=\"auto, (max-width: 2318px) 100vw, 2318px\" \/><\/p>\n<p><strong>Schritt 6 &#8211; Unmount<\/strong><\/p>\n<p>Nachdem die Updates integriert wurde muss nun das Image unmounted werden incl. Commit, der Aufruf hierzu lautet:<\/p>\n<p><code>DISM.exe \/unmount-wim \/mountdir:c:\\MountFolder \/commit<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2997\" src=\"https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step6.jpg\" alt=\"\" width=\"2318\" height=\"798\" srcset=\"https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step6.jpg 2318w, https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step6-300x103.jpg 300w, https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step6-1024x353.jpg 1024w, https:\/\/dev.mariotti.de\/wp-content\/uploads\/2018\/09\/Windows-Slipstream-MSU-cumulative-updates-to-install.win_Step6-2000x689.jpg 2000w\" sizes=\"auto, (max-width: 2318px) 100vw, 2318px\" \/><\/p>\n<p>Das install.wim ist nun aktualisiert und kann f\u00fcr zuk\u00fcnftige Installationen verwendet werden. Optional w\u00e4re es nun noch m\u00f6glich diese install.wim Datei wieder in ein ISO Image zu integrieren,\u00a0 hierzu kann z.B. OSCDIMG aus dem Windows ADK verwenden, mehr Details hierzu gibt es unter: <a href=\"https:\/\/msdn.microsoft.com\/de-de\/library\/windows\/hardware\/dn898597(v=vs.85).aspx\">https:\/\/msdn.microsoft.com\/de-de\/library\/windows\/hardware\/dn898597(v=vs.85).aspx<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In diesem Artikel m\u00f6chte ich beispielhaft aufzeigen wie man vorgeht, wenn man kumulative Windows Updates in seine Windows Installationsdatentr\u00e4ger (Install.wim Datei) integrieren will.<\/p>\n","protected":false},"author":2,"featured_media":2996,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-2991","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows"],"_links":{"self":[{"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=\/wp\/v2\/posts\/2991","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2991"}],"version-history":[{"count":0,"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=\/wp\/v2\/posts\/2991\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=\/wp\/v2\/media\/2996"}],"wp:attachment":[{"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2991"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2991"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}