<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" 
  xmlns:content="http://purl.org/rss/1.0/modules/content/" 
  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:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>Windows 10 21H1 May 2021 Update on gal.vin</title>
    <link>https://gal.vin/tags/windows-10-21h1-may-2021-update/</link>
    <description>Recent content in Windows 10 21H1 May 2021 Update on gal.vin</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>&amp;copy;{year}, All Rights Reserved</copyright>
    <lastBuildDate>Sun, 09 May 2021 00:51:50 +0100</lastBuildDate>
    <sy:updatePeriod>daily</sy:updatePeriod>
    
        <atom:link href="https://gal.vin/tags/windows-10-21h1-may-2021-update/index.xml" rel="self" type="application/rss+xml" />
    

      
      <item>
        <title>Deploy Windows 10 21H1 Reference Image</title>
        <link>https://gal.vin/posts/2021/deploy-windows-10-21h1/</link>
        <pubDate>Sun, 09 May 2021 00:51:50 +0100</pubDate>
        
        <atom:modified>Sun, 09 May 2021 00:51:50 +0100</atom:modified>
        <guid>https://gal.vin/posts/2021/deploy-windows-10-21h1/</guid>
        <description>News and Updates An update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released: This update fixes a boot loop issue. Details on how to install it are on Michael Niehaus&#39; blog post here and you can download the fix here. Installation instructions will also be in the walkthrough below. NOTE: If you have existing shares you will need to copy the files from the extracted update to %DeployRoot%\Tools and overwrite the existing files in all shares.</description>
        <content:encoded>&lt;h3 id=&#34;news-and-updates&#34;&gt;News and Updates&lt;/h3&gt;
&lt;p&gt;An update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released: This update fixes a boot loop issue. Details on how to install it are on &lt;a href=&#34;https://oofhours.com/2020/06/03/mdt-build-8456-needs-an-update-for-windows-10-2004/&#34;&gt;Michael Niehaus&#39; blog post here&lt;/a&gt; and you can &lt;a href=&#34;https://support.microsoft.com/en-us/help/4564442/windows-10-deployments-fail-with-microsoft-deployment-toolkit&#34;&gt;download the fix here&lt;/a&gt;. Installation instructions will also be in the walkthrough below. NOTE: If you have existing shares you will need to copy the files from the extracted update to &lt;code&gt;%DeployRoot%\Tools&lt;/code&gt; and overwrite the existing files in all shares. You will then need to update the deployment shares and recreate boot media.&lt;/p&gt;
&lt;p&gt;Lifecycle Support Notes from Microsoft: If you are using Enterprise or Education editions of Windows 10, from 1809 onwards the YY09 (YYH2) versions of Windows 10 will get 30 months of support and the YY03 versions will only get 18 months. So you may want to consider if you deploy the YY03 versions at all and focus on YY09 releases. Here&amp;rsquo;s the &lt;a href=&#34;https://support.microsoft.com/en-gb/help/13853/windows-lifecycle-fact-sheet&#34;&gt;official information from Microsoft here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article is based on current information as of 2021-09-25. I will update it in future as things progress.&lt;/p&gt;
&lt;p&gt;In this article as with my previous ones we will walk through configuring Microsoft Deployment Toolkit to deploy the reference image created in the previous article: &lt;a href=&#34;https://gal.vin/posts/2021/build-capture-windows-10-21h1/&#34;&gt;Build and Capture Windows 10 21H1 Reference Image&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;installing-the-mdt-update-mdt_kb4564442&#34;&gt;Installing the MDT Update: MDT_KB4564442&lt;/h3&gt;
&lt;p&gt;Extract the files from the self-extracting archive and copy them to &lt;code&gt;%ProgramFiles%\Microsoft Deployment Toolkit\Templates\Distribution\Tools&lt;/code&gt; replacing the existing files. If you have existing shares you will need to copy the files from the update to &lt;code&gt;%DeployRoot%\Tools&lt;/code&gt; and overwrite the existing files in all shares. You will then need to update the deployment shares and recreate boot media.&lt;/p&gt;
&lt;h3 id=&#34;creating-the-deployment-share&#34;&gt;Creating the Deployment Share&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Open the Deployment Workbench from the Start Menu&lt;/li&gt;
&lt;li&gt;Right click on Deployment Shares&lt;/li&gt;
&lt;li&gt;Select New Deployment Share&lt;/li&gt;
&lt;li&gt;Enter the path for the Deployment Share: &lt;code&gt;E:\Deploy&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Enter the Share name: Deploy$&lt;/li&gt;
&lt;li&gt;Give the share a description&lt;/li&gt;
&lt;li&gt;On the Options screen, accept the defaults as we can change them later&lt;/li&gt;
&lt;li&gt;Complete the wizard to create the share&lt;/li&gt;
&lt;li&gt;By default, the share permissions are set the local administrators group. We&amp;rsquo;ll revisit this later&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;add-an-operating-system&#34;&gt;Add an Operating System&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Go to Deployment Workbench &amp;gt; Operating Systems&lt;/li&gt;
&lt;li&gt;Right click and select Import Operating System&lt;/li&gt;
&lt;li&gt;In the wizard, select Custom image file and then navigate to the Captures folder of the Build Deployment Share as the Source file&lt;/li&gt;
&lt;li&gt;When prompted to Specify operating system setup files, select Setup files are not needed&lt;/li&gt;
&lt;li&gt;For the destination directory name enter a name that you want to use and complete the wizard&lt;/li&gt;
&lt;li&gt;Go to the Operating Systems node and rename the reference image we just captured to something more readable&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;create-a-task-sequence&#34;&gt;Create a Task Sequence&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In Deployment Workbench, go to Task Sequences&lt;/li&gt;
&lt;li&gt;Right click and select New Task Sequence&lt;/li&gt;
&lt;li&gt;For the ID enter: W10-21H1&lt;/li&gt;
&lt;li&gt;Name it Deploy Windows 10 version 21H1&lt;/li&gt;
&lt;li&gt;Select Standard Client Task Sequence&lt;/li&gt;
&lt;li&gt;For the Operating System, select the custom image that we imported previously&lt;/li&gt;
&lt;li&gt;Select Do not specify a product key at this time if you are using KMS&lt;/li&gt;
&lt;li&gt;Enter an Organization name&lt;/li&gt;
&lt;li&gt;Enter the local Administrator password&lt;/li&gt;
&lt;li&gt;Complete the wizard&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now we&amp;rsquo;ll configure the Task Sequence.&lt;/p&gt;
&lt;h3 id=&#34;configuring-the-task-sequence&#34;&gt;Configuring the Task Sequence&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Right click on the Task Sequence just created and select Properties&lt;/li&gt;
&lt;li&gt;Expand the Initialization folder in the left-hand pane&lt;/li&gt;
&lt;li&gt;Go to the Gather local only item&lt;/li&gt;
&lt;li&gt;In the Properties window select Gather local data and process rules&lt;/li&gt;
&lt;li&gt;Enter the following in the Rules file: customsettings.ini&lt;/li&gt;
&lt;li&gt;Go to the State Restore folder and select Windows Update (Pre-Application Installation)&lt;/li&gt;
&lt;li&gt;On the right side of the Properties window, go to the Options tab&lt;/li&gt;
&lt;li&gt;Uncheck the Disable this step tick box and do the same with Windows Update (Post-Application Installation)&lt;/li&gt;
&lt;li&gt;Select the Install Applications item and check the Disable this step tick box&lt;/li&gt;
&lt;li&gt;Click Apply and close the Task Sequence&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;securing-the-deployment-share&#34;&gt;Securing the Deployment Share&lt;/h3&gt;
&lt;p&gt;In the previous post we created a user called &lt;code&gt;mdt_admin&lt;/code&gt; in Active Directory to be used as a service account. We must give that user access to the new deployment share we have created here.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to the server or PC where the Deployment Share is hosted&lt;/li&gt;
&lt;li&gt;Give the user &lt;code&gt;mdt_admin&lt;/code&gt; Full Control share permissions and Full Control permissions to all the files and folders in the Deployment Share&lt;/li&gt;
&lt;li&gt;You may also want to give similar permissions to users or groups that are going to be using the deployment share&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Next, we need to configure the Bootstrap.ini and the CustomSettings.ini files to control certain aspects of the deployment environment. The settings below are a bare minimum configuration from my lab, and you may want to add more to overtime.&lt;/p&gt;
&lt;h3 id=&#34;configure-bootstrapini&#34;&gt;Configure Bootstrap.ini&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In Deployment Workbench, right click the Deployment Share and select Properties&lt;/li&gt;
&lt;li&gt;Select the Rules tab and click the Edit Bootstrap.ini button&lt;/li&gt;
&lt;li&gt;Add the settings below to the Bootstrap.ini&lt;/li&gt;
&lt;li&gt;Close and Save the Bootstrap.ini&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;6
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Default
 
