{"id":1305,"date":"2017-02-02T18:58:26","date_gmt":"2017-02-02T22:58:26","guid":{"rendered":"http:\/\/mikemartinezonline.com\/blog\/?p=1305"},"modified":"2017-10-19T12:17:00","modified_gmt":"2017-10-19T16:17:00","slug":"creating-customized-windows-108-1-media-iso-wim-flash-drive","status":"publish","type":"post","link":"https:\/\/mikemartinezonline.com\/blog\/2017\/02\/02\/creating-customized-windows-108-1-media-iso-wim-flash-drive\/","title":{"rendered":"Creating Customized Windows 10\/8.1 Media (ISO, WIM, Flash Drive)"},"content":{"rendered":"<p><b>Creating Customized Windows 10\/8.1 Media (ISO, WIM, Flash Drive)<\/b><\/p>\n<p>In the Enterprise environment Windows Operation Systems are usually created, captured and deployed via MS SCCM, WDS or other imaging deployment technology. This allows for an Operating System to be deployed that is updated to the latest version(s) and standards of the organization along with any other software (Office suites, AV etc.) or configurations required by that organization. These system images can be \u2018pushed\u2019 out to machines, \u2018pulled\u2019 across the network via network (PXE) boot, or be placed on portable media to be installed by technicians (usually USB drives).<\/p>\n<p>I also personally install a lot of Operating systems for my SMB clients, friends and family. This requires me to have install media that is as up to date (patch wise) as possible so that I do not have to spend hours, or often days, downloading security updates and patches just to install a system and get it safe.<\/p>\n<p>I used to have a full server farm (including SCCM) on my home server\/workstation so creating custom images (.wim) was not too much work. <b><i>However,<\/i><\/b> that machine physically gave up the ghost a while ago. So for personal images I decided to create a custom image on my laptop using Microsoft Hyper-V (available on Windows 8.1 and Windows 10).<\/p>\n<p>Below is how I created my latest Windows 10 fully patched image. After following these steps you will have a UEFI capable ISO and the ability to produce a UEFI bootable flash drive. <\/p>\n<p>So here we go\u2026<\/p>\n<p><i>You will need a Microsoft Windows 10 (or 8.1) installation ISO. If you don\u2019t have your Windows 10\/8.1 installation media available or someone else\u2019s (just iso not license key needed) it is possible to find the .iso files via a good search. <\/i><\/p>\n<p><i>[Note: you will need a valid installation key once you install your image to a machine to <u>activate<\/u> it. Or use a KMS server\/volume license.]<\/i><\/p>\n<p>Download and install the Microsoft Deployment <a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=54259\">Toolkit here<\/a>.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb.png\" width=\"244\" height=\"192\" \/><\/a><\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-1.png\" width=\"244\" height=\"192\" \/><\/a><\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-2.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-2.png\" width=\"244\" height=\"192\" \/><\/a><\/p>\n<p>Download and install Windows 10 (1607) or Windows 8.1 ADK with these options; you can get them <a href=\"https:\/\/developer.microsoft.com\/en-us\/windows\/hardware\/windows-assessment-deployment-kit\">here.<\/a><\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-3.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-3.png\" width=\"244\" height=\"180\" \/><\/a><\/p>\n<p>Next let\u2019s enable and configure the Microsoft Hyper-V Platform on your workstation.<\/p>\n<p>You can go to the Control Panel and click on Program and Features or hold the Windows key + X and select Programs and Features at the top.<\/p>\n<p>Select Turn Windows features <b>on<\/b> or <b>off<\/b>.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-4.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-4.png\" width=\"213\" height=\"166\" \/><\/a><\/p>\n<p>Select <b>Hyper-V<\/b> and click <b>OK<\/b>. When prompted, click <b>Restart now<\/b>.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-5.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-5.png\" width=\"244\" height=\"215\" \/><\/a><\/p>\n<p>Once rebooted, open the Start Screen and type &quot;Hyper&quot; &gt; Open Hyper-V Manager.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-6.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-6.png\" width=\"244\" height=\"209\" \/><\/a><\/p>\n<p>Select your host (computer name) on the left and then click Virtual Switch Manager. (on the right)<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-7.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-7.png\" width=\"244\" height=\"123\" \/><\/a><\/p>\n<p>Select New virtual network switch on the left and External under the type to create. Click Create Virtual Switch.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-8.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-8.png\" width=\"244\" height=\"84\" \/><\/a><\/p>\n<p>Name the switch something appropriate (I&#8217;m using &quot;Main&quot;).<\/p>\n<p>Select External Network &gt; Select your main NIC (wireless or wired).<\/p>\n<p>Check Allow management operating system to share this network adapter and click OK.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-9.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-9.png\" width=\"223\" height=\"244\" \/><\/a><\/p>\n<p>Click Yes on the notice prompt.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-10.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-10.png\" width=\"244\" height=\"172\" \/><\/a><\/p>\n<p>Create the Staging VM<\/p>\n<p>Now that you&#8217;re prepped, within Hyper-V Manager select New &gt; Virtual Machine and then click Next.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-11.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-11.png\" width=\"244\" height=\"82\" \/><\/a><\/p>\n<p>Type a name for your staging VM (I&#8217;m picking stage01) then click Next.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-12.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-12.png\" width=\"244\" height=\"115\" \/><\/a><\/p>\n<p>Select Generation 1 and then click Next.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-13.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-13.png\" width=\"244\" height=\"97\" \/><\/a><\/p>\n<p>Enter an appropriate amount of memory (I&#8217;m entering 4096 MB), UNselect Dynamic Memory and then click Next.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-14.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-14.png\" width=\"244\" height=\"82\" \/><\/a><\/p>\n<p>Choose the Network Connection you previously created and then click Next.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-15.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-15.png\" width=\"244\" height=\"47\" \/><\/a><\/p>\n<p>Designate an adequate amount of storage for your VM (not less than the total GB of all applications you will be installing) and then click Next.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-16.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-16.png\" width=\"244\" height=\"163\" \/><\/a><\/p>\n<p>Select Install an operating system from a bootable CD\/DVD-ROM &gt; Select Image File (.iso) &gt; Find and select the Windows ISO you downloaded earlier &gt; Click Next &gt; Click Finish.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-17.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-17.png\" width=\"244\" height=\"143\" \/><\/a><\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-18.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-18.png\" width=\"244\" height=\"181\" \/><\/a><\/p>\n<p>Back at the Hyper-V Manager, right click stage01 and select Connect&#8230; (This will open the console of the VM.)<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-19.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-19.png\" width=\"170\" height=\"244\" \/><\/a><\/p>\n<p>Navigate to Action and click Start.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-20.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-20.png\" width=\"244\" height=\"203\" \/><\/a><\/p>\n<p>Install Windows 10 by accepting the EULA and choosing Custom &gt; selecting the entire virtual disk and clicking Next. <\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-21.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-21.png\" width=\"244\" height=\"185\" \/><\/a><\/p>\n<p>Then let the setup continue until it reboots and you get to the first \u2018customization\u2019 screen. <\/p>\n<p>Enter Audit Mode and Install Applications<\/p>\n<p>Start Windows installation normally. After reboot or two Windows is installed and process stops waiting your input. At this point we need to click on the Use express settings button. On next dialog you should not type a username, so don\u2019t enter it. &#8211; STOP.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-22.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-22.png\" width=\"244\" height=\"128\" \/><\/a><\/p>\n<p>Instead, press and hold down the <b>CTRL+SHIFT+F3<\/b> keys combination. Windows will now reboot to a special customization mode, the <b>Audit Mode<\/b>.<\/p>\n<p>When presented with the System Preparation Tool window, click <b>Cancel<\/b><\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-23.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-23.png\" width=\"244\" height=\"186\" \/><\/a><\/p>\n<p>You\u2019re now in Audit mode. Audit mode is used to add customizations to Windows images. When you use audit mode, the system does not have to apply settings in Windows Welcome \u2013 things like creating user accounts, read and accept the Microsoft\u00ae Software License Terms, and select their language and time zones etc. It is designed specifically for preparing Windows images for deployment.<\/p>\n<p>Okay so now let\u2019s prepare and update the system. In Windows 10 (and 8.1) you can forcefully check for updates here:<\/p>\n<p> <strong><\/strong>  <\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-24.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-24.png\" width=\"244\" height=\"155\" \/><\/a><\/p>\n<p>OR you can use PowerShell to update \u2013 as in my <a href=\"https:\/\/mikemartinezonline.com\/blog\/2016\/12\/14\/using-powershell-to-manage-windows-updates\/\">previous article<\/a>. I\u2019d make sure ALL the updates are done \u2013 reboot several times (clicking \u2018Cancel\u2019 each time) until you\u2019re sure that there are no more updates.<\/p>\n<p>You may also want to uninstall any Windows \u2018Store\u2019 apps per <a href=\"https:\/\/mikemartinezonline.com\/blog\/2016\/12\/20\/completely-uninstall-default-windows-store-apps-in-windows-10-88-1-too\/\">this article<\/a>.<\/p>\n<p>Here is where you will download\/install any software you wish to be on your image. <\/p>\n<p>I install things like Office Suites, Acrobat, 7-zip, Java, different Browsers (Chrome Firefox etc.), plugins (Flash, Shockwave etc.) and such.<\/p>\n<p>Once done with all your installs you should clean up all temp files (I use <a href=\"https:\/\/www.piriform.com\/ccleaner\/builds\">CCleaner portable<\/a>) and run Disk Cleanup too.<\/p>\n<p>So now let\u2019s finalize and Sysprep the disk.<\/p>\n<p>Shutdown your Staging VM.<\/p>\n<p>Create a Checkpoint<\/p>\n<p>Click Action &gt; Checkpoint.. &gt; Enter &quot;Ready for sysprep&quot; &gt; Click Yes<\/p>\n<p>Power your Staging VM back on.<\/p>\n<p>When logged in, <b>do not close the System Preparation Tool window this time<\/b>.<\/p>\n<p>Select Enable System Out-of-Box Experience (OOBE)<\/p>\n<p>Checkbox Generalize<\/p>\n<p><b>Select Shutdown<\/b><\/p>\n<p>Click OK<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-25.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-25.png\" width=\"235\" height=\"369\" \/><\/a><\/p>\n<p>Now we\u2019re going to create the WIM file that we\u2019ll use for creating our install media. The WIM file is a compressed image which is deployed during Windows installation. The install.wim file is the actual source used when installing Windows 10. Thus, we need to create our own WIM file, and replace the stock one with it. To do this, we need to &quot;capture&quot; the last Checkpoint \u2013 the one named \u2018Complete\u2019.<\/p>\n<p>We\u2019ll use the DISM tool to capture a mounted hard drive. <\/p>\n<p>So we first need to mount the VHD (virtual hard drive) of our very last\/updated VM \u2013 the checkpoint we named complete.<\/p>\n<p><b>Once your VM is shut down, create another Checkpoint named &quot;Complete&quot;.&#160; <br \/>Do NOT power your VM back on.<\/b><\/p>\n<p>As mentioned above, the install.wim file is the actual source used when installing Windows 10. Thus, we need to create our own WIM file, and replace the stock one with it. To do this, we need to &quot;capture&quot; the last Checkpoint.<\/p>\n<p>On your host (physical machine), open up Disk Management.&#160; <br \/>WIN+X &gt; Disk Management<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-26.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-26.png\" width=\"143\" height=\"244\" \/><\/a><\/p>\n<p>Navigate to Action &gt; Attach VHD<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-27.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-27.png\" width=\"244\" height=\"117\" \/><\/a><\/p>\n<p>Click Browse<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-28.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-28.png\" width=\"244\" height=\"126\" \/><\/a><\/p>\n<p>Navigate to the directory where the virtual disks are stored for stage01. By default this directory is: C:\\Users\\Public\\Documents\\Hyper-V\\Virtual hard disks\/<\/p>\n<p>In the bottom right, change Virtual Disk files (* .vhd, * .vhdx) <b><u>to All files (* . *)<\/u><\/b><\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-29.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-29.png\" width=\"206\" height=\"103\" \/><\/a><\/p>\n<p>Select the file with the most recent Date Modified &#8211; this is your Complete Checkpoint!<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-30.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-30.png\" width=\"244\" height=\"135\" \/><\/a><\/p>\n<p>Click Open<\/p>\n<p>Check box Read-only and then click OK. <\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-31.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-31.png\" width=\"244\" height=\"126\" \/><\/a><\/p>\n<p>At this point you will see one new disk with two partitions. Make note of the second partition drive letter (in my case, the F: Drive). <\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-32.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-32.png\" width=\"244\" height=\"113\" \/><\/a><\/p>\n<p>Now the capture!<\/p>\n<p>Open the Command Prompt with Administrator Rights.<\/p>\n<p>WIN+X &gt; Command Prompt (Admin)<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-33.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-33.png\" width=\"145\" height=\"244\" \/><\/a><\/p>\n<p>Type:<\/p>\n<p>dism \/capture-image \/imagefile:c:\\customInstall.wim \/capturedir:F:\\ \/name:&quot;Windows 10 Enterprise &#8211; Customized by: Darth Sidious&quot; \/Description:&quot;Windows 10 Enterprise &#8211; Customized by: Darth Sidious&quot; \/compress:maximum \/checkintegrity \/verify \/bootable<\/p>\n<p>replacing F: with the second partition drive letter you made note of earlier &#8211; and replacing &quot;Customized by: Darth Sidious&quot; with whatever you want.<\/p>\n<p>Depending on your processing power, this may take a little while. When complete, you will see &quot;This operation completed successfully.&quot; You should now see a file named &quot;customInstall.wim&quot; at the root of your C:\\ Drive.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-34.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-34.png\" width=\"244\" height=\"69\" \/><\/a><\/p>\n<p><strong>Build the Customized Media<\/strong><\/p>\n<p>Open\/Double click the stock ISO you used to install Windows in stage01 to mount it within File Explorer.<\/p>\n<p>Open This PC and double click the newly mounted drive.   <br \/>(In my case, Drive E: SW_DVD5_WIN_ENT_10_1607_64BIT_English_MLF_X21-07102.ISO)<\/p>\n<p>CTRL+A (to select all) and CTRL+C (to copy)<\/p>\n<p>Create a new folder named WinExtract off your C:\\ drive<\/p>\n<p>(Another location is fine too, but these instructions will be assuming C:\\)<\/p>\n<p>Navigate to C:\\WinExtract\\ and CTRL+V (to paste).<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-35.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-35.png\" width=\"244\" height=\"90\" \/><\/a><\/p>\n<p>After the copy completes, navigate to C:\\WinExtract\\sources\\ and <b>delete the install.wim file<\/b>.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-36.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-36.png\" width=\"244\" height=\"237\" \/><\/a><\/p>\n<p>Move C:\\customInstall.wim (your custom WIM) to C:\\WinExtract\\sources\\.<\/p>\n<p>Rename C:\\WinExtract\\sources\\customInstall.wim to install.wim.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-37.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-37.png\" width=\"244\" height=\"109\" \/><\/a><\/p>\n<p>At this point, you are ready to create your ISO.<\/p>\n<p><b>Create UEFI Bootable ISO:<\/b><\/p>\n<p>Open Admin Command Prompt<\/p>\n<p>Change directory (cd) to:<\/p>\n<p>C:\\Program Files (x86)\\Windows Kits\\10\\Assessment and Deployment Kit\\Deployment Tools\\amd64\\Oscdimg<\/p>\n<p>Then enter and run:<\/p>\n<p>oscdimg -m -u2 -bC:\\WinExtract\\boot\\etfsboot.com C:\\WinExtract\\ C:\\Windows10Updated.iso<\/p>\n<p>Once complete, you now have a UEFI bootable ISO named <b><i>Windows10Updated.iso<\/i><\/b><\/p>\n<p>[If you are making a Windows 8.1 image you will need to use the right directory for the \u2018Windows Kits\/adk selection]<\/p>\n<p><strong>You should now test your .iso by using it to create a new VM. Verify that it installs and works. Then you can create a bootable USB drive.<\/strong><\/p>\n<p>I use <a href=\"https:\/\/rufus.akeo.ie\/\">Rufus<\/a> Portable to create my bootable USBs. Portable <a href=\"https:\/\/rufus.akeo.ie\/downloads\/rufus-2.12p.exe\">download here<\/a>.<\/p>\n<p>One of the first cool things about Rufus Portable is that no installation is necessary to run it. When you run it, setting it up is simple. Select the USB drive you want to use. To make sure your drive will boot on most devices including newer UEFI ones select the \u2018MBR partition scheme for BIOS or UEFI Computers\u2019 and also \u2018Use Rufus MBR\u2019 option.<\/p>\n<p>Then select the disc icon next to the ISO drop-down and navigate to the location of your newly created Windows 10 ISO.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-38.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-38.png\" width=\"244\" height=\"194\" \/><\/a><\/p>\n<p>After that click Start and you should be good to go, within minutes.<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image-39.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2017\/02\/image_thumb-39.png\" width=\"202\" height=\"244\" \/><\/a><\/p>\n<p>Hope this helps some. I put this up here, like most of my stuff, mainly so I have a place to remember what I did. \ud83d\ude1b<\/p>\n<p>Happy image building.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Creating Customized Windows 10\/8.1 Media (ISO, WIM, Flash Drive) In the Enterprise environment Windows Operation Systems are usually created, captured and deployed via MS SCCM, WDS or other imaging deployment technology. This allows for an Operating System to be deployed that is updated to the latest version(s) and standards of the organization along with any &hellip; <a href=\"https:\/\/mikemartinezonline.com\/blog\/2017\/02\/02\/creating-customized-windows-108-1-media-iso-wim-flash-drive\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Creating Customized Windows 10\/8.1 Media (ISO, WIM, Flash Drive)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":587,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[264,265,263,13,262,11,256,218],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/posts\/1305"}],"collection":[{"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/users\/587"}],"replies":[{"embeddable":true,"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/comments?post=1305"}],"version-history":[{"count":2,"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/posts\/1305\/revisions"}],"predecessor-version":[{"id":1469,"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/posts\/1305\/revisions\/1469"}],"wp:attachment":[{"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/media?parent=1305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/categories?post=1305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/tags?post=1305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}