
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Custom Image Archives - TECHNIG</title>
	<atom:link href="https://www.technig.com/tag/custom-image/feed/" rel="self" type="application/rss+xml" />
	<link>https://168.138.42.164/tag/custom-image/amp/</link>
	<description>Gateway for IT Experts and Tech Geeks</description>
	<lastBuildDate>Tue, 14 Jul 2015 19:32:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://www.technig.com/wp-content/uploads/2020/04/32x32.png</url>
	<title>Custom Image Archives - TECHNIG</title>
	<link>https://168.138.42.164/tag/custom-image/amp/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">162720667</site>	<item>
		<title>How to Customize Windows Image Using DISM for Windows Deployment?</title>
		<link>https://www.technig.com/customize-windows-image-using-dism/</link>
					<comments>https://www.technig.com/customize-windows-image-using-dism/#comments</comments>
		
		<dc:creator><![CDATA[Shais]]></dc:creator>
		<pubDate>Tue, 14 Jul 2015 19:32:16 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[MCSA]]></category>
		<category><![CDATA[Custom Image]]></category>
		<category><![CDATA[DISM]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Windows Deployment Services]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=3164</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="800" height="421" src="https://www.technig.com/wp-content/uploads/2015/07/Customize-Windows-Image.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Customize Windows Image" decoding="async" fetchpriority="high" srcset="https://www.technig.com/wp-content/uploads/2015/07/Customize-Windows-Image.jpg 800w, https://www.technig.com/wp-content/uploads/2015/07/Customize-Windows-Image-300x158.jpg 300w, https://www.technig.com/wp-content/uploads/2015/07/Customize-Windows-Image-768x404.jpg 768w" sizes="(max-width: 800px) 100vw, 800px" /></div>