[Default]
DeployRoot=\\SERVER-NAME\Deploy$
SkipBDDWelcome=YES
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h3 id=&#34;configure-customsettingsini&#34;&gt;Configure CustomSettings.ini&lt;/h3&gt;
&lt;p&gt;The settings below deserve some explanation. The &lt;code&gt;[Virtual Machine]&lt;/code&gt; section is regarding driver installs which we&amp;rsquo;ll cover more later in this post. The Join Domain section is important. Here I&amp;rsquo;ve put the &lt;code&gt;mdt_admin&lt;/code&gt; account to use as the account to join the device being imaged to the domain contoso.com. If you are following this guide to the letter, the &lt;code&gt;mdt_admin&lt;/code&gt; account would not have the appropriate permissions to join a device to a domain, and so you should either give it the permissions required or create a new account for that specific purpose.&lt;/p&gt;
&lt;p&gt;The other settings are location preferences relevant to the UK and resolution settings which prevent the finished device from defaulting to a resolution of 1024 x 768, and instead use the recommended resolution Windows receives from the display.&lt;/p&gt;
&lt;p&gt;On the Rules tab of the Deployment Share properties window, add the settings below.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;15
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;16
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;17
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;18
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;19
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;20
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;21
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;22
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;23
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;24
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;25
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;26
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;27
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;28
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;29
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;30
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;31
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;32
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;33
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;34
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;35
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;36
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;37
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;38
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;39
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;40
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;41
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;42
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;43
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;44
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;45
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;46
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;47
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;48
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;49
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;50
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;51
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Model, Default, SetOSD
Properties=OSDPrefix

[Virtual Machine]
DriverGroup001=Virtual Machine
DriverSelectionProfile=nothing
OSDComputerName=%TaskSequenceID%

[Default]
_SMSTSORGNAME=Deploy
_SMSTSPackageName=%TaskSequenceName%

; MDT deployment settings
OSInstall=Y
SkipCapture=YES
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES

; Locale and screen res
TimeZoneName=GMT Standard Time
KeyboardLocale=0809:00000809
UILanguage=en-GB
UserLocale=en-GB
KeyboardLocale=en-GB
BitsPerPel=32
VRefresh=60
XResolution=1
YResolution=1
HideShell=YES

; Join Domain
JoinDomain=contoso.com
DomainAdminDomain=contoso.com
DomainAdmin=mdt_admin
DomainAdminPassword=p@ssw0rd
MachineObjectOU=OU=PCs,DC=contoso,DC=com

