<?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 11 21H2 on gal.vin</title>
    <link>https://gal.vin/tags/windows-11-21h2/</link>
    <description>Recent content in Windows 11 21H2 on gal.vin</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>&amp;copy;{year}, All Rights Reserved</copyright>
    <lastBuildDate>Thu, 22 Sep 2022 17:20:28 +0100</lastBuildDate>
    <sy:updatePeriod>daily</sy:updatePeriod>
    
        <atom:link href="https://gal.vin/tags/windows-11-21h2/index.xml" rel="self" type="application/rss+xml" />
    

      
      <item>
        <title>Restore The Legacy Context Menu in Windows 11</title>
        <link>https://gal.vin/posts/2022/restore-legacy-context-menu/</link>
        <pubDate>Thu, 22 Sep 2022 17:20:28 +0100</pubDate>
        
        <atom:modified>Thu, 22 Sep 2022 17:20:28 +0100</atom:modified>
        <guid>https://gal.vin/posts/2022/restore-legacy-context-menu/</guid>
        <description>Updated: 2024-08-08 This method still works.
Windows 11 introduces a new more cohesive UI design but one of the casualties is the right-click or context menu in File Explorer and on the Desktop. You can still access the legacy Windows 10 style menu by clicking on &amp;ldquo;Show more options&amp;rdquo; or by using the shortcut key Shift + F10, but if you just want the old menu back by default, you just need to create a new registry key.</description>
        <content:encoded>&lt;p&gt;Updated: 2024-08-08 This method still works.&lt;/p&gt;
&lt;p&gt;Windows 11 introduces a new more cohesive UI design but one of the casualties is the right-click or context menu in File Explorer and on the Desktop. You can still access the legacy Windows 10 style menu by clicking on &amp;ldquo;Show more options&amp;rdquo; or by using the shortcut key Shift + F10, but if you just want the old menu back by default, you just need to create a new registry key.&lt;/p&gt;
&lt;p&gt;Copy and paste one of the commands below into a command prompt or a powershell console and after a reboot the old menu will be the default after a restart.&lt;/p&gt;
&lt;p&gt;These commands create a new default key at the path specified.&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;/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;reg add &amp;#34;HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32&amp;#34; /f /ve
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&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;/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-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;New-Item&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Path&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;HKCU:\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;InprocServer32&amp;#39;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Force&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h2 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h2&gt;
&lt;p&gt;If you would like to support me, please check out the link below.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&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>
        
        <media:content url="https://gal.vin//media/2022/legacy-menu.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Windows 11 23H2</category>
            
          
            
              <category>Windows 11 22H2</category>
            
          
            
              <category>Windows 11 21H2</category>
            
          
            
              <category>Windows 11</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Better Windows Updates For Everyone</title>
        <link>https://gal.vin/posts/2021/better-windows-updates-for-everyone/</link>
        <pubDate>Tue, 14 Dec 2021 01:49:09 +0000</pubDate>
        
        <atom:modified>Tue, 14 Dec 2021 01:49:09 +0000</atom:modified>
        <guid>https://gal.vin/posts/2021/better-windows-updates-for-everyone/</guid>
        <description>In this post I&amp;rsquo;m going to show how to quickly configure Windows Updates so that you only receive important security updates. We&amp;rsquo;ll cover Home and Pro/Enterprise users of both Windows 10 and Windows 11.
These are also the settings I use myself and recommend for most users.
These settings may also be helpful for IT admins.
Set Active Hours - Windows 10 By default Active Hours are configured to be automatic but personally I think it&amp;rsquo;s better to set them manually.</description>
        <content:encoded>&lt;p&gt;In this post I&amp;rsquo;m going to show how to quickly configure Windows Updates so that you only receive important security updates. We&amp;rsquo;ll cover Home and Pro/Enterprise users of both Windows 10 and Windows 11.&lt;/p&gt;