<p>Windows Deployment is the core task of network infrastructure when a system administrator want to install clients operating system too fast at a short period of time. To customize Windows image with Deployment Image Service and Management (DISM) tool will help you to create a thin image which contain all necessary software, Apps and drivers. Understanding Windows Image Files There are [&#8230;]</p>
<p>The post <a href="https://www.technig.com/customize-windows-image-using-dism/">How to Customize Windows Image Using DISM for Windows Deployment?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="800" height="421" src="https://www.technig.com/wp-content/uploads/2015/07/Customize-Windows-Image.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Customize Windows Image" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2015/07/Customize-Windows-Image.jpg 800w, https://www.technig.com/wp-content/uploads/2015/07/Customize-Windows-Image-300x158.jpg 300w, https://www.technig.com/wp-content/uploads/2015/07/Customize-Windows-Image-768x404.jpg 768w" sizes="(max-width: 800px) 100vw, 800px" /></div><p>Windows Deployment is the core task of network infrastructure when a system administrator want to install clients operating system too fast at a short period of time. To customize Windows image with Deployment Image Service and Management (<a href="https://technet.microsoft.com/en-us/library/dd744256(WS.10).aspx" target="_blank" rel="noopener noreferrer">DISM</a>) tool will help you to create a thin image which contain all necessary software, Apps and drivers.</p>
<h3>Understanding Windows Image Files</h3>
<p>There are two images (Install.wim and Boot.wim) on the installation Windows DVD. You can find them within the Sources folder.</p>
<ul style="list-style-type: circle;">
<li><strong>Install Image:</strong> Is used to install the full Windows operating system. Install images can include operating system, applications, configuration changes and several install images.</li>
<li><strong>Boot Image:</strong> The primary purpose of boot.wim image is to load a minimal operating system and boot the system to Windows pre-execution environment (WinPE) so that the full operating system to be loaded, or to perform troubleshooting.</li>
</ul>
<p>To see the complete information of an Image using DISM command see the following command.</p>
<blockquote><p><strong>dism /get-wiminfo /wimfile:d:\sources\install.wim</strong></p></blockquote>
<figure id="attachment_3172" aria-describedby="caption-attachment-3172" style="width: 715px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2015/07/Dism-Get-WimInfo.jpg"><img decoding="async" class="size-full wp-image-3172" src="http://3.90.216.52/wp-content/uploads/2015/07/Dism-Get-WimInfo.jpg" alt="Dism Get-WimInfo" width="715" height="282" srcset="https://www.technig.com/wp-content/uploads/2015/07/Dism-Get-WimInfo.jpg 715w, https://www.technig.com/wp-content/uploads/2015/07/Dism-Get-WimInfo-300x118.jpg 300w" sizes="(max-width: 715px) 100vw, 715px" /></a><figcaption id="caption-attachment-3172" class="wp-caption-text">Dism Get-WimInfo</figcaption></figure>
<p>The result shows that image is a <strong>Windows 8.1 Enterprise Evaluation</strong> with Index number of <strong>1</strong> and size is in bytes. Let&#8217;s see the information of a different image.</p>
<blockquote><p><strong>dism /get-wiminfo /wimfile:i:\sources\install.wim</strong></p></blockquote>
<figure id="attachment_3174" aria-describedby="caption-attachment-3174" style="width: 711px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2015/07/Windows-Server-Images.jpg"><img decoding="async" class="size-full wp-image-3174" src="http://3.90.216.52/wp-content/uploads/2015/07/Windows-Server-Images.jpg" alt="Windows Server Images" width="711" height="539" srcset="https://www.technig.com/wp-content/uploads/2015/07/Windows-Server-Images.jpg 711w, https://www.technig.com/wp-content/uploads/2015/07/Windows-Server-Images-300x227.jpg 300w, https://www.technig.com/wp-content/uploads/2015/07/Windows-Server-Images-86x64.jpg 86w" sizes="(max-width: 711px) 100vw, 711px" /></a><figcaption id="caption-attachment-3174" class="wp-caption-text">Windows Server Images</figcaption></figure>
<p>Yes it is a Windows Server 2012 R2 with 4 different edition. Now you must completely understand the Index number of Images.</p>
<p>To see the information of Boot image, execute the same command and type boot.wim instead of install.wim image.</p>
<blockquote><p><strong>dism /get-wiminfo /wimfile:i:\sources\boot.wim</strong></p></blockquote>
<figure id="attachment_3175" aria-describedby="caption-attachment-3175" style="width: 645px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2015/07/Dism-Boot-Image-inforation.jpg"><img loading="lazy" decoding="async" class="size-full wp-image-3175" src="http://3.90.216.52/wp-content/uploads/2015/07/Dism-Boot-Image-inforation.jpg" alt="Dism Boot Image information" width="645" height="373" srcset="https://www.technig.com/wp-content/uploads/2015/07/Dism-Boot-Image-inforation.jpg 645w, https://www.technig.com/wp-content/uploads/2015/07/Dism-Boot-Image-inforation-300x173.jpg 300w" sizes="(max-width: 645px) 100vw, 645px" /></a><figcaption id="caption-attachment-3175" class="wp-caption-text">Dism Boot Image information</figcaption></figure>
<p>Do the similar task on Pre-execution environment (PE) with the following Imagex command line.</p>
<blockquote><p><strong>imagex /info d:\sources\install.wim</strong></p></blockquote>
<p>So you became familare with Windows images and know the differences between install and boot image and knowing how to get information of an image with DISM command line tool.</p>
<h3>Customize Windows Image With DISM</h3>
<p>A custom image mostly called thick image contains all software, applications and drivers unlike the thin Image that only includes operating system image. To customize Windows Image you must mount the install image offline services.</p>
<h4>Mounting Images</h4>
<p>To customize windows image, firstly copy the install.wim image from Windows installation DVD to a folder then mount it with the following DISM command.</p>
<blockquote><p><strong>dism /mount-wim /wimfile:e:\image\install.wim /index:1 /mountdir:e:</strong><br />
<strong>\MountedImage</strong></p></blockquote>
<figure id="attachment_3181" aria-describedby="caption-attachment-3181" style="width: 1028px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2015/07/Mounting-Images.jpg"><img loading="lazy" decoding="async" class="size-full wp-image-3181" src="http://3.90.216.52/wp-content/uploads/2015/07/Mounting-Images.jpg" alt="Mounting Images" width="1028" height="187" srcset="https://www.technig.com/wp-content/uploads/2015/07/Mounting-Images.jpg 1028w, https://www.technig.com/wp-content/uploads/2015/07/Mounting-Images-300x55.jpg 300w, https://www.technig.com/wp-content/uploads/2015/07/Mounting-Images-768x140.jpg 768w, https://www.technig.com/wp-content/uploads/2015/07/Mounting-Images-1024x186.jpg 1024w" sizes="(max-width: 1028px) 100vw, 1028px" /></a><figcaption id="caption-attachment-3181" class="wp-caption-text">Mounting Images</figcaption></figure>
<p>It takes a few minutes to completely mount the image.</p>
<ul style="list-style-type: circle;">
<li>The <strong>/wimfile: </strong>point the location of install.wim image.</li>
<li>The <strong>/index:</strong> shows the index number within .wim image which previously explained.</li>
<li>The <strong>/mountdir: </strong>point the path of mounted image, where the extracted image files are located.</li>
</ul>
<figure id="attachment_3182" aria-describedby="caption-attachment-3182" style="width: 800px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2015/07/Customize-Windows-Image.jpg"><img loading="lazy" decoding="async" class="size-full wp-image-3182" src="http://3.90.216.52/wp-content/uploads/2015/07/Customize-Windows-Image.jpg" alt="Customize Windows Image" width="800" height="421" srcset="https://www.technig.com/wp-content/uploads/2015/07/Customize-Windows-Image.jpg 800w, https://www.technig.com/wp-content/uploads/2015/07/Customize-Windows-Image-300x158.jpg 300w, https://www.technig.com/wp-content/uploads/2015/07/Customize-Windows-Image-768x404.jpg 768w" sizes="(max-width: 800px) 100vw, 800px" /></a><figcaption id="caption-attachment-3182" class="wp-caption-text">Customize Windows Image</figcaption></figure>
<p>Here is the mounted files of install.wim image. Now to see the mounted image information, just type &#8220;<strong>dism /get-mountedwiminfo</strong>&#8221; command.</p>
<figure id="attachment_3185" aria-describedby="caption-attachment-3185" style="width: 564px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2015/07/Dism-get-mountedwiminfo.jpg"><img loading="lazy" decoding="async" class="size-full wp-image-3185" src="http://3.90.216.52/wp-content/uploads/2015/07/Dism-get-mountedwiminfo.jpg" alt="Dism get-mountedwiminfo" width="564" height="243" srcset="https://www.technig.com/wp-content/uploads/2015/07/Dism-get-mountedwiminfo.jpg 564w, https://www.technig.com/wp-content/uploads/2015/07/Dism-get-mountedwiminfo-300x129.jpg 300w" sizes="(max-width: 564px) 100vw, 564px" /></a><figcaption id="caption-attachment-3185" class="wp-caption-text">Dism get-mountedwiminfo</figcaption></figure>
<p>OK, now time to modify the image using DISM.</p>
<h4>Modifying Images</h4>
<p>You can customize the below options and features of windows image.</p>
<ul style="list-style-type: circle;">
<li>Add Windows drivers</li>
<li>Add or remove packages and features</li>
<li>Miscellaneous image modifications</li>
</ul>
<p>Lets starting to add and remove some Windows features to this image. To add a package you must know the existing features and packages within your image.</p>
<p>To see the packages information type the following command. &#8220;<strong>dism /image:c:\mountedimages /get-packages&#8221;. </strong>It list all existing packages.</p>
<p>The best practice is to export all packages to a txt file.</p>
<blockquote><p><strong>dism /image:c:\mountedimages /get-packages /format:table &gt;ImagePackages.txt</strong></p></blockquote>
<figure id="attachment_3187" aria-describedby="caption-attachment-3187" style="width: 1121px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2015/07/Exported-Packages.jpg"><img loading="lazy" decoding="async" class="size-full wp-image-3187" src="http://3.90.216.52/wp-content/uploads/2015/07/Exported-Packages.jpg" alt="Exported Packages" width="1121" height="450" srcset="https://www.technig.com/wp-content/uploads/2015/07/Exported-Packages.jpg 1121w, https://www.technig.com/wp-content/uploads/2015/07/Exported-Packages-300x120.jpg 300w, https://www.technig.com/wp-content/uploads/2015/07/Exported-Packages-768x308.jpg 768w, https://www.technig.com/wp-content/uploads/2015/07/Exported-Packages-1024x411.jpg 1024w" sizes="(max-width: 1121px) 100vw, 1121px" /></a><figcaption id="caption-attachment-3187" class="wp-caption-text">Exported Packages</figcaption></figure>
<p>The list&#8217;s of exported packages in a text file. In order to see the exact package information type the following command.</p>
<blockquote><p><strong>dism /image:c:\mountedimages /get-packageinfo /packagename:</strong>Package_for_KB976902~31bf3856ad364e35~amd64~~6.1.514</p></blockquote>
<figure id="attachment_3188" aria-describedby="caption-attachment-3188" style="width: 1279px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2015/07/Package-Information.jpg"><img loading="lazy" decoding="async" class="size-full wp-image-3188" src="http://3.90.216.52/wp-content/uploads/2015/07/Package-Information.jpg" alt="Package Information" width="1279" height="702" srcset="https://www.technig.com/wp-content/uploads/2015/07/Package-Information.jpg 1279w, https://www.technig.com/wp-content/uploads/2015/07/Package-Information-300x165.jpg 300w, https://www.technig.com/wp-content/uploads/2015/07/Package-Information-768x422.jpg 768w, https://www.technig.com/wp-content/uploads/2015/07/Package-Information-1024x562.jpg 1024w" sizes="(max-width: 1279px) 100vw, 1279px" /></a><figcaption id="caption-attachment-3188" class="wp-caption-text">Package Information</figcaption></figure>
<p>You can check to see if any patches have been applied to applications within the system with the /get-apppatchinfo switch.</p>
<blockquote><p><strong>dism /image:c:\mountedimages /get-apppatchinfo</strong></p></blockquote>
<h4>How to add a Package?</h4>
<p>In order to add a package to your custom image, firstly download the package then add it.</p>
<blockquote><p><strong>dism /image:c:\mountedImages /add-package /packagepath:c:\downloadPackages\</strong>(package name)</p></blockquote>
<p>To remove a package from your custom image do it with <strong>remove-package</strong> command.</p>
<blockquote><p><strong>dism /image:c:\mountedimages /remove-package /packagename:</strong>(Package name)</p></blockquote>
<p>To enable and disable a features, do it with disable-feature or enable-feature, see more <a href="https://www.technig.com/how-to-install-windows-features-offline-using-dism/" target="_blank" rel="noopener noreferrer">How to Install Windows Features Offline?</a>.</p>
<p>To enable a features: &#8220;<strong>dism /image:c: \mountedImages /enable-feature /featurename:</strong> (Feature name)&#8221;.</p>
<p>To remove a feature: &#8220;<strong>dism /image:c: \mountedImages /disable-feature /featurename: </strong>(Feature name)&#8221;.</p>
<h4>How to set a license key?</h4>
<p>In order to set the product key, type &#8220;<strong>dism /image:c:\mountedImages</strong><br />
<strong>/set-productkey:</strong> (Enter the key)&#8221;.</p>
<h3>How to Save the Custom Image?</h3>
<p>Finally, after editing images try to save it with <strong>dism /commit-wim</strong> command.</p>
<blockquote><p><strong>dism /commit-wim /mountdir:c:\mountedimages</strong></p></blockquote>
<figure id="attachment_3191" aria-describedby="caption-attachment-3191" style="width: 759px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2015/07/Saving-Images.jpg"><img loading="lazy" decoding="async" class="size-full wp-image-3191" src="http://3.90.216.52/wp-content/uploads/2015/07/Saving-Images.jpg" alt="Saving Images" width="759" height="194" srcset="https://www.technig.com/wp-content/uploads/2015/07/Saving-Images.jpg 759w, https://www.technig.com/wp-content/uploads/2015/07/Saving-Images-300x77.jpg 300w" sizes="(max-width: 759px) 100vw, 759px" /></a><figcaption id="caption-attachment-3191" class="wp-caption-text">Saving Images</figcaption></figure>
<p>This command apply offline changes to image and save it. Then you should unmount the image using <strong>dism /unmount-wim </strong>command.</p>
<blockquote><p><strong>dism /unmount-wim /mountdir:c:\mountedimages /commit</strong></p></blockquote>
<figure id="attachment_3192" aria-describedby="caption-attachment-3192" style="width: 712px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2015/07/Unmounting-Image.jpg"><img loading="lazy" decoding="async" class="size-full wp-image-3192" src="http://3.90.216.52/wp-content/uploads/2015/07/Unmounting-Image.jpg" alt="Unmounting Image" width="712" height="254" srcset="https://www.technig.com/wp-content/uploads/2015/07/Unmounting-Image.jpg 712w, https://www.technig.com/wp-content/uploads/2015/07/Unmounting-Image-300x107.jpg 300w" sizes="(max-width: 712px) 100vw, 712px" /></a><figcaption id="caption-attachment-3192" class="wp-caption-text">Unmounting Image &#8211; Customize Windows Image</figcaption></figure>
<p>When you un-mount the image, the mounted files will no longer available to mounted folder and removed.</p>
<p>Now the custom image is ready to deploy with <a href="https://www.technig.com/deploying-windows-10-with-wds/" target="_blank" rel="noopener noreferrer">Windows Deployment Services</a> or System Centre.</p>
<p>OK. These are the essential dism commands to customize windows image for windows deployment. I hope you to find this Customize Windows Image article helpful and if you need more information? just type <strong>dism /?</strong> to get the dism helps or ask your question through comment.</p>
<p>The post <a href="https://www.technig.com/customize-windows-image-using-dism/">How to Customize Windows Image Using DISM for Windows Deployment?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/customize-windows-image-using-dism/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3164</post-id>	</item>
	</channel>
</rss>