; Other Settings
SkipUserData=YES
SkipDomainMembership=YES
SkipLocaleSelection=YES
SkipTimeZone=YES
SkipSummary=YES
SkipFinalSummary=YES
FinishAction=SHUTDOWN
WSUSServer=http://SERVER-NAME:8530
SLShare=\\SERVER-NAME\deploy$\Logs
EventService=http://SERVER-NAME:9800
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;We now need to create the boot media to boot the VM into the deployment environment.&lt;/p&gt;
&lt;h3 id=&#34;creating-the-boot-media&#34;&gt;Creating the Boot Media&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In Deployment Workbench, right click on the Deployment Share.&lt;/li&gt;
&lt;li&gt;Select Update Deployment Share.&lt;/li&gt;
&lt;li&gt;Select Completely regenerate the boot images.&lt;/li&gt;
&lt;li&gt;Complete the wizard. It will take some time to create the boot images.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;testing-the-task-sequence&#34;&gt;Testing the Task Sequence&lt;/h3&gt;
&lt;p&gt;To test everything, we need to copy the ISO file that we just generated. It is in the Boot folder in the Deployment Share. Go to the Server or PC that is hosting the deployment share and navigate to the boot folder. Inside there should be a file named &lt;code&gt;LiteTouchPE_x64.iso&lt;/code&gt;. Copy this file to a location where a Hyper-V Virtual Machine will be able to access it. To prevent confusion with the ISO we generated from the Build deployment share, we&amp;rsquo;ll append &lt;code&gt;-deploy&lt;/code&gt; to the name of this new ISO. Create a new VM in Hyper-V with the following configuration:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For Hyper-V Only: Generation 1, not 2. I&amp;rsquo;ve had issues reported with Gen2 VMs&lt;/li&gt;
&lt;li&gt;At least 2x vCPUs&lt;/li&gt;
&lt;li&gt;At least 4GB of RAM&lt;/li&gt;
&lt;li&gt;Network Adaptor with access the local network&lt;/li&gt;
&lt;li&gt;Virtual Hard Drive of at least 40GB, preferably on fast media&lt;/li&gt;
&lt;li&gt;Boot from CD using the &lt;code&gt;LiteTouchPE_x64-deploy.iso&lt;/code&gt; from MDT&lt;/li&gt;
&lt;li&gt;If using Hyper-V on Windows 10 1709 or above, make sure Use Automatic Checkpoints is disabled&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Start the VM and it will boot from the &lt;code&gt;LiteTouchPE_x64-deploy.iso&lt;/code&gt; into the deployment environment, you will be presented with a login screen and here you should login with the Active Directory credentials that have access to the Deployment Share. Once logged in you will be presented with a screen with the name of the Task Sequence you created earlier. Select your Task Sequence and click Next. You&amp;rsquo;ll be prompted to enter a name for the device, it will also be added to Active Directory under this name. Click Next and the task sequence will begin.&lt;/p&gt;
&lt;p&gt;When the task sequence completes the VM will be shutdown.&lt;/p&gt;
&lt;p&gt;This completes the basic testing of the deployment task sequence. Now we&amp;rsquo;ll get into drivers and further configuration.&lt;/p&gt;
&lt;h3 id=&#34;setting-the-default-application-associations&#34;&gt;Setting the Default Application Associations&lt;/h3&gt;
&lt;p&gt;Here&amp;rsquo;s how to configure the default application associations in the deployment task sequence.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Using an existing Windows 10 install navigate to Settings &amp;gt; System &amp;gt; Default apps&lt;/li&gt;
&lt;li&gt;Set the Default apps and any other file associations as required&lt;/li&gt;
&lt;li&gt;Open Windows PowerShell (Admin) by right-clicking on the Windows/Start button or pressing Win + X&lt;/li&gt;
&lt;li&gt;In the PowerShell window type the following and press enter: &lt;code&gt;Dism /Online /Export-DefaultAppAssociations:C:\AppAssoc.xml&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;After a few seconds you should see The operation completed successfully in the PowerShell window&lt;/li&gt;
&lt;li&gt;Navigate to &lt;code&gt;C:\&lt;/code&gt; and copy &lt;code&gt;AppAssoc.xml&lt;/code&gt; to your MDT deployment share: &lt;code&gt;\\SERVER-NAME\Deploy$\_custom&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Open the Deployment Workbench and go to Deployment Share &amp;gt; Task Sequences&lt;/li&gt;
&lt;li&gt;Right click on the Task Sequence Deploy Windows 10 21H1 and select Properties&lt;/li&gt;
&lt;li&gt;Click on the Task Sequence tab and navigate to Postinstall &amp;gt; Configure&lt;/li&gt;
&lt;li&gt;Click the Add button at the top of the Task Sequence actions view and go to General &amp;gt; Run Command Line&lt;/li&gt;
&lt;li&gt;Enter Set Default App Associations in the Name field, and in the Command line field enter: &lt;code&gt;Dism.exe /Image:%OSDisk% /Import-DefaultAppAssociations:%DEPLOYROOT%\Applications\_scripts\AppAssoc.xml&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Click Apply to save the changes&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;driver-management&#34;&gt;Driver Management&lt;/h3&gt;
&lt;p&gt;Now we&amp;rsquo;re going to configure how drivers are installed for the physical devices we&amp;rsquo;re going to deploy Windows 10 to. There are a few ways to do this, here I&amp;rsquo;ll show the method I&amp;rsquo;ve been using which has worked very well for a variety of manufactures and models of devices.&lt;/p&gt;
&lt;p&gt;The first thing you&amp;rsquo;ll need is the model numbers for all the devices you want to roll out the image to. You can find this out by booting the device in to its current version of Windows or the deployment environment using the &lt;code&gt;LiteTouch_x64.iso&lt;/code&gt; boot disc or PXE booting, which I haven&amp;rsquo;t covered in this post but here&amp;rsquo;s a previous post I wrote on how to setup PXE booting for MDT: &lt;a href=&#34;https://gal.vin/posts/old/pxe-booting-for-mdt/&#34;&gt;PXE Booting for Microsoft Deployment Toolkit&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When the device is booted into the deployment environment, press F8 to get a command prompt, and typing out the following command: &lt;code&gt;wmic computersystem get model&lt;/code&gt; The output of the command is the model number you&amp;rsquo;ll need. The next thing you&amp;rsquo;ll need is the drivers. I&amp;rsquo;ve found Windows 10 is good at installing missing drivers from Windows Update, but it can take some time and it would be better for the device to be running with all the drivers it needs once deployment has completed.&lt;/p&gt;
&lt;p&gt;Windows 10 tends to have some drivers built right in and I&amp;rsquo;ve found they are usually very usable, so generally I only add drivers to MDT that Windows 10 cannot find. Deploy the reference image to each type of device you have and use Device Manager to see what&amp;rsquo;s missing.&lt;/p&gt;
&lt;p&gt;If you are missing drivers, go to Settings &amp;gt; Windows Update and use Check online for updates from Microsoft Update which should find and install the relevant drivers. Then using the Update History and see what you need to find and import into MDT.&lt;/p&gt;
&lt;p&gt;Note: I recommend avoiding using WSUS to download and install drivers as it inflates the WSUS database, slowing WSUS down and making it difficult to manage.&lt;/p&gt;
&lt;p&gt;To import drivers into MDT you&amp;rsquo;ll need the INF files. Most large manufacturers do a decent job of providing drivers that can be used with MDT. Should you have difficulty with them you can use the &lt;a href=&#34;https://www.catalog.update.microsoft.com&#34;&gt;Microsoft Update Catalog&lt;/a&gt; to search for and download the specific drivers that Windows Update installs and use them with MDT. Once you have the drivers you require, we need to add them to MDT.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the Deployment Workbench&lt;/li&gt;
&lt;li&gt;Navigate to Deployment Share &amp;gt; Out-of-Box Drivers&lt;/li&gt;
&lt;li&gt;Right click and select New Folder, call the folder Windows 10 x64&lt;/li&gt;
&lt;li&gt;Right click on the Windows 10 x64 folder and select New Folder&lt;/li&gt;
&lt;li&gt;Name the folder a human readable name for the model of device you&amp;rsquo;ll be adding drivers for&lt;/li&gt;
&lt;li&gt;Right click on the folder you just created and create folders for each driver type you&amp;rsquo;ll be adding, e.g. Graphics, Chipset, Bluetooth&lt;/li&gt;
&lt;li&gt;Right click on a driver type folder and select Import Drivers&lt;/li&gt;
&lt;li&gt;Enter the source directory of the drivers for that driver type&lt;/li&gt;
&lt;li&gt;Check the Import drivers even if they are duplicates of an existing driver check box&lt;/li&gt;
&lt;li&gt;Click Next and complete the wizard. The wizard will copy all the files needed to the driver type folder&lt;/li&gt;
&lt;li&gt;Repeat steps 7-10 for each driver type required&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;We now need to edit the CustomSettings.ini to configure the driver location for each model.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to the Deployment Workbench and right click on the Deployment Share, select Properties&lt;/li&gt;
&lt;li&gt;Go to the Rules tab in the Properties window&lt;/li&gt;
&lt;li&gt;Enter the following text under the &lt;code&gt;[Settings]&lt;/code&gt; section but after the Properties&lt;/li&gt;
&lt;li&gt;Once you&amp;rsquo;ve added in all the models required, click Apply to save the changes&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;4
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[MODEL-NUMBER]
DriverGroup001=Windows 10 x64\Human-Readable-Model-Number
DriverSelectionProfile=nothing
OSDPrefix=PC
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;You&amp;rsquo;ll need to enter the above text for each model. Below is an example of my CustomSettings.ini for reference.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;15
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;16
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;17
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;18
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;19
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;20
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;21
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;22
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;23
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;24
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;25
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;26
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Model, Default, SetOSD
Properties=OSDPrefix
 