&lt;p&gt;These are also the settings I use myself and recommend for most users.&lt;/p&gt;
&lt;p&gt;These settings may also be helpful for IT admins.&lt;/p&gt;
&lt;h2 id=&#34;set-active-hours---windows-10&#34;&gt;Set Active Hours - Windows 10&lt;/h2&gt;
&lt;p&gt;By default Active Hours are configured to be automatic but personally I think it&amp;rsquo;s better to set them manually.&lt;/p&gt;
&lt;p&gt;Go to Settings using WIN + I, then &lt;code&gt;Update &amp;amp; Security &amp;gt; Change active hours&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Turn off the setting &lt;code&gt;Automatically adjust active hours...&lt;/code&gt; and click on &lt;code&gt;Change&lt;/code&gt; next to &lt;code&gt;Current active hours&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Set the Active hours to the maximum allowed amount of 18 hours. I use 8am - 2am: This means Windows Update won&amp;rsquo;t restart my computer during this time period.&lt;/p&gt;
&lt;h2 id=&#34;set-active-hours---windows-11&#34;&gt;Set Active Hours - Windows 11&lt;/h2&gt;
&lt;p&gt;By default Active Hours are configured to be automatic but personally I think it&amp;rsquo;s better to set them manually.&lt;/p&gt;
&lt;p&gt;Go to Settings using WIN + I, then go to &lt;code&gt;Windows Update &amp;gt; Advanced Options &amp;gt; Active Hours&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Change the &lt;code&gt;Adjust active hours&lt;/code&gt; setting from &lt;code&gt;Automatically&lt;/code&gt; to &lt;code&gt;Manually&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Set the Active hours to the maximum allowed amount of 18 hours. I use 8am - 2am: This means Windows Update won&amp;rsquo;t restart my computer during this time period.&lt;/p&gt;
&lt;h2 id=&#34;registry-settings---windows-10-home&#34;&gt;Registry Settings - Windows 10 Home&lt;/h2&gt;
&lt;p&gt;If you are running Windows 10 Home Edition, you&amp;rsquo;ll need to make these edits to the registry as Home edition does not have access to Group Policy.&lt;/p&gt;
&lt;p&gt;Open an elevated PowerShell prompt and run this line to configure Windows Updates as noted in this article:&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;/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-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Invoke-Expression&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;((&lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;New-Object&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;System&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;Net&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;WebClient&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;).&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;DownloadString&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;https://git.io/JDRIh&amp;#39;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Use the Registry Editor and make the changes manually:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open regedit with WIN + R and then type &lt;code&gt;regedit&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Go to &lt;code&gt;Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Right-click &lt;code&gt;New &amp;gt; DWORD (32-bit) Value&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Name the new Value &lt;code&gt;BranchReadinessLevel&lt;/code&gt; and set it to Base: Decimal, Value data: 20&lt;/li&gt;
&lt;li&gt;Repeat steps 3 and 4 with the Value of &lt;code&gt;DeferFeatureUpdatesPeriodInDays&lt;/code&gt; Value data: 365&lt;/li&gt;
&lt;li&gt;Repeat steps 3 and 4 with the Value of &lt;code&gt;DeferQualityUpdatesPeriodInDays&lt;/code&gt; Value data: 5&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;group-policy-settings---windows-10-proenterprise&#34;&gt;Group Policy Settings - Windows 10 Pro/Enterprise&lt;/h2&gt;
&lt;p&gt;With Windows 10 Pro or Enterprise we can use the Local Group Policy, or the Domain Group Policy for the IT admins out there.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the local group policy with WIN + R and then type &lt;code&gt;gpedit.msc&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Navigate to &lt;code&gt;Computer Configuration &amp;gt; Administrative Templates &amp;gt; Windows Components &amp;gt; Windows Update &amp;gt; Windows update for Business&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Select &lt;code&gt;Manage preview builds&lt;/code&gt; and set it to &lt;code&gt;Enabled&lt;/code&gt; and change the drop down menu to &lt;code&gt;Disable preview builds&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Select &lt;code&gt;Select when Preview Builds and Feature Updates are received&lt;/code&gt; and set it to &lt;code&gt;Enabled&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Change the drop down menu to &lt;code&gt;Semi-Annual Channel&lt;/code&gt; and then for &lt;code&gt;After a Preview Build or Feature Update is released, defer receiving it for this many days&lt;/code&gt; enter &lt;code&gt;365&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;code&gt;Select when Quality Updates are received&lt;/code&gt; and set it to &lt;code&gt;Enabled&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;For &lt;code&gt;After a Quality updates is released, defer receiving it for this many days&lt;/code&gt; enter &lt;code&gt;5&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;registry-settings---windows-11-home&#34;&gt;Registry Settings - Windows 11 Home&lt;/h2&gt;
&lt;p&gt;If you are running Windows 11 Home Edition, you&amp;rsquo;ll need to make these edits to the registry as Home edition does not have access to Group Policy.&lt;/p&gt;
&lt;p&gt;Open an elevated PowerShell prompt and run this line to configure Windows Updates as noted in this article:&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;/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-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Invoke-Expression&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;((&lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;New-Object&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;System&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;Net&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;WebClient&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;).&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;DownloadString&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;https://git.io/JDRIh&amp;#39;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Use the Registry Editor and make the changes manually:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open regedit with WIN + R and then type &lt;code&gt;regedit&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Go to &lt;code&gt;Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Right-click &lt;code&gt;New &amp;gt; DWORD (32-bit) Value&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Name the new Value &lt;code&gt;BranchReadinessLevel&lt;/code&gt; and set it to Base: Decimal, Value data: 20&lt;/li&gt;
&lt;li&gt;Repeat steps 3 and 4 with the Value of &lt;code&gt;DeferFeatureUpdatesPeriodInDays&lt;/code&gt; Value data: 365&lt;/li&gt;
&lt;li&gt;Repeat steps 3 and 4 with the Value of &lt;code&gt;DeferQualityUpdatesPeriodInDays&lt;/code&gt; Value data: 5&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;group-policy-settings---windows-11-proenterprise&#34;&gt;Group Policy Settings - Windows 11 Pro/Enterprise&lt;/h2&gt;
&lt;p&gt;With Windows 11 Pro or Enterprise we can use the Local Group Policy, or the Domain Group Policy for the IT admins out there.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the local group policy with WIN + R and then type &lt;code&gt;gpedit.msc&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Navigate to &lt;code&gt;Computer Configuration &amp;gt; Administrative Templates &amp;gt; Windows Components &amp;gt; Windows Update &amp;gt; Manage updates offered from Windows Update&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Select &lt;code&gt;Select when Preview Builds and Feature Updates are received&lt;/code&gt; and set it to &lt;code&gt;Enabled&lt;/code&gt; and then for &lt;code&gt;How many days after a Feature Update is released...&lt;/code&gt; enter &lt;code&gt;365&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Next, select &lt;code&gt;Select when Quality Updates are received&lt;/code&gt; and set it to &lt;code&gt;Enabled&lt;/code&gt; and then for &lt;code&gt;After a quality update is released..&lt;/code&gt; enter &lt;code&gt;5&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h2&gt;
&lt;p&gt;If you would like to support me, please check out the link below.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&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>Group Policy</category>
            
          
            
              <category>Windows 11</category>
            
          
            
              <category>Windows 11 21H2</category>
            
          
            
              <category>Windows 11 22H2</category>
            
          
            
              <category>Windows 11 23H2</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows 10 21H2 November 2021 Update</category>
            
          
            
              <category>Windows 10 22H2</category>
            
          
            
              <category>Windows Update</category>
            
          
            
              <category>Windows Tweaks</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Deploy Windows 11 21H2 Reference Image</title>
        <link>https://gal.vin/posts/2021/deploy-windows-11-21h2/</link>
        <pubDate>Mon, 22 Nov 2021 16:05:13 +0000</pubDate>
        
        <atom:modified>Mon, 22 Nov 2021 16:05:13 +0000</atom:modified>
        <guid>https://gal.vin/posts/2021/deploy-windows-11-21h2/</guid>
        <description>News and Updates  An important update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released. This update fixes a boot loop issue. Download the update here There is no x86 version of Windows 11 This article is based on Windows 11 21H2 22000.258. I will update it in future as things progress  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: Build and Capture Windows 11 21H2 Reference Image</description>
        <content:encoded>&lt;h3 id=&#34;news-and-updates&#34;&gt;News and Updates&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;An important update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released. This update fixes a boot loop issue. &lt;a href=&#34;https://support.microsoft.com/en-us/help/4564442/windows-10-deployments-fail-with-microsoft-deployment-toolkit&#34;&gt;Download the update here&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;There is no x86 version of Windows 11&lt;/li&gt;
&lt;li&gt;This article is based on Windows 11 21H2 22000.258. I will update it in future as things progress&lt;/li&gt;
&lt;/ul&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-11-21h2/&#34;&gt;Build and Capture Windows 11 21H2 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 late&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: W11-21H2&lt;/li&gt;
&lt;li&gt;Name it Deploy Windows 11 21H2&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;/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]
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, so it will be &lt;code&gt;LiteTouchPE_x64-deploy.iso&lt;/code&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: 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. Note: This is Windows 10 only, Windows 11 does not have this feature&lt;/li&gt;
&lt;li&gt;Set the Default apps and any other file associations as required. Note: With Windows 11 you can&amp;rsquo;t set Default Apps, only change default file associations&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 11 21H2 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 11 to. There are a few ways to do this, here I&amp;rsquo;ll show the &amp;lsquo;Total Control&amp;rsquo; method I&amp;rsquo;ve been using more recently.&lt;/p&gt;
&lt;p&gt;The first thing you&amp;rsquo;ll need is the manufacturer and model numbers for all the devices you want to roll out the image to. You can find this out by booting a device in to its current version of Windows or the WinPE deployment environment using the &lt;code&gt;LiteTouch_x64.iso&lt;/code&gt; boot disc or PXE booting. Here&amp;rsquo;s a previous post I wrote on how to setup PXE booting for MDT if needed: &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 commands:&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;/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;wmic computersystem get manufacturer
wmic computersystem get model
&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 output of the commands is the manufacturer name and model number you&amp;rsquo;ll need. The next thing you&amp;rsquo;ll need is the drivers. Windows 11 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;Most large manufacturers (Dell, HP, Lenovo) 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, name the folder The output of the Manufacturer&lt;/li&gt;
&lt;li&gt;Right click on the Manufacturer folder and select New Folder&lt;/li&gt;
&lt;li&gt;Name the folder the model of device we&amp;rsquo;ll be importing 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. NOTE: This is just for tidiness and isn&amp;rsquo;t required for the drivers to be installed&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;li&gt;Finally repeat the steps 3-11 for each manufacturer, and model required&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If you have many different manufacturers and models then this process can be quite tedious. I&amp;rsquo;ve created a PowerShell script to automate the process, it&amp;rsquo;s on &lt;a href=&#34;https://github.com/Digressive/MDT-Files&#34;&gt;my GitHub here.&lt;/a&gt; It requires some documentation which I will provide in a separate post.&lt;/p&gt;
&lt;p&gt;We now need to edit the Deployment Task Sequence to configure the driver location.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to the Deployment Workbench and Task Sequences, select the Deploy Windows 11 Task Sequence&lt;/li&gt;
&lt;li&gt;Go to the Task Sequence tab in the Properties window&lt;/li&gt;
&lt;li&gt;Navigate to Preinstall and then select Enable Bitlocker (Offline), then go to the Add menu, General and select Set Task Sequence Variable&lt;/li&gt;
&lt;li&gt;You should have a new blank Set Task Sequence Variable below Enable Bitlocker (Offline)&lt;/li&gt;
&lt;li&gt;Rename the blank Set Task Sequence Variable to Set DriverGroup&lt;/li&gt;
&lt;li&gt;In the Properties panel enter the following for Task Sequence Variable: &lt;code&gt;DriverGroup001&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;In the Properties panel enter the following for Value: &lt;code&gt;%Make%\%Model%&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Now go down and select Inject Drivers&lt;/li&gt;
&lt;li&gt;In the Properties panel change the Choose a selection profile dropdown to &lt;code&gt;Nothing&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Select the Install all drivers from the selection profile&lt;/li&gt;
&lt;li&gt;Click on Apply to save the changes and OK to close the Task Sequence&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The Task Sequence is now configured to install drivers for any device that has drivers in the correct folder structure under Out-of-Box Drivers.&lt;/p&gt;
&lt;p&gt;Boot the physical device into the deployment environment and run the Deploy Windows 11 21H2. 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 manufacturer of device you&amp;rsquo;ll be adding drivers for, and then create another folder inside for the model of the device&lt;/li&gt;
&lt;li&gt;Right click on the model 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 then 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 11 21H2 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 11 21H2</category>
            
          
            
              <category>Hyper-V</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 11</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Installing Remote Server Administration Tools (RSAT) for Windows 10/Windows 11</title>
        <link>https://gal.vin/posts/2021/rsat-win11-win10/</link>
        <pubDate>Wed, 13 Oct 2021 17:56:52 +0100</pubDate>
        
        <atom:modified>Wed, 13 Oct 2021 17:56:52 +0100</atom:modified>
        <guid>https://gal.vin/posts/2021/rsat-win11-win10/</guid>
        <description>In this guide we&amp;rsquo;ll go through how to quickly add all of them using PowerShell and where they are in the GUI.
Installing RSAT the quickest and easiest way using PowerShell Run the following command in an elevated PowerShell session.
1  Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online   When installation is completed, the icons will be available in the Start Menu under &amp;ldquo;Windows Tools&amp;rdquo; in Windows 11 and under &amp;ldquo;Windows Administrative Tools&amp;rdquo; in Windows 10.</description>
        <content:encoded>&lt;p&gt;In this guide we&amp;rsquo;ll go through how to quickly add all of them using PowerShell and where they are in the GUI.&lt;/p&gt;
&lt;h2 id=&#34;installing-rsat-the-quickest-and-easiest-way-using-powershell&#34;&gt;Installing RSAT the quickest and easiest way using PowerShell&lt;/h2&gt;
&lt;p&gt;Run the following command in an elevated PowerShell session.&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;/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-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Get-WindowsCapability&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;RSAT&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;*&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Online&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;Add-WindowsCapability&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Online&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;When installation is completed, the icons will be available in the Start Menu under &amp;ldquo;Windows Tools&amp;rdquo; in Windows 11 and under &amp;ldquo;Windows Administrative Tools&amp;rdquo; in Windows 10.&lt;/p&gt;
&lt;h2 id=&#34;installing-rsat-using-the-gui-in-windows-11&#34;&gt;Installing RSAT using the GUI in Windows 11&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Go to the Windows 11 Settings using WIN + I or via the Start Menu.&lt;/li&gt;
&lt;li&gt;On the left side select &amp;ldquo;Apps&amp;rdquo;, then &amp;ldquo;Optional Features&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;On the &amp;ldquo;Add an optional feature&amp;rdquo; section, click &amp;ldquo;View features&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;In the new window, type &amp;ldquo;RSAT&amp;rdquo; in the text box select all the tools you want to install.&lt;/li&gt;
&lt;li&gt;In the new window click the &amp;ldquo;Install&amp;rdquo; button to install the tools you selected.&lt;/li&gt;
&lt;li&gt;When installation is completed, the icons will be available in the Start Menu under &amp;ldquo;Windows Tools&amp;rdquo;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;installing-rsat-using-the-gui-in-windows-10&#34;&gt;Installing RSAT using the GUI in Windows 10&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Go to the Windows 11 Settings using WIN + I or via the Start Menu.&lt;/li&gt;
&lt;li&gt;On the left side select &amp;ldquo;Apps&amp;rdquo;, then the text link &amp;ldquo;Optional Features&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;On the new page click &amp;ldquo;Add a feature&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;In the new window, type &amp;ldquo;RSAT&amp;rdquo; in the text box select all the tools you want to install.&lt;/li&gt;
&lt;li&gt;Click the &amp;ldquo;Install&amp;rdquo; button to install the tools you selected. You should see the tools you selected be installed under &amp;ldquo;Latest Actions&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;When installation is completed, the icons will be available in the Start Menu under &amp;ldquo;Windows Administrative Tools&amp;rdquo;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;offline-installation&#34;&gt;Offline Installation&lt;/h2&gt;
&lt;p&gt;The above methods require an internet connection for Windows to download the files needed. To install the tools offline you will need to download the Windows 10/11 Features On Demand ISO which is available via the Volume Licensing Portal. I haven&amp;rsquo;t found a link to these ISO&amp;rsquo;s direct from Microsoft anywhere else. Once you have downloaded the ISO, extract the files to a location and run the following PowerShell command:&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;/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-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Get-WindowsCapability&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;RSAT&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;*&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Online&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;Add-WindowsCapability&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Online&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-LimitAccess&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Source&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;C:\FOD-ISO-Extracted\
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;When installation is completed, the icons will be available in the Start Menu under &amp;ldquo;Windows Tools&amp;rdquo; in Windows 11 and under &amp;ldquo;Windows Administrative Tools&amp;rdquo; in Windows 10.&lt;/p&gt;
&lt;h2 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h2&gt;
&lt;p&gt;If you would like to support me, please check out the link below.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&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 11 22H2</category>
            
          
            
              <category>Windows 11 21H2</category>
            
          
            
              <category>Windows 11</category>
            
          
            
              <category>Windows 10 22H2</category>
            
          
            
              <category>Windows 10 21H2 November 2021 Update</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Remote Server Administration Tools</category>
            
          
            
              <category>PowerShell</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Build and Capture Windows 11 21H2 Reference Image</title>
        <link>https://gal.vin/posts/2021/build-capture-windows-11-21h2/</link>
        <pubDate>Sat, 25 Sep 2021 20:02:09 +0100</pubDate>
        
        <atom:modified>Sat, 25 Sep 2021 20:02:09 +0100</atom:modified>
        <guid>https://gal.vin/posts/2021/build-capture-windows-11-21h2/</guid>
        <description>News and Updates  Update: 2021-11-12 After testing, a Build and Capture Task Sequence now appears to work and sysprep works as expected. An important update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released. This update fixes a boot loop issue. Download the update here There is no x86 version of Windows 11. This article is based on Windows 11 21H2 22000.258. I will update it in future as things progress.</description>
        <content:encoded>&lt;h2 id=&#34;news-and-updates&#34;&gt;News and Updates&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Update: 2021-11-12 After testing, a Build and Capture Task Sequence now appears to work and sysprep works as expected.&lt;/li&gt;
&lt;li&gt;An important update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released. This update fixes a boot loop issue. &lt;a href=&#34;https://support.microsoft.com/en-us/help/4564442/windows-10-deployments-fail-with-microsoft-deployment-toolkit&#34;&gt;Download the update here&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;There is no x86 version of Windows 11.&lt;/li&gt;
&lt;li&gt;This article is based on Windows 11 21H2 22000.258. I will update it in future as things progress.&lt;/li&gt;
&lt;/ul&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 11 21H2 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. 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;&lt;a href=&#34;https://www.microsoft.com/en-gb/software-download/windows11&#34;&gt;Windows 11 Download from Microsoft&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;h2 id=&#34;installing-microsoft-deployment-toolkit-and-dependencies&#34;&gt;Installing Microsoft Deployment Toolkit and Dependencies&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;First, we&amp;rsquo;ll install the Windows 11 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;h2 id=&#34;creating-the-deployment-share&#34;&gt;Creating the Deployment Share&lt;/h2&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:\Build&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Enter the Share name: Build$&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;h2 id=&#34;adding-an-operating-system&#34;&gt;Adding an Operating System&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Mount the Windows 11 21H2 ISO in File Explorer&lt;/li&gt;
&lt;li&gt;Go to Deployment Workbench &amp;gt; Operating Systems&lt;/li&gt;
&lt;li&gt;Right click and select New Folder&lt;/li&gt;
&lt;li&gt;Enter the name Windows 11 21H2 and click through the wizard to create the folder&lt;/li&gt;
&lt;li&gt;Right click again and select Import Operating System&lt;/li&gt;
&lt;li&gt;In the wizard, select Full set of source files and then enter the root of the mounted ISO as the Source directory&lt;/li&gt;
&lt;li&gt;For the destination directory name enter Windows 11 21H2 and complete the wizard&lt;/li&gt;
&lt;li&gt;Go to the Operating Systems &amp;gt; Windows 11 21H2 node and rename the new entries added to Windows 11 21H2 Edition for ease of use&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;creating-package-folder-for-future-updates&#34;&gt;Creating Package Folder for Future Updates&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Go to Deployment Workbench &amp;gt; Packages&lt;/li&gt;
&lt;li&gt;Create a folder named Windows 11 21H2&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 11 21H2 that we make available through MDT.&lt;/p&gt;
&lt;h2 id=&#34;creating-a-selection-profile&#34;&gt;Creating A Selection Profile&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Expand the Advanced Configuration node&lt;/li&gt;
&lt;li&gt;Right click on Selection Profiles and select New Selection Profile&lt;/li&gt;
&lt;li&gt;Name it Windows 11 21H2&lt;/li&gt;
&lt;li&gt;On the Folders page, tick the Windows 11 21H2 folder under Packages and complete the wizard&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;importing-applications&#34;&gt;Importing Applications&lt;/h2&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 Deployment Workbench &amp;gt; Deployment Share &amp;gt; Applications&lt;/li&gt;
&lt;li&gt;Right click on Applications and select New Application&lt;/li&gt;
&lt;li&gt;In the New Application Wizard, choose Application with source files&lt;/li&gt;
&lt;li&gt;Give the application the name: VLC&lt;/li&gt;
&lt;li&gt;Enter the Source directory of the installation files&lt;/li&gt;
&lt;li&gt;Enter the Destination directory: VLC&lt;/li&gt;
&lt;li&gt;For the Command line enter anything, we&amp;rsquo;ll revisit this later&lt;/li&gt;
&lt;li&gt;On the summary page, click Next and after the files are copied click Finish to complete the wizard&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;configuring-applications&#34;&gt;Configuring Applications&lt;/h2&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 Quiet install command: &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;h2 id=&#34;creating-a-task-sequence&#34;&gt;Creating a Task Sequence&lt;/h2&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: W11-21H2&lt;/li&gt;
&lt;li&gt;Name it Build Windows 11 21H2&lt;/li&gt;
&lt;li&gt;Select Standard Client Task Sequence&lt;/li&gt;
&lt;li&gt;Select the Operating System Windows 11 21H2&lt;/li&gt;
&lt;li&gt;Select Do not specify a product key at this time&lt;/li&gt;
&lt;li&gt;Enter an Organization name&lt;/li&gt;
&lt;li&gt;Select Do not specify an Administrator password at this time&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;h2 id=&#34;configuring-the-task-sequence&#34;&gt;Configuring the Task Sequence&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Right click on the Task Sequence just created and select Properties&lt;/li&gt;
&lt;li&gt;Go to the Task Sequence tab on the Properties window of the Task Sequence&lt;/li&gt;
&lt;li&gt;Expand the Preinstall folder and select the Apply Patches item&lt;/li&gt;
&lt;li&gt;Change the Selection Profile to Windows 11 21H2&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;If you skipped the Importing Applications 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 Install Applications item&lt;/li&gt;
&lt;li&gt;In the right side of the Properties box, select the Install a single application option and click the Browse&amp;hellip; button&lt;/li&gt;
&lt;li&gt;Select Google Chrome and change the name Install Applications to Google Chrome&lt;/li&gt;
&lt;li&gt;Install other Applications, copy and paste the Install Applications item and repeat steps 13 - 15 for the applications of your choice&lt;/li&gt;
&lt;li&gt;Click Apply and 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;h2 id=&#34;creating-a-service-account-for-mdt-in-active-directory&#34;&gt;Creating a service account for MDT in Active Directory&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Go to Active Directory Users and Computers&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 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;/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 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;h2 id=&#34;configuring-bootstrapini&#34;&gt;Configuring Bootstrap.ini&lt;/h2&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;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;h2 id=&#34;configuring-customsettingsini&#34;&gt;Configuring CustomSettings.ini&lt;/h2&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;/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

; If you want to use a WSUS server for updates, use this line, remove or comment out for updates from the internet
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;h2 id=&#34;creating-the-boot-media&#34;&gt;Creating the Boot Media&lt;/h2&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;h2 id=&#34;testing-and-capturing-a-reference-image&#34;&gt;Testing and Capturing a Reference Image&lt;/h2&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.&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: 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.iso&lt;/code&gt; from MDT&lt;/li&gt;
&lt;li&gt;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.iso&lt;/code&gt; into the deployment environment. You will be presented with a screen with the name of the Task Sequence you created earlier. Select your Task Sequence and click Next and the task sequence will begin. The Task Sequence will install Windows 11 21H2, update from the internet/WSUS server, install the optional applications if you added them, and then run Windows Update from the internet/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;W11-21H2_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 11 21H2 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-11-21h2/&#34;&gt;in this article&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h2&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 11 21H2</category>
            
          
            
              <category>Hyper-V</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 11</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Windows 11 Customisation</title>
        <link>https://gal.vin/posts/2021/w11-21h2-customisation/</link>
        <pubDate>Sat, 04 Sep 2021 17:09:28 +0100</pubDate>
        
        <atom:modified>Sat, 04 Sep 2021 17:09:28 +0100</atom:modified>
        <guid>https://gal.vin/posts/2021/w11-21h2-customisation/</guid>
        <description>Windows 11 is very similar to Windows 10 is terms of technology and core services, however with the new UI and Start Menu refresh there are some new elements that you may want to remove.
Start Menu Layout Microsoft now expects the Start menu layout to be managed by an MDM service, if you want to do it without that then the easiest method is to copy the start.bin files.</description>
        <content:encoded>&lt;p&gt;Windows 11 is very similar to Windows 10 is terms of technology and core services, however with the new UI and Start Menu refresh there are some new elements that you may want to remove.&lt;/p&gt;
&lt;h2 id=&#34;start-menu-layout&#34;&gt;Start Menu Layout&lt;/h2&gt;
&lt;p&gt;Microsoft now expects the Start menu layout to be managed by an MDM service, if you want to do it without that then the easiest method is to copy the start.bin files.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use a existing Windows 11 install to setup the Start menu layout how you want it.&lt;/li&gt;
&lt;li&gt;Copy the start.bin file from &lt;code&gt;%LocalAppData%\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState&lt;/code&gt; to a folder in the MDT Deployment Share - in my case, I&amp;rsquo;ll use &amp;ldquo;_custom&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Within your deployment Task Sequence you&amp;rsquo;ll want to copy the start.bin file to &lt;code&gt;C:\Users\Default\AppData\Local\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;For all new users they will now get the start menu layout you specified.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I use a PowerShell script to copy the start.bin to the correct location.&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;/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-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nv&#34;&gt;$src&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;Z:\_custom&amp;#34;&lt;/span&gt;

&lt;span class=&#34;nb&#34;&gt;New-Item&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Type&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Directory&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Path&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;$env:systemdrive\Users\Default\AppData\Local\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState&amp;#34;&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Copy-Item&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Path&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;$src\w11_StartLayout\start.bin&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Destination&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;$env:systemdrive\Users\Default\AppData\Local\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Force&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h2 id=&#34;disable-search-on-the-taskbar&#34;&gt;Disable Search On The Taskbar&lt;/h2&gt;
&lt;p&gt;Currently I have not found the Group Policy settings for the new additions to the Taskbar, so here are the registry entries to disable/hide the extra icons.&lt;/p&gt;
&lt;p&gt;The registry entry for the setting is per-user and is located here:&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;/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;HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search&amp;#34;
&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 key is a DWORD (32-bit) Value name &lt;code&gt;SearchboxTaskbarMode&lt;/code&gt; and it has 2 states:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;0 (Hide icon)&lt;/li&gt;
&lt;li&gt;1 (Show icon)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;disable-widgets-on-the-taskbar&#34;&gt;Disable Widgets On The Taskbar&lt;/h2&gt;
&lt;p&gt;The registry entry for the setting is per-user and is located here:&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;/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;HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced&amp;#34;
&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 key is a DWORD (32-bit) Value name &lt;code&gt;TaskbarDa&lt;/code&gt; and it has 2 states:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;0 (Hide icon)&lt;/li&gt;
&lt;li&gt;1 (Show icon)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;disable-chat-in-the-taskbar&#34;&gt;Disable Chat In The Taskbar&lt;/h2&gt;
&lt;p&gt;The registry entry for the setting is per-user and is located here:&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;/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;HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced&amp;#34;
&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 key is a DWORD (32-bit) Value name &lt;code&gt;TaskbarMn&lt;/code&gt; and it has 2 states:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;0 (Hide icon)&lt;/li&gt;
&lt;li&gt;1 (Show icon)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;default-app-associations&#34;&gt;Default App Associations&lt;/h2&gt;
&lt;p&gt;Importing a list of default app associations for Windows 11 is the same as Windows 10, but I think it&amp;rsquo;s worth mentioning that Windows 11 has done away with the &amp;ldquo;Default Apps&amp;rdquo; section of Settings and so now it can be a lot more work to set them all on a template system to export. You can however still import a default app associations file that was created on Windows 10 into Windows 11.&lt;/p&gt;
&lt;h3 id=&#34;exporting-a-default-app-association-file&#34;&gt;Exporting A Default App Association File&lt;/h3&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;/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;Dism /Online /Export-DefaultAppAssociations:&amp;#34;C:\foo\w11_AppAssoc.xml&amp;#34;
&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;importing-a-default-app-association-file-as-part-of-an-mdt-task-sequence&#34;&gt;Importing A Default App Association File as part of an MDT Task Sequence&lt;/h3&gt;
&lt;p&gt;You will need to create a new &amp;ldquo;Run Command Line&amp;rdquo; item just under &amp;ldquo;Postinstall&amp;rdquo; - see the image 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;/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;Dism.exe /Image:%OSDisk%\ /Import-DefaultAppAssociations:%deployroot%\_custom\w11_appassoc\w11_AppAssoc.xml
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;&lt;img src=&#34;https://gal.vin/media/2021/default-app-associations.webp&#34; alt=&#34;Importing default app associations&#34; /&gt;&lt;/p&gt;
&lt;h2 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h2&gt;
&lt;p&gt;If you would like to support me, please check out the link below.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&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 11 23H2</category>
            
          
            
              <category>Windows 11 22H2</category>
            
          
            
              <category>Windows 11 21H2</category>
            
          
            
              <category>Windows 11</category>
            
          
            
              <category>Windows Deployment</category>
            
          
            
              <category>Windows Tweaks</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Windows 11 Microsoft Store Apps</title>
        <link>https://gal.vin/posts/2021/w11-ms-store-apps/</link>
        <pubDate>Sat, 04 Sep 2021 14:43:29 +0100</pubDate>
        
        <atom:modified>Sat, 04 Sep 2021 14:43:29 +0100</atom:modified>
        <guid>https://gal.vin/posts/2021/w11-ms-store-apps/</guid>
        <description>This post is a cut down version of this one and only focusses on Windows 11 for clarity.
Important note!
A &amp;ldquo;provisioned app&amp;rdquo; is an app that is a part of the Windows 11 installation and will be available for all users. Otherwise the app is only installed for the currently logged on user. To remove apps for all future users and the currently logged on user, you must remove both types of app.</description>
        <content:encoded>&lt;p&gt;This post is a cut down version of &lt;a href=&#34;https://gal.vin/posts/old/removing-uwp-apps-mdt/&#34;&gt;this one&lt;/a&gt; and only focusses on Windows 11 for clarity.&lt;/p&gt;
&lt;p&gt;Important note!&lt;/p&gt;
&lt;p&gt;A &amp;ldquo;provisioned app&amp;rdquo; is an app that is a part of the Windows 11 installation and will be available for all users. Otherwise the app is only installed for the currently logged on user. To remove apps for all future users &lt;em&gt;and&lt;/em&gt; the currently logged on user, you must remove both types of app.&lt;/p&gt;
&lt;h2 id=&#34;removing-specific-microsoft-store-apps&#34;&gt;Removing Specific Microsoft Store Apps&lt;/h2&gt;
&lt;p&gt;To remove a specific app from your Windows 11 installation, first you need to find the application package name.&lt;/p&gt;
&lt;p&gt;Provisioned apps:&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;/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-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Get-AppxProvisionedPackage&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Online&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;Select &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;PackageName&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Current user apps:&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;/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-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Get-AppxPackage&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;Select &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;PackageFullName&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Then run the following PowerShell command to remove the specific app&lt;/p&gt;
&lt;p&gt;Provisioned app:&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;/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-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Remove-AppxProvisionedPackage&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-PackageName&lt;/span&gt; &lt;span class=&#34;no&#34;&gt;[PackageName here]&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Online&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Current user app:&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;/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-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Remove-AppxPackage&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Package&lt;/span&gt; &lt;span class=&#34;no&#34;&gt;[PackageFullName here]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h2 id=&#34;list-of-apps-included-with-windows-11-21h2&#34;&gt;List Of Apps Included With Windows 11 21H2&lt;/h2&gt;
&lt;p&gt;Here are the provisioned apps included with Windows 11 21H2.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;PowerShell Display Name&lt;/th&gt;
&lt;th&gt;Readable App name&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.549981C3F5F10&lt;/td&gt;
&lt;td&gt;Cortana&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.BingNews&lt;/td&gt;
&lt;td&gt;Microsoft News&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.BingWeather&lt;/td&gt;
&lt;td&gt;Weather&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.DesktopAppInstaller&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.GamingApp&lt;/td&gt;
&lt;td&gt;Xbox&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.GetHelp&lt;/td&gt;
&lt;td&gt;Get Help&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.Getstarted&lt;/td&gt;
&lt;td&gt;Tips&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.HEIFImageExtension&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.MicrosoftEdge.Stable&lt;/td&gt;
&lt;td&gt;Microsoft Edge&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.MicrosoftOfficeHub&lt;/td&gt;
&lt;td&gt;Office&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.MicrosoftSolitaireCollection&lt;/td&gt;
&lt;td&gt;Microsoft Solitaire Collection&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.MicrosoftStickyNotes&lt;/td&gt;
&lt;td&gt;Sticky Notes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.Paint&lt;/td&gt;
&lt;td&gt;Paint&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.People&lt;/td&gt;
&lt;td&gt;People&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.PowerAutomateDesktop&lt;/td&gt;
&lt;td&gt;Power Automate&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.ScreenSketch&lt;/td&gt;
&lt;td&gt;Snip &amp;amp; Sketch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.SecHealthUI&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.StorePurchaseApp&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.Todos&lt;/td&gt;
&lt;td&gt;Microsoft To Do&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.UI.Xaml.2.4&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.VCLibs.140.00&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.VP9VideoExtensions&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.WebMediaExtensions&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.WebpImageExtension&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.Windows.Photos&lt;/td&gt;
&lt;td&gt;(2) &amp;ldquo;Photos&amp;rdquo; and &amp;ldquo;Video editor&amp;rdquo;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.WindowsAlarms&lt;/td&gt;
&lt;td&gt;Alarms &amp;amp; Clock&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.WindowsCalculator&lt;/td&gt;
&lt;td&gt;Calculator&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.WindowsCamera&lt;/td&gt;
&lt;td&gt;Camera&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;microsoft.windowscommunicationsapps&lt;/td&gt;
&lt;td&gt;(2) &amp;ldquo;Calendar&amp;rdquo; and &amp;ldquo;Mail&amp;rdquo;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.WindowsFeedbackHub&lt;/td&gt;
&lt;td&gt;Feedback Hub&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.WindowsMaps&lt;/td&gt;
&lt;td&gt;Maps&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.WindowsNotepad&lt;/td&gt;
&lt;td&gt;Notepad&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.WindowsSoundRecorder&lt;/td&gt;
&lt;td&gt;Voice Recorder&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.WindowsStore&lt;/td&gt;
&lt;td&gt;Microsoft Store&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.WindowsTerminal&lt;/td&gt;
&lt;td&gt;Terminal&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.Xbox.TCUI&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.XboxGameOverlay&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.XboxGamingOverlay&lt;/td&gt;
&lt;td&gt;Xbox Game Bar&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.XboxIdentityProvider&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.XboxSpeechToTextOverlay&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.YourPhone&lt;/td&gt;
&lt;td&gt;Your Phone&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.ZuneMusic&lt;/td&gt;
&lt;td&gt;Groove Music&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.ZuneVideo&lt;/td&gt;
&lt;td&gt;Films &amp;amp; TV&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MicrosoftWindows.Client.WebExperience&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;remove-specific-ms-store-apps-from-an-online-windows-11-wim-image&#34;&gt;Remove Specific MS Store Apps From An Online Windows 11 WIM Image&lt;/h2&gt;
&lt;p&gt;Download my &lt;a href=&#34;https://github.com/Digressive/Remove-MS-Store-Apps&#34;&gt;PowerShell utility from GitHub&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The script removes the apps specified in a text file from the current logged on user and Windows 10/11. I use the script as a part of my Task Sequence for deploying Windows 10/11. The script is heavily based on work by Jörgen Nilsson - &lt;a href=&#34;https://ccmexec.com/2015/08/removing-built-in-apps-from-windows-10-using-powershell/&#34;&gt;check out his post over on his site&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;remove-specified-ms-store-apps-from-an-offline-windows-11-wim-image&#34;&gt;Remove Specified MS Store Apps From An Offline Windows 11 WIM Image&lt;/h2&gt;
&lt;p&gt;First, you will need to copy the contents of the Windows 11 ISO file to your hard drive.&lt;/p&gt;
&lt;p&gt;Windows 11 includes many editions within it&amp;rsquo;s WIM file. You will need to specify the index ID of the image to operate on. You can obtain this by running the following PowerShell command:&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;/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-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Get-WindowsImage&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-ImagePath&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;C:\foo\Windows 11\sources\install.wim&amp;#34;&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;Format-Table&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Property&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;ImageIndex&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;ImageName&lt;/span&gt;
&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 output of the command above should look similar to this:&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;/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;ImageIndex ImageName
---------- ---------
1 Windows 11 Education
2 Windows 11 Education N
3 Windows 11 Enterprise
4 Windows 11 Enterprise N
5 Windows 11 Pro
6 Windows 11 Pro N
7 Windows 11 Pro Education
8 Windows 11 Pro Education N
9 Windows 11 Pro for Workstations
10 Windows 11 Pro N for Workstations
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Now you can use the information above to configure the PowerShell utility to remove the specific apps from the Windows install image. This script will mount the image, remove the apps and then dismount it. The image can then be made into an ISO or used with MDT/SCCM to deploy Windows as normal.&lt;/p&gt;
&lt;p&gt;Download my &lt;a href=&#34;https://github.com/Digressive/Remove-MS-Store-Apps&#34;&gt;PowerShell utility from GitHub&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;remove-all-included-microsoft-store-apps-not-recommended&#34;&gt;Remove All Included Microsoft Store Apps (Not Recommended)&lt;/h2&gt;
&lt;p&gt;Note: This process is destructive and non-reversible. Please ensure you have backups before proceeding. To quickly remove all the apps for the &lt;em&gt;current user&lt;/em&gt;, run the following PowerShell command:&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;/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-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Get-AppxPackage&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;Remove-AppxPackage&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;To remove all the &lt;em&gt;provisioned&lt;/em&gt; apps, run the following PowerShell command:&lt;/p&gt;
&lt;p&gt;Note: Provisioned apps are the apps that will be installed for all new users when they first log on.&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;/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-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Get-AppxProvisionedPackage&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Online&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;Remove-AppxProvisionedPackage&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Online&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h2 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h2&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 11 21H2</category>
            
          
            
              <category>Microsoft Store Apps</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>Windows 11</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Disable Network Discovery in Windows 10/11</title>
        <link>https://gal.vin/posts/2021/disable-network-discovery/</link>
        <pubDate>Tue, 20 Apr 2021 23:18:59 +0100</pubDate>
        
        <atom:modified>Tue, 20 Apr 2021 23:18:59 +0100</atom:modified>
        <guid>https://gal.vin/posts/2021/disable-network-discovery/</guid>
        <description>Fully disabling Network Discovery in Windows 10 using Group Policy To properly disable Network Discovery in Windows 10 in a way that the user cannot easily re-enable we must create some firewall rules and prevent some services from running on start-up. We can do both things using Group Policy.
Firewall Rules Create a new Group Policy or use an existing one that takes effect on computer objects.
 Go to Computer Configuration &amp;gt; Policies &amp;gt; Windows Settings &amp;gt; Security Settings &amp;gt; Windows Firewall with Advanced Security.</description>
        <content:encoded>&lt;h2 id=&#34;fully-disabling-network-discovery-in-windows-10-using-group-policy&#34;&gt;Fully disabling Network Discovery in Windows 10 using Group Policy&lt;/h2&gt;
&lt;p&gt;To properly disable Network Discovery in Windows 10 in a way that the user cannot easily re-enable we must create some firewall rules and prevent some services from running on start-up. We can do both things using Group Policy.&lt;/p&gt;
&lt;h2 id=&#34;firewall-rules&#34;&gt;Firewall Rules&lt;/h2&gt;
&lt;p&gt;Create a new Group Policy or use an existing one that takes effect on computer objects.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to Computer Configuration &amp;gt; Policies &amp;gt; Windows Settings &amp;gt; Security Settings &amp;gt; Windows Firewall with Advanced Security.&lt;/li&gt;
&lt;li&gt;Inside the Inbound Rules node, right click and choose New Rule.&lt;/li&gt;
&lt;li&gt;On Rule Type, select Predefined and choose Network Discovery then click Next.&lt;/li&gt;
&lt;li&gt;You will be presented with a long list of rules, many of which are duplicates because of the Profile they belong to; Public, Domain, Private.&lt;/li&gt;
&lt;li&gt;Select only the following rules, it does not matter which profile as we will change it later.
&lt;ul&gt;
&lt;li&gt;Network Discovery (LLMNR-UDP-In)&lt;/li&gt;
&lt;li&gt;Network Discovery (NB-Datagram-In)&lt;/li&gt;
&lt;li&gt;Network Discovery (NB-Name-In)&lt;/li&gt;
&lt;li&gt;Network Discovery (Pub-WSD-In)&lt;/li&gt;
&lt;li&gt;Network Discovery (SSDP-In)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Next, choose Block the connection and click Finish.&lt;/li&gt;
&lt;li&gt;We will now make some changes to those rules.&lt;/li&gt;
&lt;li&gt;First, select Network Discovery (NB-Datagram-In) and go to its properties.&lt;/li&gt;
&lt;li&gt;On the General tab, select the Allow the connection radio button.&lt;/li&gt;
&lt;li&gt;Next on the Scope tab, under Remote IP address, select the These IP addresses: radio button and then click Add&amp;hellip;&lt;/li&gt;
&lt;li&gt;In the new window, select the Predefined set of computers: radio button and choose Local subnet from the drop-down list.&lt;/li&gt;
&lt;li&gt;Next on the Advanced tab, make sure that the check boxes next to Domain, Private and Public are all checked.&lt;/li&gt;
&lt;li&gt;Click on Apply, and close the properties window.&lt;/li&gt;
&lt;li&gt;On the other 4 inbound rules repeat steps 10 - 13.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Your inbound firewall rules should look like this:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://gal.vin/media/2021/nd-fw-inbound.webp&#34; alt=&#34;Inbound Firewall Rules&#34; /&gt;&lt;/p&gt;
&lt;p&gt;We are now going to repeat the steps above for the outbound rules.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Inside the Outbound Rules node, right click and choose New Rule.&lt;/li&gt;
&lt;li&gt;On Rule Type, select Predefined and choose Network Discovery then click Next.&lt;/li&gt;
&lt;li&gt;You will be presented with a long list of rules, many of which are duplicates because some the Profile they belong to e.g. Public, Domain, Private.&lt;/li&gt;
&lt;li&gt;Select only the following rules, it does not matter which profile as we will change it later.
&lt;ul&gt;
&lt;li&gt;Network Discovery (LLMNR-UDP-Out)&lt;/li&gt;
&lt;li&gt;Network Discovery (NB-Datagram-Out)&lt;/li&gt;
&lt;li&gt;Network Discovery (NB-Name-Out)&lt;/li&gt;
&lt;li&gt;Network Discovery (Pub-WSD-Out)&lt;/li&gt;
&lt;li&gt;Network Discovery (SSDP-Out)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Next, choose Block the connection and click Finish.&lt;/li&gt;
&lt;li&gt;We will now make some changes to those rules.&lt;/li&gt;
&lt;li&gt;First, select Network Discovery (NB-Datagram-Out) and go to its properties.&lt;/li&gt;
&lt;li&gt;On the General tab, select the Allow the connection radio button.&lt;/li&gt;
&lt;li&gt;Next on the Scope tab, under Remote IP address, select the These IP addresses: radio button and then click Add&amp;hellip;&lt;/li&gt;
&lt;li&gt;In the new window, select the Predefined set of computers: radio button and choose Local subnet from the drop-down list.&lt;/li&gt;
&lt;li&gt;Next on the Advanced tab, make sure that the check boxes next to Domain, Private and Public are all checked.&lt;/li&gt;
&lt;li&gt;Click on Apply, and close the properties window.&lt;/li&gt;
&lt;li&gt;On the other 4 inbound rules repeat steps 9 - 12.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Your outbound firewall rules should look like this:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://gal.vin/media/2021/nd-fw-outbound.webp&#34; alt=&#34;Outbound Firewall Rules&#34; /&gt;&lt;/p&gt;
&lt;h2 id=&#34;system-services&#34;&gt;System Services&lt;/h2&gt;
&lt;p&gt;Now we are going to configure the Group Policy to disable some system services.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to Computer Configuration &amp;gt; Policies &amp;gt; Windows Settings &amp;gt; Security Settings &amp;gt; System Services.&lt;/li&gt;
&lt;li&gt;Select the Function Discovery Provider Host service and go to it properties page.&lt;/li&gt;
&lt;li&gt;Select Define this policy setting, choose Disabled and then click on Apply and close the properties window.&lt;/li&gt;
&lt;li&gt;Repeat the above steps for the following services:&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Function Discovery Resource Publication&lt;/li&gt;
&lt;li&gt;Link-Layer Topology Discovery Mapper&lt;/li&gt;
&lt;li&gt;SSDP Discovery&lt;/li&gt;
&lt;li&gt;UPnP Device Host&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The Group Policy is now configured. Link it to an OU or OU&amp;rsquo;s that contain computer objects and run gpupdate or restart the computers. Network Discovery will now be disabled and even if a user enabled it in the Network and Sharing Center it will remain disabled.&lt;/p&gt;
&lt;h2 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h2&gt;
&lt;p&gt;If you would like to support me, please check out the link below.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&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>Group Policy</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows Tweaks</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows 11</category>
            
          
            
              <category>Windows 11 21h2</category>
            
          
            
              <category>Windows 11 22h2</category>
            
          
            
              <category>Windows 11 23h2</category>
            
          
        
        
        
      </item>
      

    
  </channel>
</rss>