[HP 250 G5 Notebook PC]
DriverGroup001=Windows 10 x64\HP 250 G3
DriverSelectionProfile=nothing
OSDPrefix=HP
 
[80J2]
DriverGroup001=Windows 10 x64\Lenovo E50
DriverSelectionProfile=nothing
OSDPrefix=LEN
 
[Virtual Machine]
DriverGroup001=Virtual Machine
DriverSelectionProfile=nothing
OSDPrefix=VM
 
[Default]
_SMSTSORGNAME=Deploy
_SMSTSPackageName=%TaskSequenceName%
UserDataLocation=NONE
ComputerBackupLocation=\\SERVER-NAME\Deploy$\Captures
OSDComputerName=%OSDPrefix%-%SerialNumber%
...
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;The Deploy deployment share is now configured to install drivers for the models specified.&lt;/p&gt;
&lt;p&gt;Boot the physical device into the deployment environment and run the Deploy Windows 10 21H1. After it completes, check Device Manager and all devices should be successfully installed.&lt;/p&gt;
&lt;h3 id=&#34;adding-drivers-to-the-mdt-boot-image&#34;&gt;Adding Drivers to the MDT Boot Image&lt;/h3&gt;
&lt;p&gt;It may be necessary to add drivers to the MDT Boot Image for devices such as storage or network adaptors. To determine if drivers are required:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Boot the device in question into the deployment environment and press F8 to bring up a command prompt&lt;/li&gt;
&lt;li&gt;Type ipconfig and if you have an IP address, you should not have to add network adaptor drivers&lt;/li&gt;
&lt;li&gt;Type diskpart, and when diskpart has loaded, type list disk. If the local hard drive is listed, you should not need to add storage drivers&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If you do need to add drivers to the boot image:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the Deployment Workbench, go to Deployment Share &amp;gt; Out-of-Box Drivers&lt;/li&gt;
&lt;li&gt;Right click and select New Folder, call the folder WinPE x64&lt;/li&gt;
&lt;li&gt;Right click on the WinPE x64 folder and select New Folder&lt;/li&gt;
&lt;li&gt;Name the folder a suitable name for the model of device you&amp;rsquo;ll be adding drivers for&lt;/li&gt;
&lt;li&gt;Right click on the folder you just created and create folders for each driver type you&amp;rsquo;ll be adding, e.g. Storage, Network&lt;/li&gt;
&lt;li&gt;To import the drivers, right click on a driver type folder and select Import Drivers&lt;/li&gt;
&lt;li&gt;Enter the source directory of the drivers and tick the Import drivers even if they are duplicates of an existing driver check box&lt;/li&gt;
&lt;li&gt;Click Next and complete the wizard. The wizard will copy all the files needed to the driver type folder&lt;/li&gt;
&lt;li&gt;Repeat steps 6-8 for each driver type required&lt;/li&gt;
&lt;li&gt;Now we must create a Selection Profile for WinPE x64&lt;/li&gt;
&lt;li&gt;Go to Advanced Configuration &amp;gt; Selection Profiles&lt;/li&gt;
&lt;li&gt;Right click on Selection Profiles and select New Selection Profile&lt;/li&gt;
&lt;li&gt;Enter WinPE x64 as the Selection profile name&lt;/li&gt;
&lt;li&gt;In the folders list navigate to DS001:\ &amp;gt; Out-of-Box Drivers &amp;gt; WinPE x64 and check the box next to the folder&lt;/li&gt;
&lt;li&gt;Click Next &amp;gt; Next &amp;gt; Finish to complete the wizard&lt;/li&gt;
&lt;li&gt;Right click on the Deployment Share and select Properties&lt;/li&gt;
&lt;li&gt;Go to the Windows PE tab and change the Platform drop down menu to x64&lt;/li&gt;
&lt;li&gt;Go to the Drivers and Patches tab and change the Selection profile drop down menu to WinPE x64&lt;/li&gt;
&lt;li&gt;Make sure that Include only drivers of the following types is selected and both Include all network drivers in the selection profile and Include all mass storage drivers in the selection profile are checked&lt;/li&gt;
&lt;li&gt;Click Apply to save the changes, click OK to close the Properties window&lt;/li&gt;
&lt;li&gt;Right click the Deployment Share and select Update Deployment Share&lt;/li&gt;
&lt;li&gt;Select Completely regenerate the boot images, and then Next. The boot images will be regenerated with the drivers included&lt;/li&gt;
&lt;li&gt;Click Finish to complete the wizard&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The MDT boot media should now have the network and/or storage drivers required. You now have a reference image for Windows 10 21H1 which is ready to deploy.&lt;/p&gt;
&lt;h3 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h3&gt;
&lt;p&gt;Please consider supporting my work:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Support with a one-time donation using &lt;a href=&#34;https://www.paypal.me/digressive&#34;&gt;PayPal&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you have any questions or comments, please leave them below.&lt;/p&gt;
&lt;p&gt;-Mike&lt;/p&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Windows 10 21H1 May 2021 Update</category>
            
          
            
              <category>Hyper-V</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Build and Capture Windows 10 21H1 Reference Image</title>
        <link>https://gal.vin/posts/2021/build-capture-windows-10-21h1/</link>
        <pubDate>Sun, 09 May 2021 00:13:32 +0100</pubDate>
        
        <atom:modified>Sun, 09 May 2021 00:13:32 +0100</atom:modified>
        <guid>https://gal.vin/posts/2021/build-capture-windows-10-21h1/</guid>
        <description>News and Updates An update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released: This update fixes a boot loop issue. Details on how to install it are on Michael Niehaus&#39; blog post here and you can download the fix here. Installation instructions will also be in the walkthrough below. NOTE: If you have existing shares you will need to copy the files from the extracted update to %DeployRoot%\Tools and overwrite the existing files in all shares.</description>
        <content:encoded>&lt;h3 id=&#34;news-and-updates&#34;&gt;News and Updates&lt;/h3&gt;
&lt;p&gt;An update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released: This update fixes a boot loop issue. Details on how to install it are on &lt;a href=&#34;https://oofhours.com/2020/06/03/mdt-build-8456-needs-an-update-for-windows-10-2004/&#34;&gt;Michael Niehaus&#39; blog post here&lt;/a&gt; and you can &lt;a href=&#34;https://support.microsoft.com/en-us/help/4564442/windows-10-deployments-fail-with-microsoft-deployment-toolkit&#34;&gt;download the fix here&lt;/a&gt;. Installation instructions will also be in the walkthrough below. NOTE: If you have existing shares you will need to copy the files from the extracted update to &lt;code&gt;%DeployRoot%\Tools&lt;/code&gt; and overwrite the existing files in all shares. You will then need to update the deployment shares and recreate boot media.&lt;/p&gt;
&lt;p&gt;Lifecycle Support Notes from Microsoft: If you are using Enterprise or Education editions of Windows 10, from 1809 onwards the YY09 (YYH2) versions of Windows 10 will get 30 months of support and the YY03 versions will only get 18 months. So you may want to consider if you deploy the YY03 versions at all and focus on YY09 releases. Here&amp;rsquo;s the &lt;a href=&#34;https://support.microsoft.com/en-gb/help/13853/windows-lifecycle-fact-sheet&#34;&gt;official information from Microsoft here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This article is based on current information as of 2021-09-25. I will update it in future as things progress.&lt;/p&gt;
&lt;p&gt;In this article as with my previous ones we will walk through installing and configuring Microsoft Deployment Toolkit to build and capture a reference image of Windows 10 version 21H1 using a Hyper-V Virtual Machine. It&amp;rsquo;s assumed that you have a server or PC ready to install MDT and create a file share for MDT to build the image with, and finally we&amp;rsquo;ll be focusing on the 64-bit Enterprise edition of Windows 10. Here are the links to the software we&amp;rsquo;ll be using:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://go.microsoft.com/fwlink/?linkid=2120254&#34;&gt;Windows 10 version 2004 Assessment and Deployment Kit (ADK)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://go.microsoft.com/fwlink/?linkid=2120253&#34;&gt;Windows PE add-on for ADK 2004&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.microsoft.com/en-us/download/details.aspx?id=54259&#34;&gt;Microsoft Deployment Toolkit (8456)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://support.microsoft.com/en-us/help/4564442/windows-10-deployments-fail-with-microsoft-deployment-toolkit&#34;&gt;Microsoft Deployment Toolkit (8456) Update KB4564442&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Windows 10 version 21H1 x64 | &lt;a href=&#34;https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewiso&#34;&gt;Windows Insider Preview ISO&lt;/a&gt; | &lt;a href=&#34;https://www.microsoft.com/Licensing/servicecenter/default.aspx&#34;&gt;Volume Licensing Service Center&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Additional software which may be useful:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://rufus.ie&#34;&gt;Rufus&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.microsoft.com/en-gb/download/details.aspx?id=45520&#34;&gt;Remote Server Administration Tools for Windows 10&lt;/a&gt; - Double check that you download the version of RSAT for the version of server you want to administer.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;installing-microsoft-deployment-toolkit-and-dependencies&#34;&gt;Installing Microsoft Deployment Toolkit and Dependencies&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;First, we&amp;rsquo;ll install the Windows 10 version 2004 ADK. During setup additional files will need to be downloaded, so it may take some time depending on your internet connection.&lt;/li&gt;
&lt;li&gt;On the &amp;ldquo;Select the features you want to install&amp;rdquo; screen, select the following:
&lt;ul&gt;
&lt;li&gt;Deployment Tools&lt;/li&gt;
&lt;li&gt;Imaging And Configuration Designer (ICD)&lt;/li&gt;
&lt;li&gt;Configuration Designer&lt;/li&gt;
&lt;li&gt;User State Migration Tool (USMT)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;WinPE is a separate install. Install the WinPE add-on by running the adkwinpesetup.exe, there is no specific configuration during the install wizard.&lt;/li&gt;
&lt;li&gt;Now install MDT by running the setup file downloaded earlier. There is no specific configuration during the install wizard.&lt;/li&gt;
&lt;li&gt;Finally, extract the files from MDT_KB4564442, and copy them to &lt;code&gt;%ProgramFiles%\Microsoft Deployment Toolkit\Templates\Distribution\Tools&lt;/code&gt; replacing the existing files.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;creating-the-deployment-share&#34;&gt;Creating the Deployment Share&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Open the &amp;ldquo;Deployment Workbench&amp;rdquo; from the Start Menu&lt;/li&gt;
&lt;li&gt;Right click on &amp;ldquo;Deployment Shares&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Select &amp;ldquo;New Deployment Share&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Enter the path for the Deployment Share: &lt;code&gt;E:\Build&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Enter the share name: &lt;code&gt;Build$&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Give the share a description&lt;/li&gt;
&lt;li&gt;On the Options screen, accept the defaults as you can change them later&lt;/li&gt;
&lt;li&gt;Complete the wizard to create the share&lt;/li&gt;
&lt;li&gt;By default, the share permissions are set the local administrators group. We&amp;rsquo;ll revisit this later&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;adding-an-operating-system&#34;&gt;Adding an Operating System&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Mount the Windows 10 version 21H1 ISO in File Explorer&lt;/li&gt;
&lt;li&gt;Go to &amp;ldquo;Deployment Workbench&amp;rdquo; &amp;gt; &amp;ldquo;Operating Systems&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Right click and select &amp;ldquo;New Folder&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Enter the name &amp;ldquo;Windows 10 version 21H1 x64&amp;rdquo; and click through the wizard to create the folder&lt;/li&gt;
&lt;li&gt;Right click again and select &amp;ldquo;Import Operating System&amp;rdquo;&lt;/li&gt;
&lt;li&gt;In the wizard, select &amp;ldquo;Full set of source files&amp;rdquo; and then enter the root of the mounted ISO as the &amp;ldquo;Source directory&amp;rdquo;&lt;/li&gt;
&lt;li&gt;For the destination directory name enter &amp;ldquo;Windows 10 version 21H1 x64&amp;rdquo; and complete the wizard&lt;/li&gt;
&lt;li&gt;Go to the &amp;ldquo;Operating Systems&amp;rdquo; &amp;gt; &amp;ldquo;Windows 10 version 21H1 x64&amp;rdquo; node and rename the new entries added to &amp;ldquo;Windows 10 version 21H1 Edition x64&amp;rdquo; for ease of use.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;creating-package-folder-for-future-updates&#34;&gt;Creating Package Folder for Future Updates&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Go to &amp;ldquo;Deployment Workbench&amp;rdquo; &amp;gt; &amp;ldquo;Packages&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Create a folder named &amp;ldquo;Windows 10 version 21H1 x64&amp;rdquo;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now we&amp;rsquo;ll create a selection profile so that the Task Sequence only attempts to install updates for Windows 10 version 21H1 x64 that we make available through MDT.&lt;/p&gt;
&lt;h3 id=&#34;creating-a-selection-profile&#34;&gt;Creating A Selection Profile&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Expand the &amp;ldquo;Advanced Configuration&amp;rdquo; node&lt;/li&gt;
&lt;li&gt;Right click on &amp;ldquo;Selection Profiles&amp;rdquo; and select &amp;ldquo;New Selection Profile&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Name it &amp;ldquo;Windows 10 version 21H1 x64&amp;rdquo;&lt;/li&gt;
&lt;li&gt;On the &amp;ldquo;Folders&amp;rdquo; page, tick the &amp;ldquo;Windows 10 version 21H1 x64&amp;rdquo; folder under &amp;ldquo;Packages&amp;rdquo; and complete the wizard&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;importing-applications&#34;&gt;Importing Applications&lt;/h3&gt;
&lt;p&gt;If you want to add some applications to be a part of your reference image, here I&amp;rsquo;ll cover how to add VLC as an example application.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to &amp;ldquo;Deployment Workbench&amp;rdquo; &amp;gt; &amp;ldquo;Deployment Share&amp;rdquo; &amp;gt; &amp;ldquo;Applications&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Right click on &amp;ldquo;Applications&amp;rdquo; and select &amp;ldquo;New Application&amp;rdquo;&lt;/li&gt;
&lt;li&gt;In the New Application Wizard, choose &amp;ldquo;Application with source files&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Give the application the name: VLC&lt;/li&gt;
&lt;li&gt;Enter the &amp;ldquo;Source&amp;rdquo; directory of the installation files&lt;/li&gt;
&lt;li&gt;Enter the &amp;ldquo;Destination&amp;rdquo; directory: VLC&lt;/li&gt;
&lt;li&gt;For the &amp;ldquo;Command line&amp;rdquo; enter anything, we&amp;rsquo;ll revisit this later&lt;/li&gt;
&lt;li&gt;On the summary page, click &amp;ldquo;Next&amp;rdquo; and after the files are copied click &amp;ldquo;Finish&amp;rdquo; to complete the wizard&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;configuring-applications&#34;&gt;Configuring Applications&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Right click on VLC, go to the Details tab&lt;/li&gt;
&lt;li&gt;Enter the following for the &amp;ldquo;Quiet install command&amp;rdquo;: &lt;code&gt;vlc-setup.exe /S&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;VLC is now set up to be installed silently by the Task Sequence.&lt;/p&gt;
&lt;p&gt;To add other software, you&amp;rsquo;ll need to repeat the steps above, with the relevant Command line to silently install them. Below are a few command lines for some software I frequently install silently, along with the links to the &amp;lsquo;offline&amp;rsquo; installers.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://enterprise.google.com/chrome/chrome-browser/&#34;&gt;Google Chrome - Enterprise Installer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;msiexec /I googlechromestandaloneenterprise64.msi /qn&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://get.adobe.com/uk/reader/enterprise/&#34;&gt;Adobe Reader - Enterprise Installer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;AdobeReaderDC.exe /sAll&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;We now need to create a new Task Sequence to create a reference image.&lt;/p&gt;
&lt;h3 id=&#34;creating-a-task-sequence&#34;&gt;Creating a Task Sequence&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In &amp;ldquo;Deployment Workbench&amp;rdquo;, go to &amp;ldquo;Task Sequences&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Right click and select &amp;ldquo;New Task Sequence&amp;rdquo;&lt;/li&gt;
&lt;li&gt;For the ID enter: &amp;ldquo;W10-21H1&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Name it &amp;ldquo;Build Windows 10 21H1&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Select &amp;ldquo;Standard Client Task Sequence&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Select the Operating System &amp;ldquo;Windows 10 21H1 x64&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Select &amp;ldquo;Do not specify a product key at this time&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Enter an &amp;ldquo;Organization&amp;rdquo; name&lt;/li&gt;
&lt;li&gt;Select &amp;ldquo;Do not specify an Administrator password at this time&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Complete the wizard&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now we&amp;rsquo;ll configure the Task Sequence.&lt;/p&gt;
&lt;h3 id=&#34;configuring-the-task-sequence&#34;&gt;Configuring the Task Sequence&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Right click on the &amp;ldquo;Task Sequence&amp;rdquo; just created and select &amp;ldquo;Properties&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Go to the &amp;ldquo;Task Sequence&amp;rdquo; tab on the &amp;ldquo;Properties&amp;rdquo; window of the Task Sequence&lt;/li&gt;
&lt;li&gt;Expand the &amp;ldquo;Preinstall&amp;rdquo; folder and select the &amp;ldquo;Apply Patches&amp;rdquo; item&lt;/li&gt;
&lt;li&gt;Change the &amp;ldquo;Selection Profile&amp;rdquo; to &amp;ldquo;Windows 10 21H1 x64&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Go to the &amp;ldquo;State Restore&amp;rdquo; folder and select &amp;ldquo;Windows Update (Pre-Application Installation)&amp;rdquo;&lt;/li&gt;
&lt;li&gt;On the right side of the &amp;ldquo;Properties&amp;rdquo; window, go to the &amp;ldquo;Options&amp;rdquo; tab&lt;/li&gt;
&lt;li&gt;Uncheck the &amp;ldquo;Disable this step&amp;rdquo; tick box and do the same with &amp;ldquo;Windows Update (Post-Application Installation)&amp;rdquo;&lt;/li&gt;
&lt;li&gt;If you skipped the &amp;ldquo;Importing Applications&amp;rdquo; section, please disable the Install Applications item and go to step 16, if not please continue&lt;/li&gt;
&lt;li&gt;Go to the &amp;ldquo;Install Applications&amp;rdquo; item&lt;/li&gt;
&lt;li&gt;In the right side of the &amp;ldquo;Properties&amp;rdquo; box, select the &amp;ldquo;Install a single application&amp;rdquo; option and click the &amp;ldquo;Browse&amp;hellip;&amp;rdquo; button&lt;/li&gt;
&lt;li&gt;Select &amp;ldquo;Google Chrome&amp;rdquo; and change the name Install Applications to &amp;ldquo;Google Chrome&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Install other Applications, copy and paste the &amp;ldquo;Install Applications&amp;rdquo; item and repeat steps 13 - 15 for the applications of your choice&lt;/li&gt;
&lt;li&gt;Click &amp;ldquo;Apply&amp;rdquo; and close the Task Sequence&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;blocking-internet-access-to-prevent-microsoft-store-app-updates&#34;&gt;Blocking Internet Access to prevent Microsoft Store App Updates&lt;/h3&gt;
&lt;p&gt;To block internet access to the VM whilst the image is building, we&amp;rsquo;ll use my &lt;a href=&#34;https://gal.vin/utils/internet-access-control-utility/&#34;&gt;Internet Access Control Utility&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Running the script with the -disable switch will create a firewall rule that will block internet traffic on ports 80 and 443.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;First &lt;a href=&#34;https://github.com/Digressive/Internet-Access-Control&#34;&gt;download Internet Access Control Utility from GitHub&lt;/a&gt; and copy it to &lt;code&gt;\\mdt-server\build-share\_custom&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;In the &amp;ldquo;Task Sequence&amp;rdquo; created above, we&amp;rsquo;ll add the items required to run the PowerShell script&lt;/li&gt;
&lt;li&gt;Go to the &amp;ldquo;Task Sequence&amp;rdquo; tab on the &amp;ldquo;Properties&amp;rdquo; window of the Task Sequence&lt;/li&gt;
&lt;li&gt;Go to &amp;ldquo;State Restore&amp;rdquo; and click on the &amp;ldquo;Add&amp;rdquo; button&lt;/li&gt;
&lt;li&gt;Go to &amp;ldquo;General&amp;rdquo; &amp;gt; &amp;ldquo;Run PowerShell Script&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Name the new item &amp;ldquo;PS Script - Disable Internet Access&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Enter &lt;code&gt;Z:\_custom\Internet-Access-Control.ps1&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Add &lt;code&gt;-Disable&lt;/code&gt; to the Parameters section&lt;/li&gt;
&lt;li&gt;Scroll down the Task Sequence to just above the &amp;ldquo;Imaging&amp;rdquo; folder&lt;/li&gt;
&lt;li&gt;Once again, add a new &amp;ldquo;Run PowerShell Script&amp;rdquo; item&lt;/li&gt;
&lt;li&gt;Name it &amp;ldquo;PS Script - Enable Internet Access&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Again, enter &lt;code&gt;Z:\_custom\Internet-Access-Control.ps1&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Add &lt;code&gt;-Enable&lt;/code&gt; to the Parameters section&lt;/li&gt;
&lt;li&gt;Click &amp;ldquo;Apply&amp;rdquo; and OK to close the Task Sequence&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Next, we&amp;rsquo;ll create a domain user account for MDT for use as a service account.&lt;/p&gt;
&lt;h3 id=&#34;creating-a-service-account-for-mdt-in-active-directory&#34;&gt;Creating a service account for MDT in Active Directory&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Go to &amp;ldquo;Active Directory Users and Computers&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Create a user called &lt;code&gt;mdt_admin&lt;/code&gt; and give it a complex password&lt;/li&gt;
&lt;li&gt;Go to the Server or PC where the &amp;ldquo;Deployment Share&amp;rdquo; is hosted&lt;/li&gt;
&lt;li&gt;Give the user &lt;code&gt;mdt_admin&lt;/code&gt; &amp;ldquo;Full Control&amp;rdquo; share permissions and &amp;ldquo;Full Control&amp;rdquo; file permissions to all the files and folders in the &amp;ldquo;Deployment Share&amp;rdquo;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Next, we need to configure the &amp;ldquo;Bootstrap.ini&amp;rdquo; and the &amp;ldquo;CustomSettings.ini&amp;rdquo; files to control certain aspects of the deployment environment. The settings below enable auto log in and skip the welcome screen, so these should only be used for lab or closed development environments.&lt;/p&gt;
&lt;h3 id=&#34;configuring-bootstrapini&#34;&gt;Configuring Bootstrap.ini&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In &amp;ldquo;Deployment Workbench&amp;rdquo;, right click the &amp;ldquo;Deployment Share&amp;rdquo; and select &amp;ldquo;Properties&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Select the &amp;ldquo;Rules&amp;rdquo; tab and click the &amp;ldquo;Edit Bootstrap.ini&amp;rdquo; button&lt;/li&gt;
&lt;li&gt;Add the settings below to the &amp;ldquo;Bootstrap.ini&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Close and Save the Bootstrap.ini&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;9
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Default
 
[Default]
DeployRoot=\\SERVER-NAME\Build$
UserDomain=contoso.com
UserID=mdt_admin
UserPassword=p@ssw0rd
SkipBDDWelcome=YES
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h3 id=&#34;configuring-customsettingsini&#34;&gt;Configuring CustomSettings.ini&lt;/h3&gt;
&lt;p&gt;On the &amp;ldquo;Rules&amp;rdquo; tab of the &amp;ldquo;Deployment Share&amp;rdquo; properties window, add the settings below.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;15
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;16
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;17
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;18
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;19
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;20
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;21
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;22
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;23
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;24
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;25
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;26
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;27
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;28
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Default
Properties=MyCustomProperty
 
[Default]
OSInstall=Y
SkipCapture=YES
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES
SkipLocaleSelection=YES
SkipTimeZone=YES
SkipDomainMembership=YES
SkipSummary=YES
SkipFinalSummary=YES
SkipComputerName=YES
SkipUserData=YES
 
_SMSTSORGNAME=Build Share
_SMSTSPackageName=%TaskSequenceName%
DoCapture=YES
ComputerBackupLocation=\\SERVER-NAME\Build$\Captures
BackupFile=%TaskSequenceID%_#year(date) &amp;amp; &amp;#34;-&amp;#34; &amp;amp; month(date) &amp;amp; &amp;#34;-&amp;#34; &amp;amp; day(date) &amp;amp; &amp;#34;-&amp;#34; &amp;amp; hour(time) &amp;amp; &amp;#34;-&amp;#34; &amp;amp; minute(time)#.wim
WSUSServer=http://WSUS-SERVER-NAME:8530
FinishAction=SHUTDOWN
SLShare=\\SERVER-NAME\Build$\Logs
EventService=http://SERVER-NAME:9800
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;We now need to create the boot media to boot the VM into the deployment environment.&lt;/p&gt;
&lt;h3 id=&#34;creating-the-boot-media&#34;&gt;Creating the Boot Media&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In &amp;ldquo;Deployment Workbench&amp;rdquo;, right click on the &amp;ldquo;Deployment Share&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Select &amp;ldquo;Update Deployment Share&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Select &amp;ldquo;Completely regenerate the boot images&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Complete the wizard. It will take some time to create the boot images&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;testing-and-capturing-a-reference-image&#34;&gt;Testing and Capturing a Reference Image&lt;/h3&gt;
&lt;p&gt;To test everything, we need to copy the ISO file that we just generated. It is in the &amp;ldquo;Boot&amp;rdquo; folder in the &amp;ldquo;Deployment Share&amp;rdquo;. Go to the Server or PC that is hosting the deployment share and navigate to the boot folder. Inside there should be a file named &lt;code&gt;LiteTouchPE_x64.iso&lt;/code&gt;. Copy this file to a location where a Hyper-V Virtual Machine will be able to access it.&lt;/p&gt;
&lt;p&gt;Create a new VM in Hyper-V with the following configuration:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For Hyper-V Only: Use Generation 1, not 2 VMs. I&amp;rsquo;ve had issues reported with Gen2 VMs&lt;/li&gt;
&lt;li&gt;At least 2x vCPUs&lt;/li&gt;
&lt;li&gt;At least 4GB of RAM&lt;/li&gt;
&lt;li&gt;Network Adaptor with access the local network&lt;/li&gt;
&lt;li&gt;Virtual Hard Drive of at least 40GB, preferably on fast media&lt;/li&gt;
&lt;li&gt;Boot from CD using the &lt;code&gt;LiteTouchPE_x64.iso&lt;/code&gt; from MDT&lt;/li&gt;
&lt;li&gt;If using Hyper-V on Windows 10 1709 or above, make sure &amp;ldquo;Use Automatic Checkpoints&amp;rdquo; is disabled&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Start the VM and it will boot from the &lt;code&gt;LiteTouchPE_x64.iso&lt;/code&gt; into the deployment environment. You will be presented with a screen with the name of the &amp;ldquo;Task Sequence&amp;rdquo; you created earlier. Select your Task Sequence, click Next and the process will begin. The Task Sequence will install Windows 10 version 21H1, update from the WSUS server, install the optional applications if you added them, and then run Windows Update from the WSUS server again. It will then run SysPrep and attempt to reboot back into the deployment environment from the local disk and send the image to the MDT server.&lt;/p&gt;
&lt;p&gt;When this process completes the VM will be shutdown and a file named &lt;code&gt;W10-21H1_YEAR_MONTH_DAY_HOUR_MINUTE.wim&lt;/code&gt; will be in the Captures folder in the Deployment Share.&lt;/p&gt;
&lt;p&gt;You now have a reference image for Windows 10 version 21H1 and a Microsoft Deployment Toolkit installation, with a deployment share specifically configured for building and capturing reference images. We&amp;rsquo;ll cover setting up a deployment share and focus on tasks to support deploying Windows to real hardware &lt;a href=&#34;https://gal.vin/posts/2021/deploy-windows-10-21h1/&#34;&gt;in this article&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h3&gt;
&lt;p&gt;Please consider supporting my work:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Support with a one-time donation using &lt;a href=&#34;https://www.paypal.me/digressive&#34;&gt;PayPal&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you have any questions or comments, please leave them below.&lt;/p&gt;
&lt;p&gt;-Mike&lt;/p&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Windows 10 21H1 May 2021 Update</category>
            
          
            
              <category>Hyper-V</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      

    
  </channel>
</rss>