<?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>gal.vin</title>
    <link>https://gal.vin/</link>
    <description>Recent content on gal.vin</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>&amp;copy;{year}, All Rights Reserved</copyright>
    <lastBuildDate>Mon, 05 Jan 2026 08:48:24 +0000</lastBuildDate>
    <sy:updatePeriod>daily</sy:updatePeriod>
    
        <atom:link href="https://gal.vin/index.xml" rel="self" type="application/rss+xml" />
    
      
      
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      

      
      <item>
        <title>Nvidia system tray icon is always visible</title>
        <link>https://gal.vin/posts/2026/nvidia-system-tray-icon/</link>
        <pubDate>Mon, 05 Jan 2026 08:48:24 +0000</pubDate>
        
        <atom:modified>Mon, 05 Jan 2026 08:48:24 +0000</atom:modified>
        <guid>https://gal.vin/posts/2026/nvidia-system-tray-icon/</guid>
        <description>I found this fix on reddit, many thanks to user Valour-549 for this information.
Create a DWORD named &amp;ldquo;StartOnLogin&amp;rdquo; and set it to 0 at this location:
1  HKEY_CURRENT_USER\SOFTWARE\NVIDIA Corporation\NvTray   and also a this location, you may need to create the NvTray key:
1  HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\nvlddmkm\NvTray   Thanks
-Mike</description>
        <content:encoded>&lt;p&gt;I found this fix on &lt;a href=&#34;https://www.reddit.com/r/techsupport/comments/1ny3xyg/cant_hide_nvidia_system_tray_icon&#34;&gt;reddit&lt;/a&gt;, many thanks to user Valour-549 for this information.&lt;/p&gt;
&lt;p&gt;Create a DWORD named &amp;ldquo;StartOnLogin&amp;rdquo; and set it to 0 at this 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;/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\NVIDIA Corporation\NvTray
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;and also a this location, you may need to create the NvTray key:&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_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\nvlddmkm\NvTray
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Windows 11</category>
            
          
            
              <category>Tweaks</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>A Powershell Replacement for wmic</title>
        <link>https://gal.vin/posts/2025/powershell-replacement-wmic/</link>
        <pubDate>Wed, 04 Jun 2025 11:39:52 +0100</pubDate>
        
        <atom:modified>Wed, 04 Jun 2025 11:39:52 +0100</atom:modified>
        <guid>https://gal.vin/posts/2025/powershell-replacement-wmic/</guid>
        <description>If you&amp;rsquo;ve tried to use the wmic command in Windows 11 recently you&amp;rsquo;ll probably receive this error message:
&amp;ldquo;wmic: The term &amp;lsquo;wmic&amp;rsquo; is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.&amp;rdquo;
The wmic command is no longer part of Windows 11. I used to use wmic a lot to get model and manufacture information, primarily for drivers.</description>
        <content:encoded>&lt;p&gt;If you&amp;rsquo;ve tried to use the wmic command in Windows 11 recently you&amp;rsquo;ll probably receive this error message:&lt;/p&gt;
&lt;p&gt;&amp;ldquo;wmic: The term &amp;lsquo;wmic&amp;rsquo; is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;The wmic command is no longer part of Windows 11. I used to use wmic a lot to get model and manufacture information, primarily for drivers. Luckily this command has a PowerShell replacement.&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-WmiObject&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Class&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Win32_Bios&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;or&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-CimInstance&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-ClassName&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Win32_ComputerSystem&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;Both of the above can be used to obtain manufacturer and model information for a system.&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Windows 11</category>
            
          
            
              <category>wmic</category>
            
          
            
              <category>PowerShell</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>My Windows 11 24H2 Setup Process</title>
        <link>https://gal.vin/posts/2025/my-win11-setup-process/</link>
        <pubDate>Wed, 01 Jan 2025 18:10:07 +0000</pubDate>
        
        <atom:modified>Wed, 01 Jan 2025 18:10:07 +0000</atom:modified>
        <guid>https://gal.vin/posts/2025/my-win11-setup-process/</guid>
        <description>With standard Windows 10 support ending this year I think it&amp;rsquo;s a good time to share what I do to a fresh Windows 11 24H2 installation to make it work for me and reduce annoyances. Windows used to be very useable out of the box, but since Windows 8 its been on a downward spiral with Microsoft making more and more bad decisions&amp;hellip;in my opinion. Anyway, here&amp;rsquo;s how I fix Windows when I do a fresh install.</description>
        <content:encoded>&lt;p&gt;With standard Windows 10 support ending this year I think it&amp;rsquo;s a good time to share what I do to a fresh Windows 11 24H2 installation to make it work for me and reduce annoyances. Windows used to be very useable out of the box, but since Windows 8 its been on a downward spiral with Microsoft making more and more bad decisions&amp;hellip;in my opinion. Anyway, here&amp;rsquo;s how I fix Windows when I do a fresh install.&lt;/p&gt;
&lt;p&gt;Please note that during testing some registry changes didn&amp;rsquo;t take immediate effect. It might have been that I needed to restart for some changes to take effect, but if you experience it too, it&amp;rsquo;s not just you. Because of this I&amp;rsquo;ve also included where some settings are in the GUI.&lt;/p&gt;
&lt;h2 id=&#34;turn-off-sticky-keys&#34;&gt;Turn Off Sticky Keys&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Tap the Shift key 5 times and a dialogue box will pop up. (If it doesn&amp;rsquo;t Sticky Keys is already disabled most likely)&lt;/li&gt;
&lt;li&gt;Click the text &amp;ldquo;Disable this keyboard shortcut&amp;hellip;&amp;rdquo; the Windows Settings panel will open.&lt;/li&gt;
&lt;li&gt;Click the &amp;gt; next to the Off/On switch on the Sticky Keys option.&lt;/li&gt;
&lt;li&gt;Click the Off/On switch on the &amp;ldquo;Keyboard shortcut for Sticky keys&amp;rdquo; option.&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;/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-ItemProperty&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Path&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;HKCU:\Control Panel\Accessibility\StickyKeys&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;Flags&amp;#39;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;26&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-PropertyType&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;String&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;remove-windows-11-optional-features&#34;&gt;Remove Windows 11 Optional Features&lt;/h2&gt;
&lt;p&gt;Win + R &lt;code&gt;appwiz.cpl&lt;/code&gt; &amp;gt; &amp;ldquo;Turn Windows Features on or off&amp;rdquo;&lt;/p&gt;
&lt;p&gt;List all currently enabled optional features:&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-WindowsOptionalFeature&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;Where-Object&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;&lt;span class=&#34;nv&#34;&gt;$_&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;state&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;-eq&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;Enabled&amp;#34;&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;This is what I disable:&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;/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;Disable-WindowsOptionalFeature&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-FeatureName&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;WorkFolders-Client&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Online&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Disable-WindowsOptionalFeature&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-FeatureName&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;MediaPlayback&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Online&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Disable-WindowsOptionalFeature&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-FeatureName&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;WindowsMediaPlayer&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Online&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Disable-WindowsOptionalFeature&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-FeatureName&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;SmbDirect&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Online&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Disable-WindowsOptionalFeature&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-FeatureName&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;MSRDC-Infrastructure&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Online&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Disable-WindowsOptionalFeature&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-FeatureName&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;MicrosoftWindowsPowerShellV2Root&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Online&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Disable-WindowsOptionalFeature&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-FeatureName&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;MicrosoftWindowsPowerShellV2&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Online&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Disable-WindowsOptionalFeature&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-FeatureName&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;Printing-Foundation-InternetPrinting-Client&amp;#34;&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;List all Installed Windows Capabilities&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;-Online&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;Where-Object&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;&lt;span class=&#34;nv&#34;&gt;$_&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;state&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;-eq&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;Installed&amp;#34;&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;This is what I remove:&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-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Remove-WindowsCapability&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Online&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Microsoft&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;Windows&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;PowerShell&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ISE&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;~~~~&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;0&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;0&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;0&lt;/span&gt;
&lt;span class=&#34;n&#34;&gt;DISM&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;Disable-Feature&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;FeatureName&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;Recall&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;remove-built-in-apps&#34;&gt;Remove Built-in Apps&lt;/h2&gt;
&lt;p&gt;I use my own FOSS utility I created specially for this task: &lt;a href=&#34;https://github.com/Digressive/Remove-MS-Store-Apps&#34;&gt;Remove-MS-Store-Apps Utility&lt;/a&gt;&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;n&#34;&gt;powershell&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-ep&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;bypass&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;C:\scripts\Remove-MS-Store-Apps.ps1&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-list&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;C:\scripts\apps.txt&amp;#34;&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;Here is my apps to remove list:&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;/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;Clipchamp.Clipchamp
Microsoft.BingNews
Microsoft.BingSearch
Microsoft.BingWeather
Microsoft.GamingApp
Microsoft.GetHelp
Microsoft.MicrosoftOfficeHub
Microsoft.MicrosoftSolitaireCollection
Microsoft.MicrosoftStickyNotes
Microsoft.OutlookForWindows
Microsoft.PowerAutomateDesktop
Microsoft.Todos
Microsoft.Windows.DevHome
Microsoft.Windows.Photos
Microsoft.WindowsAlarms
Microsoft.WindowsFeedbackHub
Microsoft.WindowsSoundRecorder
Microsoft.YourPhone
Microsoft.ZuneMusic
MicrosoftCorporationII.QuickAssist
MicrosoftWindows.CrossDevice
MSTeams
&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;installing-apps-via-winget&#34;&gt;Installing apps via winget&lt;/h2&gt;
&lt;p&gt;winget is one of the few really useful tools to have come out of Microsoft in recent years.&lt;/p&gt;
&lt;p&gt;To find an app to install:&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;n&#34;&gt;winget&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;search&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;firefox&amp;#34;&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 install the 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;n&#34;&gt;winget&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;install&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;-&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;-id&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Mozilla&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;Firefox&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;remove-search-from-the-taskbar&#34;&gt;Remove Search from the Taskbar&lt;/h2&gt;
&lt;p&gt;Right-click taskbar &amp;gt; Taskbar settings &amp;gt; Search &amp;gt; Hide&lt;/p&gt;
&lt;p&gt;Registry edit via PowerShell:&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;New-ItemProperty&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\Microsoft\Windows\CurrentVersion\Search&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;SearchboxTaskbarMode&amp;#39;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;0&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-PropertyType&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;DWord&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;remove-task-view-button-on-the-taskbar&#34;&gt;Remove Task View Button on the Taskbar&lt;/h2&gt;
&lt;p&gt;Right-click taskbar &amp;gt; Taskbar settings &amp;gt; Task view &amp;gt; Off&lt;/p&gt;
&lt;p&gt;Registry edit via PowerShell:&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;New-ItemProperty&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\Microsoft\Windows\CurrentVersion\Explorer\Advanced&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;ShowTaskViewButton&amp;#39;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;0&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-PropertyType&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;DWord&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;windows-services-to-disable&#34;&gt;Windows Services to disable&lt;/h2&gt;
&lt;p&gt;I don&amp;rsquo;t do any printing, if you do change Spooler and PrintNotify to &amp;lsquo;Manual&amp;rsquo;.&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;/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;Set-Service&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;DiagTrack&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-StartupType&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Disabled&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Set-Service&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Spooler&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-StartupType&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Disabled&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Set-Service&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;PrintNotify&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-StartupType&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Disabled&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-hibernation-and-fast-startup&#34;&gt;Disable Hibernation and Fast Startup&lt;/h2&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;n&#34;&gt;powercfg&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;h &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;off&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-the-new-context-menu&#34;&gt;Disable the New Context Menu&lt;/h2&gt;
&lt;p&gt;Registry edit via PowerShell:&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-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;s2&#34;&gt;&amp;#34;InprocServer32&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Force&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Set-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}\InprocServer32&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34; &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;remove-gallery-from-file-explorer-for-all-users&#34;&gt;Remove Gallery from File Explorer for all users&lt;/h2&gt;
&lt;p&gt;Registry edit via PowerShell:&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;New-ItemProperty&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Path&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\NonEnum&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;{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}&amp;#39;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;1&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-PropertyType&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;DWord&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;setting-file-explorer-views-to-be-consistent&#34;&gt;Setting File Explorer views to be consistent&lt;/h2&gt;
&lt;p&gt;I use this fantastic FOSS utility: &lt;a href=&#34;https://github.com/LesFerch/WinSetView&#34;&gt;WinSetView&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Download the zip file, unzip and run WinSetView.exe.&lt;/p&gt;
&lt;h2 id=&#34;file-explorer-preferences&#34;&gt;File Explorer preferences&lt;/h2&gt;
&lt;p&gt;File Explorer &amp;gt; three dot menu &amp;gt; Options&lt;/p&gt;
&lt;p&gt;Show recently used files: Disabled&lt;/p&gt;
&lt;p&gt;Registry edit via PowerShell:&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;New-ItemProperty&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\Microsoft\Windows\CurrentVersion\Explorer&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;ShowRecent&amp;#39;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;0&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-PropertyType&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;DWord&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;p&gt;Show frequently used folders: Disabled&lt;/p&gt;
&lt;p&gt;Registry edit via PowerShell:&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;New-ItemProperty&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\Microsoft\Windows\CurrentVersion\Explorer&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;ShowFrequent&amp;#39;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;0&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-PropertyType&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;DWord&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;p&gt;Show files from Office.com: Disabled&lt;/p&gt;
&lt;p&gt;Registry edit via PowerShell:&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;New-ItemProperty&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\Microsoft\Windows\CurrentVersion\Explorer&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;ShowCloudFilesInQuickAccess&amp;#39;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;0&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-PropertyType&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;DWord&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;p&gt;Open File Explorer to: This PC&lt;/p&gt;
&lt;p&gt;Registry edit via PowerShell:&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;New-ItemProperty&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\Microsoft\Windows\CurrentVersion\Explorer\Advanced&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;LaunchTo&amp;#39;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;1&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-PropertyType&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;DWord&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;p&gt;Show hidden files, folders or drives: Enabled&lt;/p&gt;
&lt;p&gt;Registry edit via PowerShell:&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;New-ItemProperty&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\Microsoft\Windows\CurrentVersion\Explorer\Advanced&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;Hidden&amp;#39;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;1&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-PropertyType&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;DWord&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;p&gt;Hide empty drives: Disabled&lt;/p&gt;
&lt;p&gt;Registry edit via PowerShell:&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;New-ItemProperty&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\Microsoft\Windows\CurrentVersion\Explorer\Advanced&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;HideDrivesWithNoMedia&amp;#39;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;0&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-PropertyType&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;DWord&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;p&gt;Hide extensions for known file types: Disabled&lt;/p&gt;
&lt;p&gt;Registry edit via PowerShell:&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;New-ItemProperty&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\Microsoft\Windows\CurrentVersion\Explorer\Advanced&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;HideFileExt&amp;#39;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;0&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-PropertyType&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;DWord&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;p&gt;Display the full path in the title bar: Enabled&lt;/p&gt;
&lt;p&gt;Registry edit via PowerShell:&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;New-ItemProperty&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\Microsoft\Windows\CurrentVersion\Explorer\CabinetState&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;FullPath&amp;#39;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;1&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-PropertyType&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;DWord&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;remove-widgets-from-the-taskbar&#34;&gt;Remove Widgets from the Taskbar&lt;/h2&gt;
&lt;p&gt;Right-click taskbar &amp;gt; Taskbar settings &amp;gt; Widgets &amp;gt; Off&lt;/p&gt;
&lt;p&gt;Registry edit via PowerShell:&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;New-ItemProperty&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\Microsoft\Windows\CurrentVersion\Explorer\Advanced&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;TaskbarDa&amp;#39;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;0&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-PropertyType&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;DWord&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;remove-startup-programs&#34;&gt;Remove Startup Programs&lt;/h2&gt;
&lt;p&gt;Right-click taskbar &amp;gt; Task Manager &amp;gt; Startup apps &amp;gt; disable desired programs/services&lt;/p&gt;
&lt;h2 id=&#34;uninstall-one-drive&#34;&gt;Uninstall One Drive&lt;/h2&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;p&#34;&gt;&amp;amp;&lt;/span&gt; &lt;span class=&#34;nv&#34;&gt;$env:systemroot&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;System32&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;OneDriveSetup&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;exe&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;uninstall&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;using-local-group-policy-for-configuration&#34;&gt;Using Local Group Policy for Configuration&lt;/h2&gt;
&lt;p&gt;If you have Windows 11 Pro or above you can use the local Group Policy to configure a lot of your settings adn then back them up and restore them onto other PCs. To do this we can use a cool little Microsoft tool called LGPO.exe.&lt;/p&gt;
&lt;p&gt;You can download it here: &lt;a href=&#34;https://www.microsoft.com/en-us/download/details.aspx?id=55319&#34;&gt;Microsoft Security Compliance Toolkit 1.0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The specific tool you want is: LGPO.zip&lt;/p&gt;
&lt;p&gt;Unzip the zip file and copy LGPO.exe to a working directory.&lt;/p&gt;
&lt;p&gt;Use /b to backup your current Local Group Policy to a folder.&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;p&#34;&gt;&amp;amp;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;C:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;scripts&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;LGPO&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;lgpo&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;exe&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;b&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;C:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;scripts&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;My-GPO-Settings&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 /g to restore a local group policy backup from the specified folder.&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;p&#34;&gt;&amp;amp;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;C:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;scripts&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;LGPO&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;lgpo&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;exe&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;g&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;C:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;scripts&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;My-GPO-Settings&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;h3 id=&#34;my-local-group-policy&#34;&gt;My Local Group Policy&lt;/h3&gt;
&lt;p&gt;Open the local group policy editor with Win + R &lt;code&gt;gpedit.msc&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Here is my local group policy settings:&lt;/p&gt;
&lt;h4 id=&#34;administrative-templates--control-panel&#34;&gt;Administrative Templates &amp;gt; Control Panel&lt;/h4&gt;
&lt;p&gt;Allow Online Tips: Disabled&lt;/p&gt;
&lt;h4 id=&#34;networkqos-packet-scheduler&#34;&gt;Network/QoS Packet Scheduler&lt;/h4&gt;
&lt;p&gt;Limit reservable bandwidth: Enabled&lt;br /&gt;
Bandwidth limit (%): 0&lt;/p&gt;
&lt;h4 id=&#34;systeminternet-communication-management&#34;&gt;System/Internet Communication Management&lt;/h4&gt;
&lt;p&gt;Restrict Internet communication: Enabled&lt;/p&gt;
&lt;h4 id=&#34;systeminternet-communication-managementinternet-communication-settings&#34;&gt;System/Internet Communication Management/Internet Communication settings&lt;/h4&gt;
&lt;p&gt;Turn off downloading of print drivers over HTTP: Enabled&lt;br /&gt;
Turn off Event Viewer &amp;ldquo;Events.asp&amp;rdquo; links: Enabled&lt;br /&gt;
Turn off Help and Support Center &amp;ldquo;Did you know?&amp;rdquo; content: Enabled&lt;br /&gt;
Turn off Help and Support Center Microsoft Knowledge Base search: Enabled&lt;br /&gt;
Turn off Internet Connection Wizard if URL connection is referring to Microsoft.com: Enabled&lt;br /&gt;
Turn off Internet download for Web publishing and online ordering wizards: Enabled&lt;br /&gt;
Turn off Internet File Association service: Enabled&lt;br /&gt;
Turn off printing over HTTP: Enabled&lt;br /&gt;
Turn off Registration if URL connection is referring to Microsoft.com: Enabled&lt;br /&gt;
Turn off Search Companion content file updates: Enabled&lt;br /&gt;
Turn off the &amp;ldquo;Order Prints&amp;rdquo; picture task: Enabled&lt;br /&gt;
Turn off the &amp;ldquo;Publish to Web&amp;rdquo; task for files and folders: Enabled&lt;br /&gt;
Turn off the Windows Messenger Customer Experience Improvement Program: Enabled&lt;br /&gt;
Turn off Windows Customer Experience Improvement Program: Enabled&lt;br /&gt;
Turn off Windows Error Reporting: Enabled&lt;br /&gt;
Turn off Windows Network Connectivity Status Indicator active tests: Enabled&lt;br /&gt;
Turn off Windows Update device driver searching: Enabled&lt;/p&gt;
&lt;h4 id=&#34;systemos-policies&#34;&gt;System/OS Policies&lt;/h4&gt;
&lt;p&gt;Allow Clipboard History: Disabled&lt;br /&gt;
Allow Clipboard synchronization across devices: Disabled&lt;br /&gt;
Allow publishing of User Activities: Disabled&lt;br /&gt;
Allow upload of User Activities: Disabled&lt;br /&gt;
Enables Activity Feed: Disabled&lt;/p&gt;
&lt;h4 id=&#34;systemremote-assistance&#34;&gt;System/Remote Assistance&lt;/h4&gt;
&lt;p&gt;Configure Offer Remote Assistance: Disabled&lt;br /&gt;
Configure Solicited Remote Assistance: Disabled&lt;/p&gt;
&lt;h4 id=&#34;systemuser-profiles&#34;&gt;System/User Profiles&lt;/h4&gt;
&lt;p&gt;Turn off the advertising ID: Enabled&lt;/p&gt;
&lt;h4 id=&#34;windows-componentsautoplay-policies&#34;&gt;Windows Components/AutoPlay Policies&lt;/h4&gt;
&lt;p&gt;Turn off Autoplay: Enabled&lt;br /&gt;
Turn off Autoplay on: All drives&lt;/p&gt;
&lt;h4 id=&#34;windows-componentscloud-content&#34;&gt;Windows Components/Cloud Content&lt;/h4&gt;
&lt;p&gt;Do not show Windows tips: Enabled&lt;br /&gt;
Turn off cloud optimized content: Enabled&lt;br /&gt;
Turn off Microsoft consumer experiences: Enabled&lt;/p&gt;
&lt;h4 id=&#34;windows-componentsdata-collection-and-preview-builds&#34;&gt;Windows Components/Data Collection and Preview Builds&lt;/h4&gt;
&lt;p&gt;Allow commercial data pipeline: Disabled&lt;br /&gt;
Allow device name to be sent in Windows diagnostic data: Disabled&lt;br /&gt;
Allow Diagnostic Data: Enabled - Diagnostic data off (not recommended)&lt;br /&gt;
Allow Update Compliance Processing: Disabled&lt;br /&gt;
Allow WUfB Cloud Processing: Disabled&lt;br /&gt;
Configure collection of browsing data for Desktop Analytics: Disabled&lt;br /&gt;
Configure the Commercial ID: Disabled&lt;/p&gt;
&lt;h4 id=&#34;windows-componentslocation-and-sensors&#34;&gt;Windows Components/Location and Sensors&lt;/h4&gt;
&lt;p&gt;Turn off location: Enabled&lt;br /&gt;
Turn off location scripting: Enabled&lt;br /&gt;
Turn off sensors: Enabled&lt;/p&gt;
&lt;h4 id=&#34;windows-componentslocation-and-sensorswindows-location-provider&#34;&gt;Windows Components/Location and Sensors/Windows Location Provider&lt;/h4&gt;
&lt;p&gt;Turn off Windows Location Provider: Enabled&lt;/p&gt;
&lt;h4 id=&#34;windows-componentsmicrosoft-defender-antivirusmaps&#34;&gt;Windows Components/Microsoft Defender Antivirus/MAPS&lt;/h4&gt;
&lt;p&gt;Send file samples when further analysis is required: Enabled&lt;br /&gt;
Send file samples when further analysis is required: Never send&lt;/p&gt;
&lt;h4 id=&#34;windows-componentssearch&#34;&gt;Windows Components/Search&lt;/h4&gt;
&lt;p&gt;Allow Cortana: Disabled&lt;br /&gt;
Do not allow web search: Enabled&lt;br /&gt;
Don&amp;rsquo;t search the web or display web results in Search: Enabled&lt;/p&gt;
&lt;h4 id=&#34;windows-componentssoftware-protection-platform&#34;&gt;Windows Components/Software Protection Platform&lt;/h4&gt;
&lt;p&gt;Control Device Reactivation for Retail devices: Enabled&lt;br /&gt;
Turn off KMS Client Online AVS Validation: Enabled&lt;/p&gt;
&lt;h4 id=&#34;windows-componentssync-your-settings&#34;&gt;Windows Components/Sync your settings&lt;/h4&gt;
&lt;p&gt;Do not sync: Enabled&lt;br /&gt;
Allow users to turn syncing on: Disabled&lt;br /&gt;
Do not sync accessibility settings: Enabled&lt;br /&gt;
Allow users to turn &amp;ldquo;accessibility&amp;rdquo; syncing on: Disabled&lt;br /&gt;
Do not sync app settings: Enabled&lt;br /&gt;
Allow users to turn &amp;ldquo;app settings&amp;rdquo; syncing on: Disabled&lt;br /&gt;
Do not sync Apps: Enabled&lt;br /&gt;
Allow users to turn &amp;ldquo;AppSync&amp;rdquo; syncing on: Disabled&lt;br /&gt;
Do not sync browser settings: Enabled&lt;br /&gt;
Allow users to turn &amp;ldquo;browser&amp;rdquo; syncing on: Disabled&lt;br /&gt;
Do not sync desktop personalization: Enabled&lt;br /&gt;
Allow users to turn &amp;ldquo;desktop personalization&amp;rdquo; syncing on: Disabled&lt;br /&gt;
Do not sync language preferences settings: Enabled&lt;br /&gt;
Allow users to turn &amp;ldquo;language preferences&amp;rdquo; syncing on: Disabled&lt;br /&gt;
Do not sync on metered connections: Enabled&lt;br /&gt;
Do not sync other Windows settings: Enabled&lt;br /&gt;
Allow users to turn &amp;ldquo;other Windows settings&amp;rdquo; syncing on: Disabled&lt;br /&gt;
Do not sync passwords: Enabled&lt;br /&gt;
Allow users to turn &amp;ldquo;passwords&amp;rdquo; syncing on: Disabled&lt;br /&gt;
Do not sync personalize: Enabled&lt;br /&gt;
Allow users to turn &amp;ldquo;personalize&amp;rdquo; syncing on: Disabled&lt;br /&gt;
Do not sync start settings: Enabled&lt;br /&gt;
Allow users to turn &amp;ldquo;start layout&amp;rdquo; syncing on: Disabled&lt;/p&gt;
&lt;h4 id=&#34;windows-componentswindows-error-reporting&#34;&gt;Windows Components/Windows Error Reporting&lt;/h4&gt;
&lt;p&gt;Disable Windows Error Reporting: Enabled&lt;/p&gt;
&lt;h4 id=&#34;windows-componentswindows-updatemanage-end-user-experience&#34;&gt;Windows Components/Windows Update/Manage end user experience&lt;/h4&gt;
&lt;p&gt;Configure Automatic Updates: Enabled&lt;br /&gt;
Configure automatic updating: 5 - Allow local admin to choose setting&lt;br /&gt;
Install during automatic maintenance: Disabled&lt;br /&gt;
Scheduled install day: 0 - Every day&lt;br /&gt;
Scheduled install time: 03:00&lt;br /&gt;
Every week: Enabled&lt;br /&gt;
First week of the month: Disabled&lt;br /&gt;
Second week of the month: Disabled&lt;br /&gt;
Third week of the month: Disabled&lt;br /&gt;
Fourth week of the month: Disabled&lt;br /&gt;
Install updates for other Microsoft products: Enabled&lt;br /&gt;
Specify active hours range for auto-restarts: Enabled&lt;br /&gt;
Specify the max active hours range - Max range: 18&lt;/p&gt;
&lt;h4 id=&#34;windows-componentswindows-updatemanage-updates-offered-from-windows-update&#34;&gt;Windows Components/Windows Update/Manage updates offered from Windows Update&lt;/h4&gt;
&lt;p&gt;Manage preview builds: Disabled&lt;br /&gt;
Select when Preview Builds and Feature Updates are received: Enabled&lt;br /&gt;
How many days after a Feature Update is released would you like to defer the update before it is offered to the device? - 365&lt;/p&gt;
&lt;p&gt;Select when Quality Updates are received: Enabled&lt;br /&gt;
After a quality update is released, defer receiving it for this many days: 3&lt;/p&gt;
&lt;p&gt;Hope this helps! If you have any questions or comments please leave them below.&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        <media:content url="https://gal.vin//media/2025/w11-hero.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Windows 11</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Windows Terminal - quake mode</title>
        <link>https://gal.vin/posts/2024/wt-quake-mode/</link>
        <pubDate>Sat, 07 Dec 2024 22:30:19 +0000</pubDate>
        
        <atom:modified>Sat, 07 Dec 2024 22:30:19 +0000</atom:modified>
        <guid>https://gal.vin/posts/2024/wt-quake-mode/</guid>
        <description>What is &amp;lsquo;quake mode&amp;rsquo;? Quake mode is a Windows Terminal option which starts the program as a large borderless window which can be opened and closed via the keyboard shortcut: WIN + `.
Open Windows Terminal in &amp;lsquo;quake mode&amp;rsquo; To start Windows Terminal in quake mode use the following command line switch:
1  wt.exe --window &amp;#34;_quake&amp;#34;   Open Windows Terminal at startup in &amp;lsquo;quake mode&amp;rsquo; To open Windows Terminal in quake mode at start up, go to your startup folder by pressing WIN + R and then typing shell:startup.</description>
        <content:encoded>&lt;h2 id=&#34;what-is-quake-mode&#34;&gt;What is &amp;lsquo;quake mode&amp;rsquo;?&lt;/h2&gt;
&lt;p&gt;Quake mode is a Windows Terminal option which starts the program as a large borderless window which can be opened and closed via the keyboard shortcut: &lt;code&gt;WIN + `&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;open-windows-terminal-in-quake-mode&#34;&gt;Open Windows Terminal in &amp;lsquo;quake mode&amp;rsquo;&lt;/h2&gt;
&lt;p&gt;To start Windows Terminal in quake mode use the following command line switch:&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;wt.exe --window &amp;#34;_quake&amp;#34;
&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;open-windows-terminal-at-startup-in-quake-mode&#34;&gt;Open Windows Terminal at startup in &amp;lsquo;quake mode&amp;rsquo;&lt;/h2&gt;
&lt;p&gt;To open Windows Terminal in quake mode at start up, go to your startup folder by pressing &lt;code&gt;WIN + R&lt;/code&gt; and then typing &lt;code&gt;shell:startup&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;A Windows explorer will open. Created a new shortcut .lnk file inside this folder by right-clicking inside the folder &amp;ldquo;New&amp;rdquo; &amp;gt; &amp;ldquo;Shortcut&amp;rdquo; and then enter the following 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-text&#34; data-lang=&#34;text&#34;&gt;wt.exe --window &amp;#34;_quake&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;When you restart or login next Windows Terminal will open in quake mode.&lt;/p&gt;
&lt;p&gt;To open Windows Terminal in &amp;lsquo;quake mode&amp;rsquo; minimized at startup, use this command:&lt;/p&gt;
&lt;p&gt;For Windows Powershell 5&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;wt.exe --window &amp;quot;_quake&amp;quot; powershell -window minimized
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;For Powershell 7&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;wt.exe --window &amp;quot;_quake&amp;quot; pwsh -window minimized
&lt;/code&gt;&lt;/pre&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;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        <media:content url="https://gal.vin//media/2024/winterm.svg" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Windows Terminal</category>
            
          
            
              <category>Windows 11</category>
            
          
            
              <category>Windows 10</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Remove MS Store Apps Utility - Update 24.11.09</title>
        <link>https://gal.vin/posts/2024/remove-ms-store-apps-utility-v24-11-09/</link>
        <pubDate>Sat, 09 Nov 2024 16:43:47 +0000</pubDate>
        
        <atom:modified>Sat, 09 Nov 2024 16:43:47 +0000</atom:modified>
        <guid>https://gal.vin/posts/2024/remove-ms-store-apps-utility-v24-11-09/</guid>
        <description>It&amp;rsquo;s been a while since I did any work on this utility but I have a couple of small improvements requested from users.
I&amp;rsquo;ve added a new -Uno option which is remove all apps NOT in the user specified apps.txt file. This could be a good way of removing the extra apps that microsoft push down on Windows users over time.
Secondly I added a -PCOnly option which means the utility will only remove provisioned apps and not remove any apps from the currently logged user account.</description>
        <content:encoded>&lt;p&gt;It&amp;rsquo;s been a while since I did any work on this utility but I have a couple of small improvements requested from users.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve added a new -Uno option which is remove all apps NOT in the user specified apps.txt file. This could be a good way of removing the extra apps that microsoft push down on Windows users over time.&lt;/p&gt;
&lt;p&gt;Secondly I added a -PCOnly option which means the utility will only remove provisioned apps and not remove any apps from the currently logged user account. This can be helpful because the current user on a Windows 10/11 system has many more apps - which are mostly dependencies.&lt;/p&gt;
&lt;h3 id=&#34;2024-11-09-version-241109&#34;&gt;2024-11-09: Version 24.11.09&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added new &amp;lsquo;-Uno&amp;rsquo; option which removes ALL apps not in the specified text file. The text file becomes an &amp;ldquo;apps to keep&amp;rdquo; list, instead of an &amp;ldquo;apps to remove&amp;rdquo; list.&lt;/li&gt;
&lt;li&gt;Added new &amp;lsquo;-PCOnly&amp;rsquo; option which removes provisioned apps only. This will leave the apps for the current user untouched.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Remove MS Store Apps Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/Remove-MS-Store-Apps&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Remove-MS-Store-Apps&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/remove-ms-store-apps-utility/&#34;&gt;available here.&lt;/a&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 links below.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/sponsors/Digressive&#34;&gt;Github Sponsors&lt;/a&gt;&lt;/li&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;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        <media:content url="https://gal.vin//media/util-logos/rsau.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Clean Up the WinSxS folder</title>
        <link>https://gal.vin/posts/2024/windows-resetbase/</link>
        <pubDate>Wed, 18 Sep 2024 13:36:22 +0100</pubDate>
        
        <atom:modified>Wed, 18 Sep 2024 13:36:22 +0100</atom:modified>
        <guid>https://gal.vin/posts/2024/windows-resetbase/</guid>
        <description>Windows Updates build up over time and take up a lot of space. These can be cleared out manually using the Disk Cleanup utility but you can also use DISM to script the clean up process.
NOTE: Cleaning up the previous update files prevents the ability to roll back, so make sure your Windows installation is functioning as expected before hand.
Running this command in an elevated PowerShell terminal will remove all the old Windows Update files.</description>
        <content:encoded>&lt;p&gt;Windows Updates build up over time and take up a lot of space. These can be cleared out manually using the Disk Cleanup utility but you can also use DISM to script the clean up process.&lt;/p&gt;
&lt;p&gt;NOTE: Cleaning up the previous update files prevents the ability to roll back, so make sure your Windows installation is functioning as expected before hand.&lt;/p&gt;
&lt;p&gt;Running this command in an elevated PowerShell terminal will remove all the old Windows Update files.&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;n&#34;&gt;Dism&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;exe&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;n&#34;&gt;Cleanup-Image&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;StartComponentCleanup&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ResetBase&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;There is more information available on this process &lt;a href=&#34;https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/clean-up-the-winsxs-folder?view=windows-11&#34;&gt;here officially from Microsoft.&lt;/a&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;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        <media:content url="https://gal.vin//media/2024/disk-cleanup.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Windows 11</category>
            
          
            
              <category>Windows 10</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Hyper-V Backup Utility - Update 24.08.29</title>
        <link>https://gal.vin/posts/2024/hyperv-backuputility-v24-08-29/</link>
        <pubDate>Thu, 29 Aug 2024 14:54:04 +0100</pubDate>
        
        <atom:modified>Thu, 29 Aug 2024 14:54:04 +0100</atom:modified>
        <guid>https://gal.vin/posts/2024/hyperv-backuputility-v24-08-29/</guid>
        <description>Many thanks to user Digheads for PR 37.
With work from myself and PR 37 linked above, SMB authentication has been added. I&amp;rsquo;ve improved the documentation to help with the explanation of SMB support for backups - it&amp;rsquo;s a complicated situation when dealing with Hyper-V exports and non-domain joined servers.
PR 37 also added a Prefix option to backup all VMs with a certain prefix.
I&amp;rsquo;ve also added a long overdue -AllVms option to backup all VMs, regardless of their running status mentioned in issue 23.</description>
        <content:encoded>&lt;p&gt;Many thanks to user Digheads for &lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility/pull/37&#34;&gt;PR 37&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;With work from myself and PR 37 linked above, SMB authentication has been added. I&amp;rsquo;ve improved the documentation to help with the explanation of SMB support for backups - it&amp;rsquo;s a complicated situation when dealing with Hyper-V exports and non-domain joined servers.&lt;/p&gt;
&lt;p&gt;PR 37 also added a Prefix option to backup all VMs with a certain prefix.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve also added a long overdue -AllVms option to backup all VMs, regardless of their running status mentioned in &lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility/issues/23&#34;&gt;issue 23&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Finally, I&amp;rsquo;ve added a -MakeCreds option which will generate a credential file for use with SMTP authentication.&lt;/p&gt;
&lt;h3 id=&#34;2024-08-29-version-240829&#34;&gt;2024-08-29: Version 24.08.29&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added Sponsorship information to the projects Github.&lt;/li&gt;
&lt;li&gt;Added SMB Authentication, based on work from &lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility/pull/37&#34;&gt;PR 37&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Added -MakeCreds option to help in creation of SMTP authentication file.&lt;/li&gt;
&lt;li&gt;Added -AllVms option to specify the backing up of all VMs on a Hyper-V server without the need for a list file.&lt;/li&gt;
&lt;li&gt;Added -Prefix option to backup all VMs beginning with the string specified.&lt;/li&gt;
&lt;li&gt;Added more information about Hyper-V&amp;rsquo;s export limitations to the documentation and in app help.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hyper-V Backup Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Hyper-V-Backup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/hyperv-backup-utility/&#34;&gt;available here.&lt;/a&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 donate via paypal.&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;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        <media:content url="https://gal.vin//media/util-logos/hvbu.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Disable IPv6 with PowerShell</title>
        <link>https://gal.vin/posts/2024/disable-ipv6/</link>
        <pubDate>Wed, 21 Aug 2024 13:05:47 +0100</pubDate>
        
        <atom:modified>Wed, 21 Aug 2024 13:05:47 +0100</atom:modified>
        <guid>https://gal.vin/posts/2024/disable-ipv6/</guid>
        <description>Disable IPv6 on all network adaptors Run the command below in an elevated PowerShell terminal to disable IPv6 on all network adaptors:
1  Disable-NetAdapterBinding -Name * -ComponentID ms_tcpip6   Disable IPv6 on a specified network adaptor Run the command below in an elevated PowerShell terminal to list all network adaptors on the system and the enabled or disabled status of IPv6:
1  Get-NetAdapterBinding -ComponentID ms_tcpip6   Run this command in an elevated PowerShell terminal to disable IPv6 on the adaptor with the specified name:</description>
        <content:encoded>&lt;h2 id=&#34;disable-ipv6-on-all-network-adaptors&#34;&gt;Disable IPv6 on all network adaptors&lt;/h2&gt;
&lt;p&gt;Run the command below in an elevated PowerShell terminal to disable IPv6 on all network adaptors:&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;Disable-NetAdapterBinding&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;*&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-ComponentID&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;ms_tcpip6&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-ipv6-on-a-specified-network-adaptor&#34;&gt;Disable IPv6 on a specified network adaptor&lt;/h2&gt;
&lt;p&gt;Run the command below in an elevated PowerShell terminal to list all network adaptors on the system and the enabled or disabled status of IPv6:&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-NetAdapterBinding&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-ComponentID&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;ms_tcpip6&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;Run this command in an elevated PowerShell terminal to disable IPv6 on the adaptor with the specified name:&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;Disable-NetAdapterBinding&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;ADAPTOR NAME&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-ComponentID&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;ms_tcpip6&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;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        <media:content url="https://gal.vin//media/2024/disable-ipv6.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>PowerShell</category>
            
          
            
              <category>Windows 11</category>
            
          
            
              <category>Windows 10</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Getting Started with MDT Offline Media</title>
        <link>https://gal.vin/posts/2024/mdt-offline-media/</link>
        <pubDate>Thu, 01 Aug 2024 14:43:39 +0100</pubDate>
        
        <atom:modified>Thu, 01 Aug 2024 14:43:39 +0100</atom:modified>
        <guid>https://gal.vin/posts/2024/mdt-offline-media/</guid>
        <description>Overview MDT can generate &amp;ldquo;offline media&amp;rdquo; which is a way to install Windows, drivers, patches, and applications with no connection to a central server. It&amp;rsquo;s like creating your own custom Windows ISO but more!
In this guide I&amp;rsquo;m assuming you already have an MDT Deployment Share created and working as needed. This guide will build on that foundation to create an offline deployment solution.
Before you start here are some points to keep in mind:</description>
        <content:encoded>&lt;h2 id=&#34;overview&#34;&gt;Overview&lt;/h2&gt;
&lt;p&gt;MDT can generate &amp;ldquo;offline media&amp;rdquo; which is a way to install Windows, drivers, patches, and applications with no connection to a central server. It&amp;rsquo;s like creating your own custom Windows ISO but more!&lt;/p&gt;
&lt;p&gt;In this guide I&amp;rsquo;m assuming you already have an MDT Deployment Share created and working as needed. This guide will build on that foundation to create an offline deployment solution.&lt;/p&gt;
&lt;p&gt;Before you start here are some points to keep in mind:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Offline media is essentially a new, separate deployment share structure that is created and packed into an ISO file.&lt;/li&gt;
&lt;li&gt;Offline media has a separate CustomSettings.ini and Bootstrap.ini file which can be customised the same as the online deployment share.&lt;/li&gt;
&lt;li&gt;You can specify what content from the main deployment share is included into the offline media by using selection profiles.&lt;/li&gt;
&lt;li&gt;Any content that exists outside of the online deployment share that you wish to be available offline, you can manually copy to the offline media file structure and then re-generate the offline media to have included.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;prepare-your-main-deployment-share&#34;&gt;Prepare Your Main Deployment Share&lt;/h2&gt;
&lt;p&gt;If you have a current deployment share that you wish to continue using alongside offline media, then it&amp;rsquo;s worth going through it and deciding what content you need in the offline media. This can be applications, drivers, operating systems, packages, and task sequences. I&amp;rsquo;d recommend creating an &amp;ldquo;Offline&amp;rdquo; folder in each section and then copy &amp;amp; pasting the item into the &amp;ldquo;Offline&amp;rdquo; folder. This is so we can then create an &amp;ldquo;Offline Media&amp;rdquo; Selection Profile that only includes these Offline folders.&lt;/p&gt;
&lt;h3 id=&#34;how-duplicating-items-in-mdt-works&#34;&gt;How Duplicating Items in MDT Works&lt;/h3&gt;
&lt;p&gt;Copy &amp;amp; pasting items in MDT duplicates the item and doesn&amp;rsquo;t create a new copy of the item. So, for example, if you duplicate a task sequence and then make changes to it you are changing that single task sequence. If you need a new &amp;ldquo;offline&amp;rdquo; task sequence, then you&amp;rsquo;ll need to create a new one from scratch. This goes for everything in MDT.&lt;/p&gt;
&lt;h3 id=&#34;creating-new-applications-in-mdt-for-use-with-offline-media&#34;&gt;Creating New Applications In MDT For Use With Offline Media&lt;/h3&gt;
&lt;p&gt;If you plan on including applications with your offline media, you should check that the application item has a &amp;ldquo;Source directory&amp;rdquo; configured. If this field is blank, then the application will not be included in the offline media as MDT doesn&amp;rsquo;t know where to get the files from.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://gal.vin/media/2024/mdt-app-properties.webp&#34; alt=&#34;MDT Application Properties&#34; /&gt;&lt;/p&gt;
&lt;p&gt;The &amp;ldquo;Source directory&amp;rdquo; is configured when you create a new application and the &amp;ldquo;Application with source files&amp;rdquo; radio button is selected.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://gal.vin/media/2024/mdt-new-app.webp&#34; alt=&#34;Creating a new Application in MDT&#34; /&gt;&lt;/p&gt;
&lt;h2 id=&#34;creating-a-selection-profile&#34;&gt;Creating a Selection Profile&lt;/h2&gt;
&lt;p&gt;In the MDT Deployment Workbench, under &amp;ldquo;Advanced Configuration/Selection Profiles&amp;rdquo;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Right-click on the &amp;ldquo;Selection Profiles&amp;rdquo; folder in the left-hand panel and select &amp;ldquo;New Selection Profile&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Give the Selection Profile a name - we&amp;rsquo;ll call it &amp;ldquo;Offline Media&amp;rdquo; and click &amp;ldquo;Next&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Here you&amp;rsquo;ll see a list of all the content in your MDT share. Note that you only see folders and not individual items.&lt;/li&gt;
&lt;li&gt;Select the items you wish to include in your Offline Media and click &amp;ldquo;Next&amp;rdquo; and then Next again.&lt;/li&gt;
&lt;li&gt;On the final screen the Process should have completed successfully, click &amp;ldquo;Finish&amp;rdquo;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;creating-offline-media&#34;&gt;Creating Offline Media&lt;/h2&gt;
&lt;p&gt;In the MDT Deployment Workbench, under &amp;ldquo;Advanced Configuration/Media&amp;rdquo;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Right-click on the &amp;ldquo;Media&amp;rdquo; folder in the left-hand panel and select &amp;ldquo;New Media&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Select the path where the new Offline Media folder structure should be created - it should be outside of any deployment shares. e.g. E:\MDT-Offline&lt;/li&gt;
&lt;li&gt;Under &amp;ldquo;Selection profile&amp;rdquo; choose the selection profile we created earlier and then click &amp;ldquo;Next&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;If you browse to the path that you chose in step 2 you should see a &amp;ldquo;Content&amp;rdquo; directory and inside that a &amp;ldquo;Deploy&amp;rdquo; directory which contains a structure a lot like a normal deployment share.&lt;/li&gt;
&lt;li&gt;Under &amp;ldquo;Advanced Configuration/Media&amp;rdquo; you should have a new item called &amp;ldquo;MEDIA001&amp;rdquo;, right click and select &amp;ldquo;Properties&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;On the Properties page &amp;ldquo;General&amp;rdquo; tab you can configure the platforms (I recommend unchecking &amp;ldquo;x86&amp;rdquo; unless you specifically need it) and the name of the ISO file if desired.&lt;/li&gt;
&lt;li&gt;On the &amp;ldquo;Rules&amp;rdquo; tab you can configure the CustomSettings.ini and the Bootstrap.ini for the Offline Media only. These function in the same way as the main deployment share.&lt;/li&gt;
&lt;li&gt;On the &amp;ldquo;Windows PE&amp;rdquo; tab, once again this is the Offline Media&amp;rsquo;s configuration of its WinPE environment.&lt;/li&gt;
&lt;li&gt;Once all is configured as needed, right click on the &amp;ldquo;MEDIA001&amp;rdquo; and select &amp;ldquo;Update Media Content&amp;rdquo; and MDT will build an ISO file with all the content specified from the selection profile chosen in step 3.&lt;/li&gt;
&lt;li&gt;When the media creation has completed successfully you can use the ISO file with a VM to test or use a tool like &lt;a href=&#34;https://rufus.ie/en/&#34;&gt;Rufus&lt;/a&gt; to use it with a USB drive to image a computer.&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;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Windows 11</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Hyper-V Backup Utility - Update 24.05.11</title>
        <link>https://gal.vin/posts/2024/hyperv-backuputility-v24-05-11/</link>
        <pubDate>Sat, 11 May 2024 14:51:18 +0000</pubDate>
        
        <atom:modified>Sat, 11 May 2024 14:51:18 +0000</atom:modified>
        <guid>https://gal.vin/posts/2024/hyperv-backuputility-v24-05-11/</guid>
        <description>This is a quick update to fix an issue where backup success would be reported when using a working directory and the final destination directory didn&amp;rsquo;t have enough disk space. This happened because the backup to the working directory succeeded and the backup state flag wouldn&amp;rsquo;t get set to &amp;ldquo;failed&amp;rdquo; when the move to the final destination failed.
Huge thanks to ecomstation, Charles-Isaac and furicle for reporting this issue. Apologies that it took to some to get a fix in.</description>
        <content:encoded>&lt;p&gt;This is a quick update to fix an issue where backup success would be reported when using a working directory and the final destination directory didn&amp;rsquo;t have enough disk space. This happened because the backup to the working directory succeeded and the backup state flag wouldn&amp;rsquo;t get set to &amp;ldquo;failed&amp;rdquo; when the move to the final destination failed.&lt;/p&gt;
&lt;p&gt;Huge thanks to ecomstation, Charles-Isaac and furicle for reporting this issue. Apologies that it took to some to get a fix in.&lt;/p&gt;
&lt;p&gt;Many thanks to everyone who continues to support the further development of these scripts.&lt;/p&gt;
&lt;h3 id=&#34;2024-05-11-version-240511&#34;&gt;2024-05-11: Version 24.05.11&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Fixed an issue where backup success would be reported when using a working directory and the final destination directory for the backup didn&amp;rsquo;t have enough disk space. From &lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility/issues/27&#34;&gt;Issue 27&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hyper-V Backup Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Hyper-V-Backup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/hyperv-backup-utility/&#34;&gt;available here.&lt;/a&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 donate via paypal.&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;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        <media:content url="https://gal.vin//media/util-logos/hvbu.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Hyper-V Backup Utility - Update 24.03.21</title>
        <link>https://gal.vin/posts/2024/hyperv-backuputility-v24-03-21/</link>
        <pubDate>Thu, 21 Mar 2024 14:51:36 +0000</pubDate>
        
        <atom:modified>Thu, 21 Mar 2024 14:51:36 +0000</atom:modified>
        <guid>https://gal.vin/posts/2024/hyperv-backuputility-v24-03-21/</guid>
        <description>In this release I&amp;rsquo;ve added a new option to specify how the Export-VM function should capture the state of the VM, which should help with any VM freezes or lagging during export.
Many thanks to bacardischmal who brought this to my attention via GitHub Issue 34.
2024-03-21: Version 24.03.21  Added -CaptureState option for the user to specify the method that Export-VM uses to capture the state of the VM whilst running.</description>
        <content:encoded>&lt;p&gt;In this release I&amp;rsquo;ve added a new option to specify how the Export-VM function should capture the state of the VM, which should help with any VM freezes or lagging during export.&lt;/p&gt;
&lt;p&gt;Many thanks to &lt;a href=&#34;https://github.com/bacardischmal&#34;&gt;bacardischmal&lt;/a&gt; who brought this to my attention via GitHub &lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility/issues/34&#34;&gt;Issue 34&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;2024-03-21-version-240321&#34;&gt;2024-03-21: Version 24.03.21&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added -CaptureState option for the user to specify the method that Export-VM uses to capture the state of the VM whilst running. From &lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility/issues/34&#34;&gt;Issue 34&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hyper-V Backup Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Hyper-V-Backup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/hyperv-backup-utility/&#34;&gt;available here.&lt;/a&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 donate via paypal.&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;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        <media:content url="https://gal.vin//media/util-logos/hvbu.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Hyper-V Backup Utility - Update 24.03.18</title>
        <link>https://gal.vin/posts/2024/hyperv-backuputility-v24-03-18/</link>
        <pubDate>Mon, 18 Mar 2024 15:23:02 +0000</pubDate>
        
        <atom:modified>Mon, 18 Mar 2024 15:23:02 +0000</atom:modified>
        <guid>https://gal.vin/posts/2024/hyperv-backuputility-v24-03-18/</guid>
        <description>Update Summary This is a follow-up release with an important fix for users who password protect their 7-Zip archives. A user brought this is my attention on GitHub and contributed code via Issue 33.
My sincerest apologies for not catching this issue in the previous release. Many thanks to jlaraby for submitting the issue.
2024-03-18: Version 24.03.18  Added fix for verifying password protected 7-Zip archives from Issue 33  Hyper-V Backup Utility can be downloaded from:</description>
        <content:encoded>&lt;h2 id=&#34;update-summary&#34;&gt;Update Summary&lt;/h2&gt;
&lt;p&gt;This is a follow-up release with an important fix for users who password protect their 7-Zip archives. A user brought this is my attention on GitHub and contributed code via &lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility/issues/33&#34;&gt;Issue 33&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;My sincerest apologies for not catching this issue in the previous release. Many thanks to &lt;a href=&#34;https://github.com/jlaraby&#34;&gt;jlaraby&lt;/a&gt; for submitting the issue.&lt;/p&gt;
&lt;h3 id=&#34;2024-03-18-version-240318&#34;&gt;2024-03-18: Version 24.03.18&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added fix for verifying password protected 7-Zip archives from &lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility/issues/33&#34;&gt;Issue 33&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hyper-V Backup Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Hyper-V-Backup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/hyperv-backup-utility/&#34;&gt;available here.&lt;/a&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 donate via paypal.&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;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        <media:content url="https://gal.vin//media/util-logos/hvbu.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Hyper-V Backup Utility - Update 24.03.08</title>
        <link>https://gal.vin/posts/2024/hyperv-backuputility-v24-03-08/</link>
        <pubDate>Mon, 11 Mar 2024 17:35:37 +0000</pubDate>
        
        <atom:modified>Mon, 11 Mar 2024 17:35:37 +0000</atom:modified>
        <guid>https://gal.vin/posts/2024/hyperv-backuputility-v24-03-08/</guid>
        <description>Update Summary This is a big update with many changes specifically around the creation and verification of 7-Zip archives and the handling of split 7-Zip archives when short dates are used. There were previously some issues around the script flagging failed backups as failed and successful at the same time.
My sincerest apologies for not releasing an update before now, finding time to focus on coding as well as finding work has been difficult.</description>
        <content:encoded>&lt;h2 id=&#34;update-summary&#34;&gt;Update Summary&lt;/h2&gt;
&lt;p&gt;This is a big update with many changes specifically around the creation and verification of 7-Zip archives and the handling of split 7-Zip archives when short dates are used. There were previously some issues around the script flagging failed backups as failed and successful at the same time.&lt;/p&gt;
&lt;p&gt;My sincerest apologies for not releasing an update before now, finding time to focus on coding as well as finding work has been difficult. Many thanks to everyone who has supported me and logged issues and suggestions for improvements. Your continued feedback is greatly appreciated!&lt;/p&gt;
&lt;h3 id=&#34;2024-03-08-version-240308&#34;&gt;2024-03-08: Version 24.03.08&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Fixed 7-Zip split files getting renamed and not keeping file extensions when short dates are used.&lt;/li&gt;
&lt;li&gt;Added a verify operation for 7-Zip created archives as per &lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility/issues/33&#34;&gt;Issue 33&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Fixed an issue where failed backups where also listed as successful.&lt;/li&gt;
&lt;li&gt;Overhauled the backup success/fail checks. They now work a lot more reliably.&lt;/li&gt;
&lt;li&gt;Added check for the work dir/backup dir to exist before trying to remove as this caused a script error.&lt;/li&gt;
&lt;li&gt;Cleaned up console and log file output.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hyper-V Backup Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Hyper-V-Backup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/hyperv-backup-utility/&#34;&gt;available here.&lt;/a&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 donate via paypal.&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;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        <media:content url="https://gal.vin//media/util-logos/hvbu.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Poor Network Performance With FreeBSD Based Operating Systems On Hyper-V</title>
        <link>https://gal.vin/posts/2023/freebsd-hyperv/</link>
        <pubDate>Thu, 21 Sep 2023 10:26:32 +0100</pubDate>
        
        <atom:modified>Thu, 21 Sep 2023 10:26:32 +0100</atom:modified>
        <guid>https://gal.vin/posts/2023/freebsd-hyperv/</guid>
        <description>The Problem When using FreeBSD based distro&amp;rsquo;s like TrueNAS-Core or pfSense on Hyper-V network performance is very poor.
The Solution Receive Segment Coalescing (RSC) is enabled by default on all virtual NICs with Hyper-V and it should be disabled if you are experiencing poor network performance. You can do this with a quick PowerShell command.
Find out if Software RSC is enabled on your virtual NICs:
1  Get-VMSwitch -Name * | Select name, *RSC*   Disable Software RSC on a specific virtual NIC:</description>
        <content:encoded>&lt;h2 id=&#34;the-problem&#34;&gt;The Problem&lt;/h2&gt;
&lt;p&gt;When using FreeBSD based distro&amp;rsquo;s like TrueNAS-Core or pfSense on Hyper-V network performance is very poor.&lt;/p&gt;
&lt;h2 id=&#34;the-solution&#34;&gt;The Solution&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;https://learn.microsoft.com/en-us/windows-server/networking/technologies/hpn/rsc-in-the-vswitch&#34;&gt;Receive Segment Coalescing (RSC)&lt;/a&gt; is enabled by default on all virtual NICs with Hyper-V and it should be disabled if you are experiencing poor network performance. You can do this with a quick PowerShell command.&lt;/p&gt;
&lt;p&gt;Find out if Software RSC is enabled on your virtual NICs:&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-VMSwitch&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;*&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;name&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;*&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;RSC&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;Disable Software RSC on a specific virtual NIC:&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;Set-VMSwitch&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;virtual NIC name&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-EnableSoftwareRsc&lt;/span&gt; &lt;span class=&#34;nv&#34;&gt;$false&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;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        <media:content url="https://gal.vin//media/2023/freebsd.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Hyper-V</category>
            
          
            
              <category>pfsense</category>
            
          
            
              <category>truenas-core</category>
            
          
            
              <category>freebsd</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Installing and Configuring LibreNMS (and SNMP on Windows Server)</title>
        <link>https://gal.vin/posts/2022/install-config-librenms/</link>
        <pubDate>Sat, 08 Jul 2023 15:00:00 +0100</pubDate>
        
        <atom:modified>Sat, 08 Jul 2023 15:00:00 +0100</atom:modified>
        <guid>https://gal.vin/posts/2022/install-config-librenms/</guid>
        <description>Original Post Date: 2022-10-18
Updated: 2023-07-08
Before you start This walkthrough is very similar to the excellent official LibreNMS documentation available here. The intention with this guide is to walk through the installation of LibreNMS on a fresh install of Ubuntu Server 22.04, running the NGINX web server stepping through the entire process and explaining some of the things that caught me out. Additionally, this will also cover how to install and set up SNMP on Windows servers so LibreNMS can monitor your Windows servers too.</description>
        <content:encoded>&lt;p&gt;Original Post Date: 2022-10-18&lt;/p&gt;
&lt;p&gt;Updated: 2023-07-08&lt;/p&gt;
&lt;h2 id=&#34;before-you-start&#34;&gt;Before you start&lt;/h2&gt;
&lt;p&gt;This walkthrough is very similar to the excellent official &lt;a href=&#34;https://docs.librenms.org/Installation/Install-LibreNMS&#34;&gt;LibreNMS documentation available here.&lt;/a&gt; The intention with this guide is to walk through the installation of LibreNMS on a fresh install of Ubuntu Server 22.04, running the NGINX web server stepping through the entire process and explaining some of the things that caught me out. Additionally, this will also cover how to install and set up SNMP on Windows servers so LibreNMS can monitor your Windows servers too.&lt;/p&gt;
&lt;p&gt;Please note that like the official docs I will not be covering HTTPS setup, so your LibreNMS install will not be secure. Don&amp;rsquo;t expose it to the Internet unless you have configured HTTPS and taken appropriate web server hardening steps.&lt;/p&gt;
&lt;h2 id=&#34;installing-ubuntu-server-2204&#34;&gt;Installing Ubuntu Server 22.04&lt;/h2&gt;
&lt;p&gt;Installing Ubuntu Server 22.04 is pretty straight forward, however setting a static IP is different from Windows in that setup expects the subnet to be in CIDR format, for example: &lt;code&gt;192.168.0.0/24&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;For the user profile setup in the tutorial we&amp;rsquo;ll use the following information.&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-text&#34; data-lang=&#34;text&#34;&gt;your name: LibreNMS
servers name: librenms-host
username: librenms
password: [your-password]
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;During the install you will be asked if you want to Install OpenSSH server. To allow much easier remote management you should enable this. It will make following this tutorial much easier as you will be able to copy and paste into the SSH window.&lt;/p&gt;
&lt;h3 id=&#34;vm-quirks&#34;&gt;VM Quirks&lt;/h3&gt;
&lt;p&gt;Once the install procedure has completed it may look like it&amp;rsquo;s frozen. Just press enter and it will continue. Once the VM boots it may look like it&amp;rsquo;s frozen again and might not display a login prompt. Again just press enter and you will see a login prompt appear.&lt;/p&gt;
&lt;h2 id=&#34;login-with-ssh&#34;&gt;Login with SSH&lt;/h2&gt;
&lt;p&gt;SSH is enabled, so from here on we&amp;rsquo;ll use that. In a cmd/PowerShell or Terminal prompt use the following commands to login:&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;ssh librenms@ServerIPaddress
[your-password]
&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 must become the root user to install the required packages:&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;sudo -i
&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;install-packages&#34;&gt;Install Packages&lt;/h2&gt;
&lt;p&gt;Enter the following commands to install the pre-requisits LibreNMS requires:&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;apt install acl curl fping git graphviz imagemagick mariadb-client mariadb-server mtr-tiny nginx-full nmap php-cli php-curl php-fpm php-gd php-gmp php-json php-mbstring php-mysql php-snmp php-xml php-zip rrdtool snmp snmpd whois unzip python3-pymysql python3-dotenv python3-redis python3-setuptools python3-systemd python3-pip
&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;add-the-librenms-user&#34;&gt;Add The LibreNMS User&lt;/h2&gt;
&lt;p&gt;This user should already exist if you&amp;rsquo;ve been following this walkthrough from the top.&lt;/p&gt;
&lt;p&gt;Enter the 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-text&#34; data-lang=&#34;text&#34;&gt;useradd librenms -d /opt/librenms -M -r -s &amp;#34;$(which bash)&amp;#34;
&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;download-librenms-from-github&#34;&gt;Download LibreNMS From GitHub&lt;/h2&gt;
&lt;p&gt;Run these commands to change directory to the /opt directory and then clone the librenms repository from GitHub:&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;cd /opt
git clone https://github.com/librenms/librenms.git
&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;setting-permissions&#34;&gt;Setting Permissions&lt;/h2&gt;
&lt;p&gt;Now we&amp;rsquo;ll change the owner and file permissions on the downloaded files:&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-text&#34; data-lang=&#34;text&#34;&gt;chown -R librenms:librenms /opt/librenms
chmod 771 /opt/librenms
setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
setfacl -R -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
&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;install-php-dependencies&#34;&gt;Install PHP Dependencies&lt;/h2&gt;
&lt;p&gt;With the next command we&amp;rsquo;ll switch user to the librenms user from the root user we&amp;rsquo;ve been using up to this point:&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;su - librenms
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;You will now be in the librenms user home directory, so we must change directory to the librenms directory in /opt that was cloned from GitHub:&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;cd /opt/librenms
&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 we need to run the following script:&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;./scripts/composer_wrapper.php install --no-dev
exit
&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 &lt;code&gt;exit&lt;/code&gt; will switch us back to the root user we were running as before. The reason for this switch to librenms and then back to root is that the script must run as the librenms user, but now we need the root priviledges again.&lt;/p&gt;
&lt;h2 id=&#34;set-the-time-zone&#34;&gt;Set The Time Zone&lt;/h2&gt;
&lt;p&gt;Now we need to set the time zone in the PHP config and to do that we must edit some config files, we&amp;rsquo;ll use the &amp;ldquo;nano&amp;rdquo; text editor. See &lt;a href=&#34;https://php.net/manual/en/timezones.php&#34;&gt;here&lt;/a&gt; for a list of supported time zones.&lt;br /&gt;
Some valid examples are: &amp;ldquo;America/New_York&amp;rdquo;, &amp;ldquo;Australia/Brisbane&amp;rdquo;, &amp;ldquo;Etc/UTC&amp;rdquo;, &amp;ldquo;Europe/London&amp;rdquo;.&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;nano /etc/php/8.1/fpm/php.ini
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Scroll down to this section:&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-text&#34; data-lang=&#34;text&#34;&gt;[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
;date.timezone =
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Change: &lt;code&gt;;date.timezone =&lt;/code&gt; to &lt;code&gt;date.timezone = Europe/London&lt;/code&gt; using the time zone &amp;ldquo;Europe/London&amp;rdquo; as an example.&lt;/p&gt;
&lt;p&gt;Save the file with CTRL + O and press enter to overwrite the existing file.&lt;br /&gt;
Exit with CTRL + X&lt;/p&gt;
&lt;p&gt;Now run this command and edit the file the same way as above.&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;nano /etc/php/8.1/cli/php.ini
&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 set the system time zone using the command below with &amp;ldquo;Europe/London&amp;rdquo; as an example:&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;timedatectl set-timezone Europe/London
&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;configure-mariadb&#34;&gt;Configure MariaDB&lt;/h2&gt;
&lt;p&gt;In this section you&amp;rsquo;ll see a lot of &amp;ldquo;mysql&amp;rdquo; commands even though we&amp;rsquo;re using MariaDB. In short MariaDB is a fork of MySQL - meaning it&amp;rsquo;s based off of MySQL. The commands are &amp;ldquo;mysql&amp;rdquo; probably for compatibility I would think.&lt;/p&gt;
&lt;p&gt;Once again we&amp;rsquo;re going to be editing a config file using nano:&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;nano /etc/mysql/mariadb.conf.d/50-server.cnf
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Add the following inside the [mysqld] section:&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;innodb_file_per_table=1
lower_case_table_names=0
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Save the file with CTRL + O and press enter to overwrite the existing file.&lt;br /&gt;
Exit with CTRL + X&lt;/p&gt;
&lt;p&gt;Run these commands to enable MariaDB and start the service:&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;systemctl enable mariadb
systemctl restart mariadb
&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 we&amp;rsquo;re going to login to MariaDB and create the database. The &lt;code&gt;&#39;your-password&#39;&lt;/code&gt; should be set to a secure password:&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;/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;mysql -u root

CREATE DATABASE librenms CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER &amp;#39;librenms&amp;#39;@&amp;#39;localhost&amp;#39; IDENTIFIED BY &amp;#39;your-password&amp;#39;;
GRANT ALL PRIVILEGES ON librenms.* TO &amp;#39;librenms&amp;#39;@&amp;#39;localhost&amp;#39;;
exit
&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;configure-php-fpm&#34;&gt;Configure PHP-FPM&lt;/h2&gt;
&lt;p&gt;Next we&amp;rsquo;ll copy a template config file and edit it for librenms:&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;cp /etc/php/8.1/fpm/pool.d/www.conf /etc/php/8.1/fpm/pool.d/librenms.conf
nano /etc/php/8.1/fpm/pool.d/librenms.conf
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Change &lt;code&gt;[www]&lt;/code&gt; to &lt;code&gt;[librenms]&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Change &amp;ldquo;user and group&amp;rdquo; from:&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;user = www-data
group = www-data
&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:&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;user = librenms
group = librenms
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Change &lt;code&gt;listen =&lt;/code&gt; to:&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;listen = /run/php-fpm-librenms.sock
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Save the file with CTRL + O and press enter to overwrite the existing file.&lt;br /&gt;
Exit with CTRL + X&lt;/p&gt;
&lt;h2 id=&#34;configure-nginx-web-server&#34;&gt;Configure NGINX Web Server&lt;/h2&gt;
&lt;p&gt;Here we&amp;rsquo;re going to create a new config file:&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;nano /etc/nginx/conf.d/librenms.conf
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Copy and paste the text below remembering to change &lt;code&gt;your-server-ipaddress&lt;/code&gt; to your servers IP address.&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;/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;server {
 listen      80;
 server_name your-server-ipaddress;
 root        /opt/librenms/html;
 index       index.php;

 charset utf-8;
 gzip on;
 gzip_types text/css application/javascript text/javascript application/x-javascript image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon;
 location / {
  try_files $uri $uri/ /index.php?$query_string;
 }
 location ~ [^/]\.php(/|$) {
  fastcgi_pass unix:/run/php-fpm-librenms.sock;
  fastcgi_split_path_info ^(.+\.php)(/.+)$;
  include fastcgi.conf;
 }
 location ~ /\.(?!well-known).* {
  deny all;
 }
}
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Save the file with CTRL + O and press enter to overwrite the existing file.&lt;br /&gt;
Exit with CTRL + X&lt;/p&gt;
&lt;p&gt;Next we&amp;rsquo;re going to delete the default site, and restart the web server and php services:&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;/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;rm /etc/nginx/sites-enabled/default
systemctl restart nginx
systemctl restart php8.1-fpm
&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;enable-lnms-command-completion&#34;&gt;Enable lnms Command Completion&lt;/h2&gt;
&lt;p&gt;This feature grants you the opportunity to use tab for completion on lnms commands as you would for normal linux 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;ln -s /opt/librenms/lnms /usr/bin/lnms
cp /opt/librenms/misc/lnms-completion.bash /etc/bash_completion.d/
&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;configure-snmpd&#34;&gt;Configure snmpd&lt;/h2&gt;
&lt;p&gt;Now we&amp;rsquo;re going to copy the example SNMP config file from the LibreNMS directory and edit it:&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;cp /opt/librenms/snmpd.conf.example /etc/snmp/snmpd.conf
nano /etc/snmp/snmpd.conf
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;You&amp;rsquo;ll need to change the following line to whatever you decide to use as your SNMP community string, by default most devices use &amp;ldquo;public&amp;rdquo;:&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;com2sec readonly  default         RANDOMSTRINGGOESHERE
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;It should look like this when you&amp;rsquo;re done:&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;com2sec readonly  default         public
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Also it may be worth changing the following lines to the appropriate information:&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;syslocation Rack, Room, Building, City, Country [Lat, Lon]
syscontact Your Name &amp;lt;your@e-mail.address&amp;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 you&amp;rsquo;re done it 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;/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;syslocation [The loction information you want to appear in LibreNMS]
syscontact [The name and e-mail address you want to appear in LibreNMS]
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Save the file with CTRL + O and press enter to overwrite the existing file.&lt;br /&gt;
Exit with CTRL + X&lt;/p&gt;
&lt;p&gt;Finally, we can run the commands below (optionally) to make the LibreNMS host server appear as the specific linux device it is and not a generic one.&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-text&#34; data-lang=&#34;text&#34;&gt;curl -o /usr/bin/distro https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/distro
chmod +x /usr/bin/distro
systemctl enable snmpd
systemctl restart snmpd
&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;setting-up-the-cron-job&#34;&gt;Setting Up The Cron Job&lt;/h2&gt;
&lt;p&gt;Use this command to copy the cron job from the LibreNMS files to the system:&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;cp /opt/librenms/dist/librenms.cron /etc/cron.d/librenms
&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;enable-the-scheduler&#34;&gt;Enable The Scheduler&lt;/h2&gt;
&lt;p&gt;Run this command to copy the scheduler service from the LibreNMS files to the system, and then start the scheduler for librenms.&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;/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;cp /opt/librenms/dist/librenms-scheduler.service /opt/librenms/dist/librenms-scheduler.timer /etc/systemd/system/
systemctl enable librenms-scheduler.timer
systemctl start librenms-scheduler.timer
&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;copy-logrotate-config&#34;&gt;Copy logrotate Config&lt;/h2&gt;
&lt;p&gt;LibreNMS keeps logs in /opt/librenms/logs. Over time these can become large and be rotated out. To rotate out the old logs you can use the provided logrotate config file:&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;cp /opt/librenms/misc/librenms.logrotate /etc/logrotate.d/librenms
&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;final-setup&#34;&gt;Final Setup&lt;/h2&gt;
&lt;p&gt;We need to do some final setup tasks. It&amp;rsquo;s time to go to a web browser: &lt;code&gt;http://you-server-ip-address&lt;/code&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click on the blue circles to move the setup process along.&lt;/li&gt;
&lt;li&gt;For &amp;ldquo;Configure Database&amp;rdquo;, fill in the password you set during the MariaDB setup section.&lt;/li&gt;
&lt;li&gt;Click &amp;ldquo;Check Credentials&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Then click &amp;ldquo;Build Database&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Wait for it to complete.&lt;/li&gt;
&lt;li&gt;When it&amp;rsquo;s done, the scrolling text will disappear and you should click on the next blue circle.&lt;/li&gt;
&lt;li&gt;Now we&amp;rsquo;ll create an admin user - the e-mail can be left blank.&lt;/li&gt;
&lt;li&gt;Click on the next blue circle.&lt;/li&gt;
&lt;li&gt;Finish Install - Click on &amp;ldquo;Validate your install&amp;rdquo;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You will likely see some warnings - luckily in this new version of LibreNMS there&amp;rsquo;s an &amp;ldquo;automatically fix&amp;rdquo; button for database issues.&lt;/p&gt;
&lt;p&gt;Once you&amp;rsquo;re run the fixes refresh the validate page &lt;code&gt;http://ip-address/validate&lt;/code&gt;, and the database warnings should be gone.&lt;/p&gt;
&lt;h2 id=&#34;adding-your-first-device&#34;&gt;Adding Your First Device&lt;/h2&gt;
&lt;p&gt;To add the first device:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click on the LibreNMS logo to go to the home page.&lt;/li&gt;
&lt;li&gt;Hover over Devices on the top bar, then click on Add device.&lt;/li&gt;
&lt;li&gt;On the Add Device page, enter the IP of the LibreNMS server and the community string and then click on &amp;ldquo;Add Device&amp;rdquo;. If all goes well it should be added successfully.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;configure-a-dashboard&#34;&gt;Configure a Dashboard&lt;/h2&gt;
&lt;p&gt;The default dashboard is blank, here&amp;rsquo;s how to add some useful widgets to it.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click on the edit icon.&lt;/li&gt;
&lt;li&gt;In the drop down menu &amp;ldquo;Select Widget&amp;rdquo; select &amp;ldquo;Eventlog&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;The widgets can be resized as needed.&lt;/li&gt;
&lt;li&gt;To save the dashboard changes, click on &amp;ldquo;Update&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;To hide the &amp;ldquo;Edit Dashboard Bar&amp;rdquo; hover over &amp;ldquo;Overview&amp;rdquo; then &amp;ldquo;Dashboard&amp;rdquo; then click on &amp;ldquo;Hide Dashboard Editor&amp;rdquo;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;configure-alerts&#34;&gt;Configure Alerts&lt;/h2&gt;
&lt;p&gt;There are many ways that LibreNMS can send alerts, but here I&amp;rsquo;m just going to focus on setting up e-mail alerts.&lt;/p&gt;
&lt;p&gt;First we must create the default alert rules.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Hover over &amp;ldquo;Alerts&amp;rdquo; on the top bar.&lt;/li&gt;
&lt;li&gt;Then click on &amp;ldquo;Alert Rules&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Then click on the big green button to set up the default alert rules.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now we must configure the alert transports.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Hover over &amp;ldquo;Alerts&amp;rdquo; on the top bar&lt;/li&gt;
&lt;li&gt;Then click on &amp;ldquo;Alert Transports&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Click on &amp;ldquo;Create alert transport&amp;rdquo; and name it &amp;ldquo;mail&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Set &amp;ldquo;Transport type&amp;rdquo; to mail.&lt;/li&gt;
&lt;li&gt;Set &amp;ldquo;Default alert&amp;rdquo; to ON.&lt;/li&gt;
&lt;li&gt;Enter the e-mail address that the alerts should be send to.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Next we must configure a transport group.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Still on the Alert Transports page, click on the &amp;ldquo;Create transport group&amp;rdquo; button.&lt;/li&gt;
&lt;li&gt;Enter the group name &amp;ldquo;mail group&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Click on &amp;ldquo;Group Members&amp;rdquo; and the &amp;ldquo;mail&amp;rdquo; transport we created above will show.&lt;/li&gt;
&lt;li&gt;Click on it again, then select &amp;ldquo;Save Transport Group&amp;rdquo;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Finally, we must configure how the e-mails are going to be sent.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Hover over the cog icon in the top right hand corner and click on &amp;ldquo;Global Settings&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Then click on the &amp;ldquo;Alerting&amp;rdquo; tab, and e-mail options.&lt;/li&gt;
&lt;li&gt;Here you can enter the details for the SMTP server to use to sent the e-mails from. It supports Office 365, G-Suite and on-premise Microsoft Exchange servers.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;installing-and-configuring-snmp-on-windows-servers&#34;&gt;Installing and Configuring SNMP on Windows Servers&lt;/h2&gt;
&lt;p&gt;Open an elevated PowerShell console and run the following 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;Install-WindowsFeature&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;SNMP-Service&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;Once SNMP is installed, the community and permitted managers will need to be configured. There are a multitude of ways to do this but for a group of domian joined servers the best way is by using group policy.&lt;/p&gt;
&lt;h3 id=&#34;group-policy&#34;&gt;Group Policy&lt;/h3&gt;
&lt;p&gt;Either create or edit an existing Group Policy Object and navigate to&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Computer Configuration/Administrative Templates/Network/SNMP&lt;/code&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;To specify the community string, use the &amp;ldquo;Specify communities&amp;rdquo; policy.&lt;/li&gt;
&lt;li&gt;Set it to &amp;ldquo;Enabled&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Click the &amp;ldquo;Show&amp;rdquo; button in the options to set one or more community strings.&lt;/li&gt;
&lt;li&gt;Use the &amp;ldquo;Specify permitted managers&amp;rdquo; policy to set which servers should have access to SNMP.&lt;/li&gt;
&lt;li&gt;Set it to &amp;ldquo;Enabled&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Click the &amp;ldquo;Show&amp;rdquo; button in the options and enter the IP address of the LibreNMS server.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Attach the GPO to the OU containing the servers you want to have SNMP configured and once group policy refreshes you should be able to add your Windows Servers as devices to monitor in the same way you did for the LibreNMS server.&lt;/p&gt;
&lt;h3 id=&#34;registry-edits&#34;&gt;Registry Edits&lt;/h3&gt;
&lt;p&gt;Navigate to or create the following path in regedit:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SNMP\Parameters\ValidCommunities&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Create a new &amp;ldquo;String Value&amp;rdquo; and name it &amp;ldquo;1&amp;rdquo; and then enter the name of the community string.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SNMP\Parameters\PermittedManagers&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Create a new &amp;ldquo;String Value&amp;rdquo; and name it &amp;ldquo;1&amp;rdquo; and enter the IP address of the LibreNMS server.&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>
        
        <media:content url="https://gal.vin//media/2022/librenms.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Guide</category>
            
          
            
              <category>LibreNMS</category>
            
          
            
              <category>Ubuntu Server</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>MDT Setup Script Update</title>
        <link>https://gal.vin/posts/2023/mdt-setup-script-update/</link>
        <pubDate>Sun, 02 Jul 2023 19:04:58 +0100</pubDate>
        
        <atom:modified>Sun, 02 Jul 2023 19:04:58 +0100</atom:modified>
        <guid>https://gal.vin/posts/2023/mdt-setup-script-update/</guid>
        <description>I&amp;rsquo;ve updated MDT Setup to support the latest Windows ADK and WinPE Add-on. The fixes are provided from metisit.com who has done a phenomenal amount of work digging into all the changes that the recent version of the Windows ADK brings. Please note that my script only makes changes to MDT and not WDS or Windows server.
For the full change log and more information, visit the home page for MDT Setup.</description>
        <content:encoded>&lt;p&gt;I&amp;rsquo;ve updated MDT Setup to support the latest Windows ADK and WinPE Add-on. The fixes are provided from &lt;a href=&#34;https://metisit.com/blog/microsoft-deployment-toolkit-mdt-configuration-with-unforeseen-challenges&#34;&gt;metisit.com&lt;/a&gt; who has done a phenomenal amount of work digging into all the changes that the recent version of the Windows ADK brings. Please note that my script only makes changes to MDT and not WDS or Windows server.&lt;/p&gt;
&lt;p&gt;For the full change log and more information, &lt;a href=&#34;https://gal.vin/utils/mdt-setup/&#34;&gt;visit the home page for MDT Setup.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;MDT-Setup is available from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/MDT-Setup&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/MDT-Setup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&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;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>Windows Deployment</category>
            
          
            
              <category>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Installing and Configuring Domain Controllers with Windows Server Core</title>
        <link>https://gal.vin/domain-controller-windows-server-core-walkthrough/</link>
        <pubDate>Mon, 20 Mar 2023 17:00:00 +0000</pubDate>
        
        <atom:modified>Mon, 20 Mar 2023 17:00:00 +0000</atom:modified>
        <guid>https://gal.vin/domain-controller-windows-server-core-walkthrough/</guid>
        <description>Windows Server Core is an ideal choice for Active Directory Domain Controllers due to it&amp;rsquo;s low resource usage and greatly reduced attack surface. In this post I&amp;rsquo;ll go through the initial steps on how to deploy a new Active Directory forest and add an additional Domain Controller to the domain, and finally I&amp;rsquo;ll run some basic checks on the health of the domain after installation. This guide is also suitable for regular GUI Windows Server installations.</description>
        <content:encoded>&lt;p&gt;Windows Server Core is an ideal choice for Active Directory Domain Controllers due to it&amp;rsquo;s low resource usage and greatly reduced attack surface. In this post I&amp;rsquo;ll go through the initial steps on how to deploy a new Active Directory forest and add an additional Domain Controller to the domain, and finally I&amp;rsquo;ll run some basic checks on the health of the domain after installation. This guide is also suitable for regular GUI Windows Server installations.&lt;/p&gt;
&lt;h2 id=&#34;installing-windows-server-core&#34;&gt;Installing Windows Server Core&lt;/h2&gt;
&lt;p&gt;Boot the server from the Windows Server media and on the &amp;ldquo;Select the Operating System you want to install&amp;rdquo; screen, select the option &amp;ldquo;Windows Server Standard&amp;rdquo; or &amp;ldquo;Datacenter&amp;rdquo; edition. The other options with &amp;ldquo;Desktop Experience&amp;rdquo; in brackets are the options for the other server editions with a GUI also installed.&lt;/p&gt;
&lt;p&gt;Please note: You can no longer add and remove the GUI (Desktop Experience) with Windows Server 2016 as you could with Windows Server 2012 &amp;amp; 2012 R2. This is due to numerous problems with keeping the installation and removal process consistent with updates. With Windows Server 2016, the only way to add or remove the GUI is to re-install and select one of the server editions with the &amp;ldquo;Desktop Experience&amp;rdquo; option.&lt;/p&gt;
&lt;h2 id=&#34;initial-configuration&#34;&gt;Initial Configuration&lt;/h2&gt;
&lt;p&gt;Once the install process has completed, you will be prompted with a command line window, and asked to set the Administrator password.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Set the Administrator password.&lt;/li&gt;
&lt;li&gt;Type &lt;code&gt;sconfig&lt;/code&gt; to get the Server Configuration menu. It&amp;rsquo;s pretty straight forward. In the Server Configuration menu, you can configure all the basics required for the server.&lt;/li&gt;
&lt;li&gt;For the first Domain Controller in the new forest, you&amp;rsquo;ll need to configure at least the Network Settings - IP address, subnet mask, gateway, and DNS.&lt;/li&gt;
&lt;li&gt;You may also want to configure the computer name. Configuring the computer name will require a restart.&lt;/li&gt;
&lt;li&gt;After the restart, log in to the server with the Administrator password you set in step 1.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Tip: &amp;ldquo;sconfig&amp;rdquo; is also present in the GUI version of Windows Server, making initial configuration of new servers easier.&lt;/p&gt;
&lt;h2 id=&#34;additional-storage-configuration&#34;&gt;Additional Storage Configuration&lt;/h2&gt;
&lt;p&gt;You may want to configure additional locally attached disks or iSCSI/MPIO storage. Creating new volumes that are locally attached can be done via the &lt;code&gt;diskpart&lt;/code&gt; command line tool. Here&amp;rsquo;s the series of commands to create a new, NTFS formatted volume, with the drive letter of &lt;code&gt;E:\&lt;/code&gt; and the name &amp;ldquo;Data&amp;rdquo;, from a second disk in the server using the &lt;code&gt;diskpart&lt;/code&gt; tool. First, run &lt;code&gt;diskpart&lt;/code&gt; from the command line, then use 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;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;list disk
select disk 1
online disk
attributes disk clear readonly
clean
convert mbr -or gpt
create partition primary
select part 1
active
format fs=ntfs label=Data quick
assign letter E:
list volume
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;iSCSI storage can be configured using the same GUI tools you would use in the GUI version of Windows Server. The MPIO feature must be installed before the tool is available. You can do this via PowerShell:&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;Install-WindowsFeature&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;Multipath-IO&amp;#39;&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 MPIO is installed you can load the MPIO utility using &lt;code&gt;mpiocpl&lt;/code&gt;. For the iSCSI utility you can use &lt;code&gt;iscsicpl&lt;/code&gt;. iSCSI is installed as part of the base Windows Server feature set.&lt;/p&gt;
&lt;h2 id=&#34;install-active-directory-domain-services&#34;&gt;Install Active Directory Domain Services&lt;/h2&gt;
&lt;p&gt;Now we&amp;rsquo;ll install Active Directory Domain Services, and create the first Domain Controller for a new forest.&lt;/p&gt;
&lt;p&gt;The following PowerShell command will install the Active Directory Domain Services binaries, but will not make the server a Domain Controller:&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;Install-WindowsFeature&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;AD-Domain-Services&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-IncludeManagementTools&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;Once the binaries have been installed, now the forest can be created and the server can become a Domain Controller:&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;Install-ADDSForest&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-DomainName&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;contoso&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;com&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;If you&amp;rsquo;d like to configure the path of where the AD database, AD logs, and the SYSVOL are stored, then run the following 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;Install-ADDSForest&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-DomainName&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;contoso&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;com&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-DatabasePath&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;E:\AD\DB&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-LogPath&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;E:\AD\Log&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-SysvolPath&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;E:\AD\SYSVOL&amp;#34;&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;As part of the install process you&amp;rsquo;ll be asked to set the &amp;ldquo;safe mode administrator password&amp;rdquo; - this is also known as the &amp;ldquo;Directory Services Restore Mode (DSRM) password&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Once the install process completes, you&amp;rsquo;ll be prompted for a restart, and after restarting  you&amp;rsquo;ll have the first Domain Controller for a new forest.&lt;/p&gt;
&lt;h2 id=&#34;adding-an-additional-domain-controller-to-an-existing-domain&#34;&gt;Adding an Additional Domain Controller To An Existing Domain&lt;/h2&gt;
&lt;p&gt;To add an additional Domain Controller to a domain, first install Windows Server Core as detailed above, configure the network settings and any extra storage you require.&lt;/p&gt;
&lt;p&gt;Add the server to the existing domain that you want to create an additional Domain Controller for and log in as a user with domain admin privileges for that domain.&lt;/p&gt;
&lt;p&gt;Install the Active Directory Domain Services binaries by running the following command in PowerShell:&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;Install-WindowsFeature&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;AD-Domain-Services&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-IncludeManagementTools&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 promote the server to a Domain Controller, run the following 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;Install-ADDSDomainController&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-DomainName&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;contoso.com&amp;#34;&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;If you&amp;rsquo;d like to configure the path of where the AD database, AD logs, and the SYSVOL are stored, then run the following 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;Install-ADDSDomainController&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-DomainName&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;contoso.com&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-DatabasePath&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;E:\AD\DB&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-LogPath&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;E:\AD\Log&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-SysvolPath&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;E:\AD\SYSVOL&amp;#34;&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;As part of the install process you&amp;rsquo;ll be asked to set the &amp;ldquo;safe mode administrator password&amp;rdquo; - this is also known as the &amp;ldquo;Directory Services Restore Mode (DSRM) password&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Once the install process completes, you&amp;rsquo;ll be prompted for a restart, and after restarting  you&amp;rsquo;ll have another Domain Controller for the domain.&lt;/p&gt;
&lt;h2 id=&#34;post-install-health-check&#34;&gt;Post Install Health Check&lt;/h2&gt;
&lt;p&gt;To check the health of the Domain Controller, you can use the &lt;code&gt;dcdiag&lt;/code&gt; tool. To direct the output to a TXT file and read it with &lt;code&gt;notepad&lt;/code&gt; run the following from the command line:&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;dcdiag &amp;gt;C:\dctest.txt
notepad C:\dctest.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;You may have a problem with the first Domain Controller for a forest not advertising itself as a time server. If you experience this issue, try the following commands to fix the issue:&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-text&#34; data-lang=&#34;text&#34;&gt;net stop w32time
w32tm /unregister
w32tm /register
net start w32time
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Run &lt;code&gt;dcdiag&lt;/code&gt; once again and the problem should be resolved. One potential problem to look out for with Active Directory is DNS. You can configure &lt;code&gt;dcdiag&lt;/code&gt; to run a DNS specific test:&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;dcdiag /test:dns
&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;final-tasks&#34;&gt;Final Tasks&lt;/h2&gt;
&lt;p&gt;You may want to revisit the Server Configuration tool &amp;ldquo;sconfig&amp;rdquo; and do some final configuration tasks like enable Remote Desktop or configure Windows Updates. To administer Active Directory using the GUI management consoles, add a PC or VM with a recent version of Windows 10 to the domain, and install the &lt;a href=&#34;https://www.microsoft.com/en-gb/download/details.aspx?id=45520&#34;&gt;Remote Server Administration Tools (RSAT) for Windows 10&lt;/a&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;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Active Directory</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows Server</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Installing and Configuring Windows Server Update Services (WSUS) with Windows Server Core</title>
        <link>https://gal.vin/wsus-windows-server-core-walkthrough/</link>
        <pubDate>Mon, 20 Mar 2023 17:00:00 +0000</pubDate>
        
        <atom:modified>Mon, 20 Mar 2023 17:00:00 +0000</atom:modified>
        <guid>https://gal.vin/wsus-windows-server-core-walkthrough/</guid>
        <description>Windows Server Update Services (WSUS) can use a lot of resources, so why not use Windows Server Core and make the most of the resources you have. In this post I&amp;rsquo;ll go through the initial steps on how to deploy and configure a WSUS server using command line and PowerShell. This guide is also suitable for regular GUI Windows Server installations.
Installing Windows Server Core Boot the server from the Windows Server media and on the &amp;ldquo;Select the Operating System you want to install&amp;rdquo; screen, select the option &amp;ldquo;Windows Server Standard&amp;rdquo; or &amp;ldquo;Datacenter&amp;rdquo; edition.</description>
        <content:encoded>&lt;p&gt;Windows Server Update Services (WSUS) can use a lot of resources, so why not use Windows Server Core and make the most of the resources you have. In this post I&amp;rsquo;ll go through the initial steps on how to deploy and configure a WSUS server using command line and PowerShell. This guide is also suitable for regular GUI Windows Server installations.&lt;/p&gt;
&lt;h2 id=&#34;installing-windows-server-core&#34;&gt;Installing Windows Server Core&lt;/h2&gt;
&lt;p&gt;Boot the server from the Windows Server media and on the &amp;ldquo;Select the Operating System you want to install&amp;rdquo; screen, select the option &amp;ldquo;Windows Server Standard&amp;rdquo; or &amp;ldquo;Datacenter&amp;rdquo; edition. The other options with &amp;ldquo;Desktop Experience&amp;rdquo; in brackets are the options for the other server editions with a GUI also installed.&lt;/p&gt;
&lt;p&gt;Please note: You can no longer add and remove the GUI (Desktop Experience) with Windows Server 2016 as you could with Windows Server 2012 &amp;amp; 2012 R2. This is due to numerous problems with keeping the installation and removal process consistent with updates. With Windows Server 2016, the only way to add or remove the GUI is to re-install and select one of the server editions with the &amp;ldquo;Desktop Experience&amp;rdquo; option.&lt;/p&gt;
&lt;h2 id=&#34;initial-configuration&#34;&gt;Initial Configuration&lt;/h2&gt;
&lt;p&gt;Once the install process has completed, you will be prompted with a command line window, and asked to set the Administrator password.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Set the Administrator password.&lt;/li&gt;
&lt;li&gt;Type &lt;code&gt;sconfig&lt;/code&gt; to get the Server Configuration menu. It&amp;rsquo;s pretty straight forward. In the Server Configuration menu, you can configure all the basics required for the server.&lt;/li&gt;
&lt;li&gt;For the first Domain Controller in the new forest, you&amp;rsquo;ll need to configure at least the Network Settings - IP address, subnet mask, gateway, and DNS.&lt;/li&gt;
&lt;li&gt;You may also want to configure the computer name. Configuring the computer name will require a restart.&lt;/li&gt;
&lt;li&gt;After the restart, log in to the server with the Administrator password you set in step 1.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Tip: &amp;ldquo;sconfig&amp;rdquo; is also present in the GUI version of Windows Server, making initial configuration of new servers easier.&lt;/p&gt;
&lt;h2 id=&#34;additional-storage-configuration&#34;&gt;Additional Storage Configuration&lt;/h2&gt;
&lt;p&gt;You may want to configure additional locally attached disks or iSCSI/MPIO storage. Creating new volumes that are locally attached can be done via the &lt;code&gt;diskpart&lt;/code&gt; command line tool. Here&amp;rsquo;s the series of commands to create a new, NTFS formatted volume, with the drive letter of &lt;code&gt;E:\&lt;/code&gt; and the name &amp;ldquo;Data&amp;rdquo;, from a second disk in the server using the &lt;code&gt;diskpart&lt;/code&gt; tool. First, run &lt;code&gt;diskpart&lt;/code&gt; from the command line, then use 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;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;list disk
select disk 1
online disk
attributes disk clear readonly
clean
convert mbr -or gpt
create partition primary
select part 1
active
format fs=ntfs label=Data quick
assign letter E:
list volume
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;iSCSI storage can be configured using the same GUI tools you would use in the GUI version of Windows Server. The MPIO feature must be installed before the tool is available. You can do this via PowerShell:&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;Install-WindowsFeature&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;Multipath-IO&amp;#39;&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 MPIO is installed you can load the MPIO utility using &lt;code&gt;mpiocpl&lt;/code&gt;. For the iSCSI utility you can use &lt;code&gt;iscsicpl&lt;/code&gt;. iSCSI is installed as part of the base Windows Server feature set.&lt;/p&gt;
&lt;h2 id=&#34;install-windows-server-update-services-wsus&#34;&gt;Install Windows Server Update Services (WSUS)&lt;/h2&gt;
&lt;p&gt;The following PowerShell command will install the WSUS feature:&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;Install-WindowsFeature&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;UpdateServices&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-IncludeManagementTools&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;Now we need to run some post install tasks. We&amp;rsquo;ll create a directory for the WSUS content on the &lt;code&gt;E:\&lt;/code&gt; drive.&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;MD &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;E:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;WSUS_Content&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 configure WSUS to use the directory we just created and the Windows Internal Database (WID is based on SQL Express), run the following 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;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-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;CD &lt;/span&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;C:\Program Files\Update Services\Tools&amp;#34;&lt;/span&gt;
&lt;span class=&#34;p&#34;&gt;.\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;wsusutil&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;exe&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;postinstall&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;CONTENT_DIR&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;E:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;WSUS_Content&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;Alternatively you might want to use an external SQL server for the WSUS database, if so run the following command instead:&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-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;CD &lt;/span&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;C:\Program Files\Update Services\Tools&amp;#34;&lt;/span&gt;
&lt;span class=&#34;p&#34;&gt;.\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;wsusutil&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;exe&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;postinstall&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;SQL_INSTANCE_NAME&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;SQLSERVER\SQLINSTANCE&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;CONTENT_DIR&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;E:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;WSUS_Content&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;WSUS is now running and able to be configured further. This is possible with PowerShell, but not as straightforward as the installation above so we&amp;rsquo;ll be using the WSUS MMC on a remote computer or on the server itself if you installed Windows Server with the Desktop Experience.&lt;/p&gt;
&lt;p&gt;To obtain the WSUS MMC on a remote computer we&amp;rsquo;ll need to install the Remote Server Administration tools (RSAT), 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;To view WSUS reports you&amp;rsquo;ll also need to download and install the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.microsoft.com/en-gb/download/details.aspx?id=35747&#34;&gt;Microsoft Report Viewer 2012 Runtime redistributable&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Microsoft System CLR Types for Microsoft SQL Server 2012: &lt;a href=&#34;http://go.microsoft.com/fwlink/?LinkID=239644&amp;amp;clcid=0x409&#34;&gt;x64 version&lt;/a&gt;, &lt;a href=&#34;http://go.microsoft.com/fwlink/?LinkID=239643&amp;amp;clcid=0x409&#34;&gt;x86 version&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In case the links to Microsoft System CLR Types fail in future, here is the main &lt;a href=&#34;https://www.microsoft.com/en-gb/download/details.aspx?id=29065&#34;&gt;download page link&lt;/a&gt;. This page links to components from the Microsoft SQL Server 2012 Feature Pack, you need to go to the Install Instructions section and download the specific component you need.&lt;/p&gt;
&lt;h2 id=&#34;configuring-windows-server-update-services&#34;&gt;Configuring Windows Server Update Services&lt;/h2&gt;
&lt;p&gt;Once you have downloaded and installed all the software listed above on our admin PC, you can continue with the configuration.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the Windows Service Update Services Microsoft Management Console (WSUS MMC).&lt;/li&gt;
&lt;li&gt;You should see a &amp;ldquo;Before You Begin&amp;rdquo; wizard. Click Next.&lt;/li&gt;
&lt;li&gt;Join the Microsoft Update Improvement Program if you wish.&lt;/li&gt;
&lt;li&gt;Choose Upstream server, as this is the first WSUS server we&amp;rsquo;ll choose &amp;ldquo;Synchronize from Microsoft Update&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Specify the Proxy Server settings if needed.&lt;/li&gt;
&lt;li&gt;Click &amp;ldquo;Start Connecting&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Select the applicable languages for our environment.&lt;/li&gt;
&lt;li&gt;Select the applicable Products. I recommend selecting all products as we&amp;rsquo;ll only be downloading updates that we actually need.&lt;/li&gt;
&lt;li&gt;Select the Classifications. I recommend selecting all except Drivers and Driver Sets. Drivers in WSUS increase the size of the database immensely.&lt;/li&gt;
&lt;li&gt;Configure the Sync Schedule. I recommend leaving  this on manual until setup and synchronisation has been completed.&lt;/li&gt;
&lt;li&gt;Check the Begin initial synchronization box. This may also take a while.&lt;/li&gt;
&lt;li&gt;Click Finish.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Once the initial configuration is complete, now we can start to configure WSUS for every day operation.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the WSUS MMC go to the Options node.&lt;/li&gt;
&lt;li&gt;Setup a Synchronization Schedule. I recommend once or twice a day, out of regular hours. Click OK.&lt;/li&gt;
&lt;li&gt;Go to Automatic Approvals.&lt;/li&gt;
&lt;li&gt;There&amp;rsquo;s a built-in rule to automatically approve Critical and Security updates, meaning that they will be downloaded and distributed via WSUS without any admin interaction. I recommend enabling this, but don&amp;rsquo;t run the rule.&lt;/li&gt;
&lt;li&gt;You may also want to add a rule for Definition Updates from Exchange, Office, and Windows Defender if applicable to you. Click OK.&lt;/li&gt;
&lt;li&gt;Now go to Computers.&lt;/li&gt;
&lt;li&gt;Set the option here to Use Group Policy or registry settings on computers and click OK.&lt;/li&gt;
&lt;li&gt;Go to E-Mail notifications and enable them if you want status reports and Emails about the new updates that have been synchronised. Click OK.&lt;/li&gt;
&lt;li&gt;In the WSUS MMC, go to the Computers node.&lt;/li&gt;
&lt;li&gt;Create the computer groups that you require here. I recommend a &amp;lsquo;pilot&amp;rsquo; group and a &amp;lsquo;regular&amp;rsquo; group both for client devices and servers.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;configuring-group-policy&#34;&gt;Configuring Group Policy&lt;/h2&gt;
&lt;p&gt;To enable our clients to get updates from WSUS using the settings above, you&amp;rsquo;ll need to configure the group policy for them.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the Group Policy Management MMC and go to the Group Policy Objects node.&lt;/li&gt;
&lt;li&gt;Right click on the node and select New to create a new GPO for WSUS. Give it a name and click OK.&lt;/li&gt;
&lt;li&gt;Right click on the new GPO and click Edit to open it.&lt;/li&gt;
&lt;li&gt;Navigate to &lt;code&gt;Computer Configuration/Policies/Administrative Templates/Windows Components/Windows Update/Manage updates offered from Windows Server Update Service&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Go to the setting &amp;ldquo;Specify intranet Microsoft update service location&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;We&amp;rsquo;ll configure both &amp;ldquo;Set the intranet update service for detecting updates&amp;rdquo; and &amp;ldquo;Set the intranet statistics server&amp;rdquo; to &lt;code&gt;http://wsus-server-name.contoso.com:8530&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Go to &amp;ldquo;Enable client-side targeting&amp;rdquo; and enter the name of a group that you created in WSUS.&lt;/li&gt;
&lt;li&gt;For multiple groups, repeat steps 2 - 7 for each group.&lt;/li&gt;
&lt;li&gt;You can use Active Directory Security Groups to control which client devices have read access to the GPO with the desired WSUS group configuration.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;There are lots of other settings in GPO to configure Windows Update that I recommend taking a look, specifically &amp;ldquo;Configure Automatic Updates&amp;rdquo; located in &lt;code&gt;Computer Configuration/Policies/Administrative Templates/Windows Components/Windows Update/Manage end user experience&lt;/code&gt; which controls when client devices install updates.&lt;/p&gt;
&lt;h2 id=&#34;managing-updates&#34;&gt;Managing Updates&lt;/h2&gt;
&lt;p&gt;After some time (approximately 24 hours) our client devices should have contacted the WSUS server and be in the correct group. Now we need to approve the updates required for our environment.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;On the overview of our WSUS server, click on &amp;ldquo;Updates needed by computers&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Change the drop down menu &amp;ldquo;Approval&amp;rdquo; to &amp;ldquo;Unapproved&amp;rdquo; and click &amp;ldquo;Refresh&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Right-click on the Title bar and enable the &amp;ldquo;Supersedence&amp;rdquo; column.&lt;/li&gt;
&lt;li&gt;Click on the very tiny &amp;ldquo;Supersedence&amp;rdquo; column to sort the updates by Supersedence.&lt;/li&gt;
&lt;li&gt;Approve the top critical, security and any other updates you want to be installed on our devices.&lt;/li&gt;
&lt;li&gt;Once the devices have downloaded, installed, and reported back to the WSUS server, we&amp;rsquo;ll have a better idea if any more updates are required.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;maintenance-and-troubleshooting&#34;&gt;Maintenance and Troubleshooting&lt;/h2&gt;
&lt;p&gt;Keeping WSUS running over time requires some maintenance. I created a custom PowerShell script that runs every day to perform the maintenance on the database. More specifically it declines and deletes old updates, and old computers. It can also send a notification over e-mail or a webhook with information about it&amp;rsquo;s clean up run. I&amp;rsquo;ve &lt;a href=&#34;https://gal.vin/utils/wsus-maint-utility/&#34;&gt;posted about it here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can also clean up the WSUS database manually using the &amp;ldquo;Server Cleanup Wizard&amp;rdquo; found in Options. You can also run this via PowerShell:&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-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Get-WsusServer&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Wsus-Server-Name&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-PortNumber&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;8530&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Get-WsusServer&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;Invoke-WsusServerCleanup&lt;/span&gt; &lt;span class=&#34;err&#34;&gt;–&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;CleanupObsoleteUpdates&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-CleanupUnneededContentFiles&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-CompressUpdates&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-DeclineExpiredUpdates&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-DeclineSupersededUpdates&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;You may encounter an error when trying to connect to the WSUS server using the MMC - Error: Unexpected Error, appears as Event ID 7053 in Event Viewer.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://gal.vin/media/wsus-error.webp&#34; alt=&#34;WSUS Unexpected Error&#34; /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve known this error to occur frequently. One fix is to navigate to &lt;code&gt;%appdata%\Microsoft\MMC&lt;/code&gt; and delete the &lt;code&gt;wsus&lt;/code&gt; file and then try connecting again.&lt;/p&gt;
&lt;h3 id=&#34;iis-configuration&#34;&gt;IIS Configuration&lt;/h3&gt;
&lt;p&gt;I highly recommend configuring these IIS AppPool settings relating to WSUS. In an elevated PowerShell session run 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;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;/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;Import-Module&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;WebAdministration&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Set-ItemProperty&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Path&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;IIS&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;AppPools&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;WsusPool&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;queueLength&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;25000&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Set-ItemProperty&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Path&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;IIS&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;AppPools&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;WsusPool&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;cpu&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;resetInterval&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;00.00:15:00&amp;#34;&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Set-ItemProperty&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Path&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;IIS&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;AppPools&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;WsusPool&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;processModel&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;idleTimeout&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;00.00:00:00&amp;#34;&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Set-ItemProperty&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Path&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;IIS&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;AppPools&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;WsusPool&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;failure&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;loadBalancerCapabilities&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;TcpLevel&amp;#34;&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Set-ItemProperty&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Path&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;IIS&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;AppPools&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;WsusPool&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;recycling&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;periodicRestart&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;privateMemory&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;0&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Set-ItemProperty&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Path&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;IIS&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;AppPools&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;WsusPool&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;recycling&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;periodicRestart&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;time&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Value&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;00.00:00:00&amp;#34;&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;In the IIS Manager these PowerShell commands change the following values:&lt;/p&gt;
&lt;p&gt;WSUS -&amp;gt; Application Pools -&amp;gt; WsusPool -&amp;gt; Advanced Settings&lt;/p&gt;
&lt;p&gt;General:&lt;br /&gt;
Queue Length: 25000&lt;/p&gt;
&lt;p&gt;CPU:&lt;br /&gt;
Limit Interval (minutes): 15&lt;/p&gt;
&lt;p&gt;Process Model:&lt;br /&gt;
Idle Time-out (minutes): 0&lt;/p&gt;
&lt;p&gt;Rapid-Fail Protection:&lt;br /&gt;
&amp;ldquo;Service Unavailable&amp;rdquo; Response: TcpLevel&lt;/p&gt;
&lt;p&gt;Recycling:&lt;br /&gt;
Private Memory Limit (KB): 0&lt;br /&gt;
Regular Time Interval (minutes): 0&lt;/p&gt;
&lt;p&gt;Finally, you can also try the following command, if needed:&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-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;CD &lt;/span&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;C:\Program Files\Update Services\Tools&amp;#34;&lt;/span&gt;
&lt;span class=&#34;p&#34;&gt;.\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;wsusutil&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;exe&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;postinstall&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;servicing&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;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Guide</category>
            
          
            
              <category>Windows Server</category>
            
          
            
              <category>WSUS</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Open NAT for Gaming with pfSense</title>
        <link>https://gal.vin/posts/2023/pfsense-gaming/</link>
        <pubDate>Tue, 31 Jan 2023 23:00:00 +0000</pubDate>
        
        <atom:modified>Tue, 31 Jan 2023 23:00:00 +0000</atom:modified>
        <guid>https://gal.vin/posts/2023/pfsense-gaming/</guid>
        <description>If you use pfSense as your router and you&amp;rsquo;ve open the ports for certain games or gaming services and you still get &amp;ldquo;closed network&amp;rdquo; errors - even if only sporadically, then this may be the solution for you (it worked for me).
The problem seems to be due to pfSense randomizing ports, so you get the &amp;ldquo;closed network&amp;rdquo; error. In the case of some games (e.g. Warframe) you&amp;rsquo;ll have open NAT sometimes and other times, you won&amp;rsquo;t.</description>
        <content:encoded>&lt;p&gt;If you use pfSense as your router and you&amp;rsquo;ve open the ports for certain games or gaming services and you still get &amp;ldquo;closed network&amp;rdquo; errors - even if only sporadically, then this may be the solution for you (it worked for me).&lt;/p&gt;
&lt;p&gt;The problem seems to be due to pfSense randomizing ports, so you get the &amp;ldquo;closed network&amp;rdquo; error. In the case of some games (e.g. Warframe) you&amp;rsquo;ll have open NAT sometimes and other times, you won&amp;rsquo;t.&lt;/p&gt;
&lt;p&gt;The Quick Fix:&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m assuming that you&amp;rsquo;ve already created Port Forwarding Rules for the games and services you want to use in pfSense. If not, you&amp;rsquo;ll still need to do that.&lt;/p&gt;
&lt;p&gt;In the pfSense web GUI go to: &lt;code&gt;Firewall / NAT / Outbound&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Set the Outbound NAT Mode to: &lt;code&gt;Hybrid NAT Rule Generation&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Under Mappings on the same page, create mappings for the gaming devices, consoles/PCs that you want to use.&lt;/p&gt;
&lt;p&gt;Interface: WAN&lt;br /&gt;
Protocol: Any&lt;br /&gt;
Source: Network - device IP, leave port blank.&lt;br /&gt;
Destination: Any, leave all blank.&lt;/p&gt;
&lt;p&gt;Translation Section&lt;br /&gt;
Address: Interface Address&lt;/p&gt;
&lt;p&gt;Port or Range: blank - Make sure &lt;code&gt;Static Port&lt;/code&gt; is ticked - this is key.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://gal.vin/media/2023/outb-nat.webp&#34; alt=&#34;Outbound NAT Mapping&#34; /&gt;&lt;/p&gt;
&lt;p&gt;That&amp;rsquo;s it, you should now get consistent &amp;ldquo;Open NAT&amp;rdquo; for your games.&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;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        <media:content url="https://gal.vin//media/2023/pfsense.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>pfSense</category>
            
          
            
              <category>Guide</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Setting a Static IP Address on Ubuntu Server 24.04/22.04 LTS</title>
        <link>https://gal.vin/posts/2023/ubuntu-static-ip/</link>
        <pubDate>Thu, 26 Jan 2023 17:00:00 +0000</pubDate>
        
        <atom:modified>Thu, 26 Jan 2023 17:00:00 +0000</atom:modified>
        <guid>https://gal.vin/posts/2023/ubuntu-static-ip/</guid>
        <description>Ubuntu Server 24.04/22.04 LTS uses a utility called &amp;lsquo;netplan&amp;rsquo; for networking. To set a static IP we need to edit the config file.
In the terminal, go to the netplan config file location:
1  cd /etc/netplan/   The file should be called 00-installer-config.yaml if it doesn&amp;rsquo;t exist then the following will create it. We need to run a text editor, in this case, nano as root so we can make changes to it.</description>
        <content:encoded>&lt;p&gt;Ubuntu Server 24.04/22.04 LTS uses a utility called &amp;lsquo;netplan&amp;rsquo; for networking. To set a static IP we need to edit the config file.&lt;/p&gt;
&lt;p&gt;In the terminal, go to the netplan config file 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;/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;cd /etc/netplan/
&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 file should be called &lt;code&gt;00-installer-config.yaml&lt;/code&gt; if it doesn&amp;rsquo;t exist then the following will create it. We need to run a text editor, in this case, nano as root so we can make changes to it.&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;sudo nano /etc/netplan/00-installer-config.yaml
&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 static IP config 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;network:
  renderer: networkd
  ethernets:
    eth0:
      addresses:
        - 192.168.10.5/24
      nameservers:
        addresses: [1.1.1.1,8.8.8.8]
      routes:
        - to: default
          via: 192.168.1.253
  version: 2
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;eth0:&lt;/code&gt; is the name of my network interface - yours may differ.&lt;/li&gt;
&lt;li&gt;Under &lt;code&gt;addresses:&lt;/code&gt; is the static IP to set, you&amp;rsquo;ll need to use CIDR notation, so &lt;code&gt;/24&lt;/code&gt; is &lt;code&gt;255.255.255.0&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;DNS servers are configured under &lt;code&gt;nameservers:&lt;/code&gt; multiple servers should be command separated.&lt;/li&gt;
&lt;li&gt;The default gateway is set under &lt;code&gt;routes:&lt;/code&gt; and &lt;code&gt;- to: default&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Save the file with CTRL + O and press enter to overwrite the existing file.&lt;br /&gt;
Exit with CTRL + X&lt;/p&gt;
&lt;p&gt;Run the following command to set the permissions for the config file:&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;sudo chmod 0600 /etc/netplan/00-installer-config.yaml
&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 apply the changes run the following 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-text&#34; data-lang=&#34;text&#34;&gt;sudo netplan apply
&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 confirm the settings, run the following to see the current IP:&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;ip addr show eth0
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Run the following to see the default gateway:&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;ip route show
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Run the following command to see the DNS servers being used:&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;resolvectl status
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;And now you know, and knowing is half the battle.&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>
        
        <media:content url="https://gal.vin//media/2023/ubuntu.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Ubuntu Server</category>
            
          
            
              <category>Guide</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Hyper-V Backup Utility - Update 23.01.09</title>
        <link>https://gal.vin/posts/2023/hv-bu-v230109/</link>
        <pubDate>Sun, 08 Jan 2023 21:07:32 +0000</pubDate>
        
        <atom:modified>Sun, 08 Jan 2023 21:07:32 +0000</atom:modified>
        <guid>https://gal.vin/posts/2023/hv-bu-v230109/</guid>
        <description>Flexible Hyper-V Backup Utility Many thanks to everyone who has donated, sent me messages about bugs and suggestions for improvements. Your continued feedback is greatly appreciated!
This is a big update with many substantial changes to the code. I have tested it extensively but if a bug has slipped through please do not hesitate to contact me or open an issue on github.
Update Summary  The code has been refactored in many places and now uses functions for a lot of core operations which help greatly in maintaining it.</description>
        <content:encoded>&lt;h2 id=&#34;flexible-hyper-v-backup-utility&#34;&gt;Flexible Hyper-V Backup Utility&lt;/h2&gt;
&lt;p&gt;Many thanks to everyone who has donated, sent me messages about bugs and suggestions for improvements. Your continued feedback is greatly appreciated!&lt;/p&gt;
&lt;p&gt;This is a big update with many substantial changes to the code. I have tested it extensively but if a bug has slipped through please do not hesitate to contact me or open an issue on github.&lt;/p&gt;
&lt;h2 id=&#34;update-summary&#34;&gt;Update Summary&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;The code has been refactored in many places and now uses functions for a lot of core operations which help greatly in maintaining it.&lt;/li&gt;
&lt;li&gt;Several improvements have been made. Some small, some large.&lt;/li&gt;
&lt;li&gt;Several new features have been added including a &amp;ldquo;low disk space&amp;rdquo; mode. In this mode previous backups are removed before new ones are made. There is more risk of data loss involved with this but this is now a choice you can make for yourself.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Please see the complete release notes down below for all the details.&lt;/p&gt;
&lt;h2 id=&#34;2023-01-09-version-230109&#34;&gt;2023-01-09: Version 23.01.09&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Added script update checker - shows if an update is available in the log and console.&lt;/li&gt;
&lt;li&gt;Added VM restore instructions to readme.md.&lt;/li&gt;
&lt;li&gt;Added &amp;ldquo;low disk space&amp;rdquo; mode. -LowDisk switch deletes previous backup files and folders before backup for systems with low disk space. Default behaviour only removes backups after a successful backup has occurred.&lt;/li&gt;
&lt;li&gt;Added webhook option to send log file to. For Teams, Slack, Discord integration.&lt;/li&gt;
&lt;li&gt;Lot&amp;rsquo;s of refactored code using functions. Simpler, easier to manage. Long overdue.&lt;/li&gt;
&lt;li&gt;Fixed bug that started VMs that were shutdown.&lt;/li&gt;
&lt;li&gt;Changed &amp;ldquo;VM not running&amp;rdquo; from an error state to an informational state.&lt;/li&gt;
&lt;li&gt;Changed &amp;ldquo;Backup Success&amp;rdquo; to a success state (green text in console).&lt;/li&gt;
&lt;li&gt;Changed -NoPerms so that VMs are now saved instead of shutdown (safer, faster, does not require Hyper-V integrations)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hyper-V Backup Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Hyper-V-Backup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/hyperv-backup-utility/&#34;&gt;available here.&lt;/a&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>
        
        <media:content url="https://gal.vin//media/util-logos/hvbu.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Thick v Thin Images (Microsoft Deployment Toolkit)</title>
        <link>https://gal.vin/posts/2022/thick-v-thin-images/</link>
        <pubDate>Tue, 15 Nov 2022 15:00:00 +0000</pubDate>
        
        <atom:modified>Tue, 15 Nov 2022 15:00:00 +0000</atom:modified>
        <guid>https://gal.vin/posts/2022/thick-v-thin-images/</guid>
        <description>The question of &amp;ldquo;whether we should do &amp;ldquo;thick&amp;rdquo; or &amp;ldquo;thin&amp;rdquo; images&amp;rdquo; comes up a lot and so in this I&amp;rsquo;m going to go through my thought process when answering this question and hopefully, help you in making the right choice for your environment.
First, lets define the different image types and show the processes for each.
Thick Images Thick images are an image which is created by an admin containing the Windows installation, Windows updates, applications, application updates and customisations such as - registry changes, Start menu layout and application configurations.</description>
        <content:encoded>&lt;p&gt;The question of &amp;ldquo;whether we should do &amp;ldquo;thick&amp;rdquo; or &amp;ldquo;thin&amp;rdquo; images&amp;rdquo; comes up a lot and so in this I&amp;rsquo;m going to go through my thought process when answering this question and hopefully, help you in making the right choice for your environment.&lt;/p&gt;
&lt;p&gt;First, lets define the different image types and show the processes for each.&lt;/p&gt;
&lt;h2 id=&#34;thick-images&#34;&gt;Thick Images&lt;/h2&gt;
&lt;p&gt;Thick images are an image which is created by an admin containing the Windows installation, Windows updates, applications, application updates and customisations such as - registry changes, Start menu layout and application configurations. Files and configuration changes that are &amp;ldquo;baked in&amp;rdquo; to your Windows installation.&lt;/p&gt;
&lt;p&gt;The image creation process looks something like this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Windows installed on VM.&lt;/li&gt;
&lt;li&gt;Check for Windows updates and install.&lt;/li&gt;
&lt;li&gt;Applications installed.&lt;/li&gt;
&lt;li&gt;Applications updated.&lt;/li&gt;
&lt;li&gt;Check for Windows updates and install.&lt;/li&gt;
&lt;li&gt;Customise Windows and applications.&lt;/li&gt;
&lt;li&gt;Capture image.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The image is then deployed to devices. That process is as follows:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Deploy image to device(s).&lt;/li&gt;
&lt;li&gt;Drivers installed.&lt;/li&gt;
&lt;li&gt;Join domain.&lt;/li&gt;
&lt;li&gt;Check for Windows updates, yet again, just in case.&lt;/li&gt;
&lt;li&gt;Install applications that need to be installed on final deployment or are subject to frequent updating - anti virus or remote management clients for example.&lt;/li&gt;
&lt;li&gt;Any final tweaks that are subject to frequent updates.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;thin-images&#34;&gt;Thin Images&lt;/h2&gt;
&lt;p&gt;Thin images are more of a process in which the Windows image provided from Microsoft is deployed and then updates, applications and any customisations are made as part of a task sequence, group policy or other management system.&lt;/p&gt;
&lt;p&gt;The deployment process looks something like this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Windows image deployed to device(s).&lt;/li&gt;
&lt;li&gt;Drivers installed.&lt;/li&gt;
&lt;li&gt;Join domain.&lt;/li&gt;
&lt;li&gt;Check for Windows updates and install.&lt;/li&gt;
&lt;li&gt;Applications installed.&lt;/li&gt;
&lt;li&gt;Applications updated.&lt;/li&gt;
&lt;li&gt;Check for Windows updates and install.&lt;/li&gt;
&lt;li&gt;Customise Windows and applications.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;image-times-for-thickthin&#34;&gt;Image Times For Thick/Thin&lt;/h2&gt;
&lt;p&gt;These times are taken from my image creation and deployment process in my lab. I&amp;rsquo;m using Hyper-V VMs for the server and client devices. These times are only intended as demonstration purposes.&lt;/p&gt;
&lt;p&gt;OS: Windows 10 22H2&lt;br /&gt;
Customisations: Remove specific MS Store Apps, script to configure various Windows settings for all users.&lt;br /&gt;
Apps: Visual C++ 2017 Redist, .NET 3.1 Desktop Runtime, .NET 5 Desktop Runtime, .NET 6 Desktop Runtime, .NET Framework 3.5, .NET Framework 4.8, 7-zip, Firefox, Google Chrome, Notepad++, OBS Studio, Epic Games Launcher, Ubisoft Connect, Steam Client, Origin, VLC, Adobe Reader, Office 365 Business&lt;/p&gt;
&lt;h3 id=&#34;thick-image&#34;&gt;Thick Image&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Build - Apps, Windows updates from internet, Customisations: 56m 00s&lt;/li&gt;
&lt;li&gt;Deploy - Windows updates from internet, Customisations - 9m 55s&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;thin-image&#34;&gt;Thin Image&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Deploy - Apps, Windows updates from internet, Customisations - 1h 00m 17s&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can see for yourself from the times above, thick images put a lot of time into creating the image and deployment is fast, where as the thin image is a longer process to deploy but there is no creation phase making thin images more agile. But this isn&amp;rsquo;t so say that you can&amp;rsquo;t combine both methods.&lt;/p&gt;
&lt;h2 id=&#34;when-to-use-thickthin&#34;&gt;When To Use Thick/Thin&lt;/h2&gt;
&lt;p&gt;Each of the image types is suited to different situations. For example, if you are deploying a large batch of computers all at once for a classroom, then it would be best to build a thick image on a virtual machine with everything installed and configured as needed and then deploy to the devices.&lt;/p&gt;
&lt;p&gt;However, if you are deploying devices in smaller batches over a longer period of time, then the thin image makes more sense because the thick image will be out-of-date and the time needed to install Windows updates and application updates will make the process longer and any time savings that you made from creating a thick image in the first place will be negligible.&lt;/p&gt;
&lt;h2 id=&#34;why-not-both&#34;&gt;Why Not Both?&lt;/h2&gt;
&lt;p&gt;You can use a combination of both methods if needed. For example if you are using a older version of Adobe&amp;rsquo;s Creative Suite - a large install that doesn&amp;rsquo;t get updates these days, then rather than deploy a thin image and install this for each device you could create a Windows images with this and any other large applications that don&amp;rsquo;t get updates or the updates are quick to install further downstream.&lt;/p&gt;
&lt;p&gt;Another way to use both is to have a thick image for large deployments and then a thin image for the devices that trickle in. The downside of this is that you have more to maintain, potentially a &amp;ldquo;Build&amp;rdquo; task sequence, &amp;ldquo;Deploy&amp;rdquo; task sequence and a &amp;ldquo;Deploy-Thin&amp;rdquo; task sequence and everything that comes with it.&lt;/p&gt;
&lt;p&gt;Ultimately the choice is yours - you make the best decision you can for your environment, workflow and team. But at least you have choice.&lt;/p&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/mdt-ss.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Windows 11</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Using Winget and Chocolatey with MDT</title>
        <link>https://gal.vin/posts/2022/win-package-managers/</link>
        <pubDate>Sun, 23 Oct 2022 08:00:00 +0100</pubDate>
        
        <atom:modified>Sun, 23 Oct 2022 08:00:00 +0100</atom:modified>
        <guid>https://gal.vin/posts/2022/win-package-managers/</guid>
        <description>Windows Package Managers Microsoft has created winget and Chocolatey is a third-party package manager for Windows. I like both for a variety of reasons and have been testing them out as a way to modernize the install software whilst still using Microsoft Deployment Toolkit (MDT).
Using a package manager during initial deployment or image creation can be useful for deploying applications that are updated frequently like Adobe Reader or Google Chrome.</description>
        <content:encoded>&lt;h2 id=&#34;windows-package-managers&#34;&gt;Windows Package Managers&lt;/h2&gt;
&lt;p&gt;Microsoft has created winget and Chocolatey is a third-party package manager for Windows. I like both for a variety of reasons and have been testing them out as a way to modernize the install software whilst still using Microsoft Deployment Toolkit (MDT).&lt;/p&gt;
&lt;p&gt;Using a package manager during initial deployment or image creation can be useful for deploying applications that are updated frequently like Adobe Reader or Google Chrome. It&amp;rsquo;s also easier for you as the image admin. Instead of downloading the offline installer, finding the silent install command and then going through the steps of adding it to MDT, you can use a package manager to retrieve the application, install it and you&amp;rsquo;re done. You could also set up a scheduled task to run regularly to keep third-party software up-to-date when the PC is deployed out in the field.&lt;/p&gt;
&lt;h2 id=&#34;winget&#34;&gt;Winget&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;https://learn.microsoft.com/en-us/windows/package-manager/winget&#34;&gt;Winget&lt;/a&gt; is Microsoft&amp;rsquo;s package manager for Windows 10 and 11. It is not a functional part of Windows 10 or 11 version 21H2 or 22H2 after the initial OS install - the Microsoft Store app updater needs to run and make it available for use. Even if you download the winget package from github and install it via PowerShell, the Microsoft Store will still need to run and sync for it to work - take it from me I have spent this past week testing this out thoroughly.&lt;/p&gt;
&lt;p&gt;Winget is good and I&amp;rsquo;d recommend it but some bugs when installing certain packages still remain - for example at the time of writing the Ubisoft.Connect package won&amp;rsquo;t install even though it did a few weeks ago when I last installed it. Weird. That said, for most common packages that you&amp;rsquo;d install in a business environment it works well.&lt;/p&gt;
&lt;h3 id=&#34;installing-and-using-winget&#34;&gt;Installing and Using winget&lt;/h3&gt;
&lt;p&gt;In order to use winget as part of a Task Sequence I&amp;rsquo;ve made a small PowerShell script to trigger the Microsoft Store updater and wait until winget is the correct version before exiting. Then the Task Sequence can continue and use winget to install any applications that you want with the additional benefit that the Microsoft Store apps are also now up to date.&lt;/p&gt;
&lt;p&gt;Please note: because we must run the Microsoft Store sysprep will be impossible. Because of this I do not recommend using winget if you are building a &amp;ldquo;golden&amp;rdquo; or &amp;ldquo;thick&amp;rdquo; image. If you intend on running sysprep you should use Chocolatey instead.&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;/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;c&#34;&gt;## Run the MS Store update and wait until winget is installed&lt;/span&gt;

&lt;span class=&#34;nv&#34;&gt;$OSVBui&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;no&#34;&gt;[environment]&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;::&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;OSVersion&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;Version&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;Select-Object&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-expand&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;build&lt;/span&gt;
&lt;span class=&#34;nv&#34;&gt;$wmiObj&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;Get-WmiObject&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Namespace&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;root\cimv2\mdm\dmmap&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Class&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;MDM_EnterpriseModernAppManagement_AppManagement01&amp;#34;&lt;/span&gt;

&lt;span class=&#34;c&#34;&gt;## Windows 10 22H2&lt;/span&gt;
&lt;span class=&#34;k&#34;&gt;If&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;nv&#34;&gt;$OSVBui&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;-eq&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;19045&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;
&lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
    &lt;span class=&#34;k&#34;&gt;Do&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
        &lt;span class=&#34;nv&#34;&gt;$updateTrigger&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;nv&#34;&gt;$wmiObj&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;UpdateScanMethod&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;()&lt;/span&gt;
        &lt;span class=&#34;nb&#34;&gt;start-sleep&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-S&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;60&lt;/span&gt;
    &lt;span class=&#34;p&#34;&gt;}&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;until&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&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;where-object&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;&lt;span class=&#34;nv&#34;&gt;$_&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;packagename&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;-like&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;Microsoft.DesktopAppInstaller*&amp;#39;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;where-object&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;&lt;span class=&#34;nv&#34;&gt;$_&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;version&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;-notlike&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;2019.125.2243.0&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;})&lt;/span&gt;
&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;

&lt;span class=&#34;c&#34;&gt;## Windows 11 22H2&lt;/span&gt;
&lt;span class=&#34;k&#34;&gt;If&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;nv&#34;&gt;$OSVBui&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;-eq&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;22621&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;
&lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
    &lt;span class=&#34;k&#34;&gt;Do&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
        &lt;span class=&#34;nv&#34;&gt;$updateTrigger&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;nv&#34;&gt;$wmiObj&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;UpdateScanMethod&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;()&lt;/span&gt;
        &lt;span class=&#34;nb&#34;&gt;start-sleep&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-S&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;60&lt;/span&gt;
    &lt;span class=&#34;p&#34;&gt;}&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;until&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&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;where-object&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;&lt;span class=&#34;nv&#34;&gt;$_&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;packagename&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;-like&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;Microsoft.DesktopAppInstaller*&amp;#39;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;where-object&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;&lt;span class=&#34;nv&#34;&gt;$_&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;version&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;-notlike&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;2022.310.2333.0&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;})&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;To run the PowerShell script above as part of a Task Sequence and have it wait until it completes (in my extensive testing MDT doesn&amp;rsquo;t wait for the &amp;ldquo;do until&amp;rdquo; block to complete) we must create a small batch file containing the command below and then add this to the Task Sequence.&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;start /wait powershell -ep bypass -WindowStyle hidden Z:\_custom\winget\update-store.ps1
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Once winget is installed and usable, we can use winget&amp;rsquo;s import function to install a list of applications. Below is the command that I use to install all my applications which is are in JSON file that I exported from winget on another system.&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;winget import %DEPLOYROOT%\_custom\winget\apps-winget.json --accept-package-agreements --accept-source-agreements
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;You can also make a batch or PowerShell script that contains a list of winget install commands for each application.&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;/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;winget install -e --id Microsoft.VCRedist.2015+.x64 --accept-package-agreements --accept-source-agreements
winget install -e --id Microsoft.DotNet.DesktopRuntime.6 --accept-package-agreements --accept-source-agreements
winget install -e --id 7zip.7zip --accept-package-agreements --accept-source-agreements
winget install -e --id VideoLAN.VLC --accept-package-agreements --accept-source-agreements
winget install -e --id Adobe.Acrobat.Reader.64-bit --accept-package-agreements --accept-source-agreements
winget install -e --id Notepad++.Notepad++ --accept-package-agreements --accept-source-agreements
winget install -e --id Google.Chrome --accept-package-agreements --accept-source-agreements
winget install -e --id Mozilla.Firefox --accept-package-agreements --accept-source-agreements
&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 see if winget has an application in it&amp;rsquo;s repository you can use the search 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-text&#34; data-lang=&#34;text&#34;&gt;winget search &amp;#34;firefox&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;For more information on winget commands &lt;a href=&#34;https://learn.microsoft.com/en-us/windows/package-manager/winget&#34;&gt;please see Microsoft&amp;rsquo;s documentation pages.&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;updating-with-winget&#34;&gt;Updating with Winget&lt;/h3&gt;
&lt;p&gt;Winget can be scheduled to update installed software using a Scheduled Task. Due to how winget works you should check first on a test system to see what it will update just in case you have an app installed that you don&amp;rsquo;t want updated for whatever reason.&lt;/p&gt;
&lt;p&gt;You can check to see what will be updated with the following 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-text&#34; data-lang=&#34;text&#34;&gt;winget upgrade
&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 command below will update all the software it supports. The &lt;code&gt;--silent&lt;/code&gt; switch in this context means that the UI will in some cases still show but it is just progress and the upgrades are automated.&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;winget upgrade --all --silent
&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;chocolatey&#34;&gt;Chocolatey&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;https://chocolatey.org&#34;&gt;Chocolatey&lt;/a&gt; is a third-party Windows package manger and can be easily installed. Chocolatey is free but has a Business/Pro version that syncs with the &amp;ldquo;Programs and Features&amp;rdquo; list in Windows. The free version can be used to install and update software that was installed by Chocolatey but it will not touch software that it didn&amp;rsquo;t install.&lt;/p&gt;
&lt;h3 id=&#34;installing-and-using-chocolatey&#34;&gt;Installing and Using Chocolatey&lt;/h3&gt;
&lt;p&gt;As per the instructions on the website Chocolatey can be installed using a PowerShell one liner:&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;Set-ExecutionPolicy&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Bypass&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Scope&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;Process&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Force&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; &lt;span class=&#34;no&#34;&gt;[System.Net.ServicePointManager]&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;::&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;SecurityProtocol&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;no&#34;&gt;[System.Net.ServicePointManager]&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;::&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;SecurityProtocol&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;-bor&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;3072&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;iex &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://community.chocolatey.org/install.ps1&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;Here is the PowerShell script that I use to install Chocolatey and also the list of software I require.&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;/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;Set-ExecutionPolicy&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Bypass&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Scope&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;Process&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Force&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; &lt;span class=&#34;no&#34;&gt;[System.Net.ServicePointManager]&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;::&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;SecurityProtocol&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;no&#34;&gt;[System.Net.ServicePointManager]&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;::&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;SecurityProtocol&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;-bor&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;3072&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;iex &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://community.chocolatey.org/install.ps1&amp;#39;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;))&lt;/span&gt;
&lt;span class=&#34;n&#34;&gt;choco&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;feature&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;enable&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-n&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;allowGlobalConfirmation&lt;/span&gt;
&lt;span class=&#34;n&#34;&gt;choco&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;install&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;vcredist140&lt;/span&gt;
&lt;span class=&#34;n&#34;&gt;choco&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;install&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;dotnet&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;-&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;6&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;0-desktopruntime&lt;/span&gt;
&lt;span class=&#34;n&#34;&gt;choco&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;install&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;7zip&lt;/span&gt;
&lt;span class=&#34;n&#34;&gt;choco&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;install&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;vlc&lt;/span&gt;
&lt;span class=&#34;n&#34;&gt;choco&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;install&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;adobereader&lt;/span&gt;
&lt;span class=&#34;n&#34;&gt;choco&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;install&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;notepadplusplus&lt;/span&gt;
&lt;span class=&#34;n&#34;&gt;choco&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;install&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;googlechrome&lt;/span&gt;
&lt;span class=&#34;n&#34;&gt;choco&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;install&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;firefox&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 find out if Chocolatey has an application in it&amp;rsquo;s repository and the command to install it, please see the &lt;a href=&#34;https://community.chocolatey.org/packages&#34;&gt;Chocolatey Package site.&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;updating-with-chocolatey&#34;&gt;Updating with Chocolatey&lt;/h3&gt;
&lt;p&gt;Chocolatey can be scheduled to update installed software using a Scheduled Task. Like with winget you should check first on a test system to see what it will update just in case you have an app installed that you don&amp;rsquo;t want updated.&lt;/p&gt;
&lt;p&gt;You can check to see what will be updated with the following 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-text&#34; data-lang=&#34;text&#34;&gt;choco outdated
&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 command below will update all the software it supports silently.&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;choco upgrade all
&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/appx-icon.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Windows Desktop</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>PowerShell</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Deploy Windows 10 22H2 Reference Image</title>
        <link>https://gal.vin/posts/2022/deploy-windows-10-22h2/</link>
        <pubDate>Thu, 20 Oct 2022 00:10:28 +0100</pubDate>
        
        <atom:modified>Thu, 20 Oct 2022 00:10:28 +0100</atom:modified>
        <guid>https://gal.vin/posts/2022/deploy-windows-10-22h2/</guid>
        <description>News and Updates  Microsoft Deployment Toolkit appears to be largely abandoned in favour of ConfigMgr and Auto Pilot - both of which are paid solutions. I intend to use MDT until it becomes unfeasible and then I have a few ideas of where to move to after that. There are some Open Source solutions that I&amp;rsquo;d like to look into and I plan to write about them. Please check out my MDT-Setup script which will automatically install and configure MDT the same as using this guide.</description>
        <content:encoded>&lt;h2 id=&#34;news-and-updates&#34;&gt;News and Updates&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Microsoft Deployment Toolkit appears to be largely abandoned in favour of ConfigMgr and Auto Pilot - both of which are paid solutions. I intend to use MDT until it becomes unfeasible and then I have a few ideas of where to move to after that. There are some Open Source solutions that I&amp;rsquo;d like to look into and I plan to write about them.&lt;/li&gt;
&lt;li&gt;Please check out my &lt;a href=&#34;https://gal.vin/utils/mdt-setup/&#34;&gt;MDT-Setup&lt;/a&gt; script which will automatically install and configure MDT the same as using this guide. A major time saver if you don&amp;rsquo;t want to do it manually.&lt;/li&gt;
&lt;li&gt;We must use the older Windows 10 2004 ADK and WinPE because MDT expects x86 support for WinPE. There are workarounds for this but currently deploying Windows 10 works with this older ADK and WinPE.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In this guide 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/2022/build-capture-windows-10-22h2/&#34;&gt;Build and Capture Windows 10 22H2 Reference Image&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;installing-the-mdt-update-mdt_kb4564442&#34;&gt;Installing the MDT Update: MDT_KB4564442&lt;/h2&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;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:\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;h2 id=&#34;add-an-operating-system&#34;&gt;Add an Operating System&lt;/h2&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;h2 id=&#34;create-a-task-sequence&#34;&gt;Create 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: W10-22H2&lt;/li&gt;
&lt;li&gt;Name it Deploy Windows 10 22H2&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;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;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: &lt;code&gt;customsettings.ini&lt;/code&gt;&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;h2 id=&#34;securing-the-deployment-share&#34;&gt;Securing the Deployment Share&lt;/h2&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;h2 id=&#34;configure-bootstrapini&#34;&gt;Configure 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;/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;h2 id=&#34;configure-customsettingsini&#34;&gt;Configure CustomSettings.ini&lt;/h2&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;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-the-task-sequence&#34;&gt;Testing the Task Sequence&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. 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;h2 id=&#34;setting-the-default-application-associations&#34;&gt;Setting the Default Application Associations&lt;/h2&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 10 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 10 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 10 22H2 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;h2 id=&#34;driver-management&#34;&gt;Driver Management&lt;/h2&gt;
&lt;p&gt;Now we&amp;rsquo;re going to configure how drivers are installed for the physical devices we&amp;rsquo;re going to deploy Windows 10 to. There are a few ways to do this, here I&amp;rsquo;ll show the &amp;lsquo;Total Control&amp;rsquo; method I&amp;rsquo;ve been using more recently. Note: I&amp;rsquo;ve written a guide on how to use &lt;a href=&#34;https://gal.vin/posts/2022/sdio-and-mdt/&#34;&gt;Snappy Driver Installer Origin with MDT&lt;/a&gt;. Using the guide you can run the tool as part of a deployment Task Sequence and it will obtain and install the drivers automatically provided you have internet access.&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 10 is good at installing missing drivers from Windows Update, but it can take some time and it would be better for the device to be running with all the drivers it needs once deployment has completed.&lt;/p&gt;
&lt;p&gt;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 10 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 10 22H2. After it completes, check Device Manager and all devices should be successfully installed.&lt;/p&gt;
&lt;h2 id=&#34;adding-drivers-to-the-mdt-boot-image&#34;&gt;Adding Drivers to the MDT Boot Image&lt;/h2&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 10 22H2 which is ready to deploy.&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>
        
        <media:content url="https://gal.vin//media/2022/w10.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Windows 10 22H2</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>Hyper-V</category>
            
          
            
              <category>SDIO</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Build and Capture Windows 10 22H2 Reference Image</title>
        <link>https://gal.vin/posts/2022/build-capture-windows-10-22h2/</link>
        <pubDate>Thu, 20 Oct 2022 00:10:12 +0100</pubDate>
        
        <atom:modified>Thu, 20 Oct 2022 00:10:12 +0100</atom:modified>
        <guid>https://gal.vin/posts/2022/build-capture-windows-10-22h2/</guid>
        <description>News and Updates  Microsoft Deployment Toolkit appears to be largely abandoned in favour of ConfigMgr and Auto Pilot - both of which are paid solutions. I intend to use MDT until it becomes unfeasible and then I have a few ideas of where to move to after that. There are some Open Source solutions that I&amp;rsquo;d like to look into and I plan to write about them. Please check out my MDT-Setup script which will automatically install and configure MDT the same as using this guide.</description>
        <content:encoded>&lt;h2 id=&#34;news-and-updates&#34;&gt;News and Updates&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Microsoft Deployment Toolkit appears to be largely abandoned in favour of ConfigMgr and Auto Pilot - both of which are paid solutions. I intend to use MDT until it becomes unfeasible and then I have a few ideas of where to move to after that. There are some Open Source solutions that I&amp;rsquo;d like to look into and I plan to write about them.&lt;/li&gt;
&lt;li&gt;Please check out my &lt;a href=&#34;https://gal.vin/utils/mdt-setup/&#34;&gt;MDT-Setup&lt;/a&gt; script which will automatically install and configure MDT the same as using this guide. A major time saver if you don&amp;rsquo;t want to do it manually.&lt;/li&gt;
&lt;li&gt;We must use the older Windows 10 2004 ADK and WinPE because MDT expects x86 support for WinPE. There are workarounds for this but currently deploying Windows 10 works with this older ADK and WinPE.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In this guide we will walk through installing and configuring Microsoft Deployment Toolkit to build and capture a reference image of Windows 10 22H2 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.&lt;/p&gt;
&lt;p&gt;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/windows10&#34;&gt;Windows 10 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 10 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 10 22H2 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 10 22H2 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 10 22H2 and complete the wizard&lt;/li&gt;
&lt;li&gt;Go to the Operating Systems &amp;gt; Windows 10 22H2 node and rename the new entries added to Windows 10 22H2 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 10 22H2&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now we&amp;rsquo;ll create a selection profile so that the Task Sequence only attempts to install updates for Windows 10 22H2 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 10 22H2&lt;/li&gt;
&lt;li&gt;On the Folders page, tick the Windows 10 22H2 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. It is also possible to use a package manager to grab applications from the internet and silently install them. I&amp;rsquo;ve written a guide on how to use &lt;a href=&#34;https://gal.vin/posts/2022/win-package-managers/&#34;&gt;Chocolatey to do this&lt;/a&gt;. Using the guide you can install Chocolatey and then use it to install applications as part of a Task Sequence, provided you have internet access.&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: W10-22H2&lt;/li&gt;
&lt;li&gt;Name it Build Windows 10 22H2&lt;/li&gt;
&lt;li&gt;Select Standard Client Task Sequence&lt;/li&gt;
&lt;li&gt;Select the Operating System Windows 10 22H2&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 10 22H2&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 10 22H2, 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;W10-22H2_YEAR_MONTH_DAY_HOUR_MINUTE.wim&lt;/code&gt; will be in the Captures folder in the Deployment Share.&lt;/p&gt;
&lt;p&gt;You now have a reference image for Windows 10 22H2 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 in this article: &lt;a href=&#34;https://gal.vin/posts/2022/deploy-windows-10-22h2/&#34;&gt;Deploy Windows 10 22H2 Reference Image&lt;/a&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>
        
        <media:content url="https://gal.vin//media/2022/w10.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Windows 10 22H2</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>Hyper-V</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>MDT Setup - A script to make MDT deployment easy</title>
        <link>https://gal.vin/utils/mdt-setup/</link>
        <pubDate>Tue, 18 Oct 2022 22:01:00 +0100</pubDate>
        
        <atom:modified>Tue, 18 Oct 2022 22:01:00 +0100</atom:modified>
        <guid>https://gal.vin/utils/mdt-setup/</guid>
        <description>User configurable MDT setup script MDT-Setup is available from:
 GitHub The Microsoft PowerShell Gallery  Please consider supporting my work:
 Support with a one-time donation using PayPal.  Please report any problems via the ‘issues’ tab on GitHub.
-Mike
Features and Requirements  Designed to be run on Windows Server 2016+ The script must be run as an administrator. Tested with Windows PowerShell 5 (The version of PowerShell included with Windows Server 2016+) and PowerShell 7.</description>
        <content:encoded>&lt;h2 id=&#34;user-configurable-mdt-setup-script&#34;&gt;User configurable MDT setup script&lt;/h2&gt;
&lt;p&gt;MDT-Setup is available from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/MDT-Setup&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/MDT-Setup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&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;Please report any problems via the ‘issues’ tab on GitHub.&lt;/p&gt;
&lt;p&gt;-Mike&lt;/p&gt;
&lt;h2 id=&#34;features-and-requirements&#34;&gt;Features and Requirements&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Designed to be run on Windows Server 2016+&lt;/li&gt;
&lt;li&gt;The script must be run as an administrator.&lt;/li&gt;
&lt;li&gt;Tested with Windows PowerShell 5 (The version of PowerShell included with Windows Server 2016+) and PowerShell 7.&lt;/li&gt;
&lt;li&gt;Tested on Windows Server 2022.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;usage-information&#34;&gt;Usage Information&lt;/h2&gt;
&lt;p&gt;This script will install and configure Microsoft Deployment Toolkit and its prerequisites on a Windows computer with an internet connection. It has been tested on a basic Windows Server 2022 Standard edition virtual machine.&lt;/p&gt;
&lt;p&gt;Here is what the script will do:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download the installers for Microsoft Deployment Toolkit, the latest MDT patch, the latest ADK and WinPE for ADK.&lt;/li&gt;
&lt;li&gt;Silently install all the above.&lt;/li&gt;
&lt;li&gt;Create an MDT deployment share(s) and the folder structure.&lt;/li&gt;
&lt;li&gt;Download Windows 10/11 from the Media Creation Tool (this requires some user input).&lt;/li&gt;
&lt;li&gt;Convert the Windows 10/11 install ESD to a WIM file for MDT and import it.&lt;/li&gt;
&lt;li&gt;Create Package folders and Selection Profiles for Windows 10/11.&lt;/li&gt;
&lt;li&gt;Import Task Sequence templates.&lt;/li&gt;
&lt;li&gt;Set the configuration of CustomSettings.ini for the share(s).&lt;/li&gt;
&lt;li&gt;Generate the boot media.&lt;/li&gt;
&lt;li&gt;Create Package and Driver folders and Selection Profiles.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;When complete the server will be configured to be able to deploy a Windows 10/11 image. There is an option to create a &amp;ldquo;Build and Capture&amp;rdquo; environment to create a gold image for Windows 10/11. Once captured the image can then be imported into the Deployment share and create a Task Sequence using the template included.&lt;/p&gt;
&lt;p&gt;Some user interaction is still required. For example: importing drivers, adding applications and other things specific to the images you want to deploy.&lt;/p&gt;
&lt;h2 id=&#34;user-preferences&#34;&gt;User Preferences&lt;/h2&gt;
&lt;p&gt;When you run the script it will ask you a series of questions to customise your installation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Windows version and update code (e.g. W10-22H2)&lt;/li&gt;
&lt;li&gt;Download and convert Windows ESD, edition, language&lt;/li&gt;
&lt;li&gt;Optional Build share path (e.g. C:\BuildShare)&lt;/li&gt;
&lt;li&gt;Optional Build share name (e.g. BuildShare$)&lt;/li&gt;
&lt;li&gt;Deploy share path (e.g. C:\DeployShare)&lt;/li&gt;
&lt;li&gt;Deploy share name (e.g. DeployShare$)&lt;/li&gt;
&lt;li&gt;Time zone name for the deployed image (e.g. GMT Standard Time)&lt;/li&gt;
&lt;li&gt;Keyboard locale code for the deployed image (e.g. 0809:00000809) Please see &lt;a href=&#34;https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-input-locales-for-windows-language-packs?view=windows-11&#34;&gt;Microsoft Docs for all the input locales&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Keyboard locale name for the deployed image (e.g. en-GB)&lt;/li&gt;
&lt;li&gt;Windows UI language for the deployed image (e.g. en-GB)&lt;/li&gt;
&lt;li&gt;Windows user language for the deployed image (e.g. en-GB)&lt;/li&gt;
&lt;li&gt;Domain group for MDT Admins (e.g. mdt-admins)&lt;/li&gt;
&lt;li&gt;Domain user for domain join (e.g. djoin)&lt;/li&gt;
&lt;li&gt;Domain password for above user (e.g. p@ssw0rD)&lt;/li&gt;
&lt;li&gt;Domain name for above user (e.g. contoso.com)&lt;/li&gt;
&lt;li&gt;OU for new PC account (e.g. OU=PCs,DC=contoso,DC=com)&lt;/li&gt;
&lt;li&gt;WSUS server name and port (e.g. WSUS-Srv:8530)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;how-to-use&#34;&gt;How to use&lt;/h2&gt;
&lt;p&gt;Create a folder on a local disk and put the script inside it.&lt;/p&gt;
&lt;p&gt;Run From PowerShell:&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-txt&#34; data-lang=&#34;txt&#34;&gt;[path to script]\MDT-Setup.ps1
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;This will run the script, user interaction is required to continue.&lt;/p&gt;
&lt;h2 id=&#34;change-log&#34;&gt;Change Log&lt;/h2&gt;
&lt;h3 id=&#34;2023-12-04-version-231204&#34;&gt;2023-12-04: Version 23.12.04&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added option to create a single deployment share for those who do not want to build a gold image.&lt;/li&gt;
&lt;li&gt;Updated Windows 11 Media Creation Tool link to get version 23H2.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2023-08-04-version-230804&#34;&gt;2023-08-04: Version 23.08.04&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Fixed an issue with the device path of a mounted ISO file being hardcoded. It is now dynamic.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2023-07-02-version-230702&#34;&gt;2023-07-02: Version 23.07.02&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The latest version of the Windows ADK and Win PE ADK add-on are now installed. Please note that x86 boot media is now not available due to the new ADK not supporting the architecture.&lt;/li&gt;
&lt;li&gt;Added fixes for the latest version of Windows ADK from: &lt;a href=&#34;https://metisit.com/blog/microsoft-deployment-toolkit-mdt-configuration-with-unforeseen-challenges&#34;&gt;metisit.com&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2023-06-23-version-230623&#34;&gt;2023-06-23: Version 23.06.23&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Fixed an issue where the Windows ISO file name was hard coded.&lt;/li&gt;
&lt;li&gt;Reordered the process so all the user interaction is done up front. When user interaction is complete, you will be told to go make coffee.&lt;/li&gt;
&lt;li&gt;Cleaned up the output to be more readable.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2022-12-02-version-221202&#34;&gt;2022-12-02: Version 22.12.02&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added text notification when there is no update available.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2022-11-29-version-221129&#34;&gt;2022-11-29: Version 22.11.29&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added option to check for updates to the script.&lt;/li&gt;
&lt;li&gt;Fixed permissions not being set on the build and deployment shares.&lt;/li&gt;
&lt;li&gt;Script now asks for a domain group to be used for MDT Administrators.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2022-10-18-version-221018&#34;&gt;2022-10-18: Version 22.10.18&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added support for Windows 10 22H2&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2022-09-20-version-220920&#34;&gt;2022-09-20: Version 22.09.20&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Removed option to enter a key to download Windows as it isn&amp;rsquo;t really needed. The provided generic key works just fine.&lt;/li&gt;
&lt;li&gt;Removed option to choose the edition of Windows as it will become the version that the user is licensed for when activation occurs.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2022-08-16-version-220816&#34;&gt;2022-08-16: Version 22.08.16&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added support for Windows 11&lt;/li&gt;
&lt;li&gt;Streamlined some locale options so the user isn&amp;rsquo;t prompted so much for the same information.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2022-07-26-version-220726&#34;&gt;2022-07-26: Version 22.07.26&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Initial release&lt;/li&gt;
&lt;/ul&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>Windows Deployment</category>
            
          
            
              <category>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <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>Deploy Windows 11 22H2 Reference Image</title>
        <link>https://gal.vin/posts/2022/deploy-windows-11-22h2/</link>
        <pubDate>Wed, 21 Sep 2022 16:48:14 +0100</pubDate>
        
        <atom:modified>Wed, 21 Sep 2022 16:48:14 +0100</atom:modified>
        <guid>https://gal.vin/posts/2022/deploy-windows-11-22h2/</guid>
        <description>News and Updates  Microsoft Deployment Toolkit appears to be largely abandoned in favour of ConfigMgr and Auto Pilot - both of which are paid solutions. I intend to use MDT until it becomes unfeasible and then I have a few ideas of where to move to after that. There are some Open Source solutions that I&amp;rsquo;d like to look into and I plan to write about them. Please check out my MDT-Setup script which will automatically install and configure MDT the same as using this guide.</description>
        <content:encoded>&lt;h2 id=&#34;news-and-updates&#34;&gt;News and Updates&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Microsoft Deployment Toolkit appears to be largely abandoned in favour of ConfigMgr and Auto Pilot - both of which are paid solutions. I intend to use MDT until it becomes unfeasible and then I have a few ideas of where to move to after that. There are some Open Source solutions that I&amp;rsquo;d like to look into and I plan to write about them.&lt;/li&gt;
&lt;li&gt;Please check out my &lt;a href=&#34;https://gal.vin/utils/mdt-setup/&#34;&gt;MDT-Setup&lt;/a&gt; script which will automatically install and configure MDT the same as using this guide. A major time saver if you don&amp;rsquo;t want to do it manually.&lt;/li&gt;
&lt;li&gt;Even though there is no x86 version of Windows 11 we must still use the older Windows 10 2004 ADK and WinPE because MDT expects x86 support for WinPE. There are workarounds for this but currently deploying Windows 11 works with this older ADK and WinPE.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In this guide 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/2022/build-capture-windows-11-22h2/&#34;&gt;Build and Capture Windows 11 22H2 Reference Image&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;installing-the-mdt-update-mdt_kb4564442&#34;&gt;Installing the MDT Update: MDT_KB4564442&lt;/h2&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;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:\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;h2 id=&#34;add-an-operating-system&#34;&gt;Add an Operating System&lt;/h2&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;h2 id=&#34;create-a-task-sequence&#34;&gt;Create 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-22H2&lt;/li&gt;
&lt;li&gt;Name it Deploy Windows 11 22H2&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;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;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: &lt;code&gt;customsettings.ini&lt;/code&gt;&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;h2 id=&#34;securing-the-deployment-share&#34;&gt;Securing the Deployment Share&lt;/h2&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;h2 id=&#34;configure-bootstrapini&#34;&gt;Configure 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;/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;h2 id=&#34;configure-customsettingsini&#34;&gt;Configure CustomSettings.ini&lt;/h2&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;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-the-task-sequence&#34;&gt;Testing the Task Sequence&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. 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;h2 id=&#34;setting-the-default-application-associations&#34;&gt;Setting the Default Application Associations&lt;/h2&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 22H2 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;h2 id=&#34;driver-management&#34;&gt;Driver Management&lt;/h2&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. Note: I&amp;rsquo;ve written a guide on how to use &lt;a href=&#34;https://gal.vin/posts/2022/sdio-and-mdt/&#34;&gt;Snappy Driver Installer Origin with MDT&lt;/a&gt;. Using the guide you can run the tool as part of a deployment Task Sequence and it will obtain and install the drivers automatically provided you have internet access.&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 22H2. After it completes, check Device Manager and all devices should be successfully installed.&lt;/p&gt;
&lt;h2 id=&#34;adding-drivers-to-the-mdt-boot-image&#34;&gt;Adding Drivers to the MDT Boot Image&lt;/h2&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 22H2 which is ready to deploy.&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>
        
        <media:content url="https://gal.vin//media/2022/w11.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Windows 11 22H2</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>Hyper-V</category>
            
          
            
              <category>SDIO</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 11</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Build and Capture Windows 11 22H2 Reference Image</title>
        <link>https://gal.vin/posts/2022/build-capture-windows-11-22h2/</link>
        <pubDate>Wed, 21 Sep 2022 16:25:50 +0100</pubDate>
        
        <atom:modified>Wed, 21 Sep 2022 16:25:50 +0100</atom:modified>
        <guid>https://gal.vin/posts/2022/build-capture-windows-11-22h2/</guid>
        <description>News and Updates  Microsoft Deployment Toolkit appears to be largely abandoned in favour of ConfigMgr and Auto Pilot - both of which are paid solutions. I intend to use MDT until it becomes unfeasible and then I have a few ideas of where to move to after that. There are some Open Source solutions that I&amp;rsquo;d like to look into and I plan to write about them. Please check out my MDT-Setup script which will automatically install and configure MDT the same as using this guide.</description>
        <content:encoded>&lt;h2 id=&#34;news-and-updates&#34;&gt;News and Updates&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Microsoft Deployment Toolkit appears to be largely abandoned in favour of ConfigMgr and Auto Pilot - both of which are paid solutions. I intend to use MDT until it becomes unfeasible and then I have a few ideas of where to move to after that. There are some Open Source solutions that I&amp;rsquo;d like to look into and I plan to write about them.&lt;/li&gt;
&lt;li&gt;Please check out my &lt;a href=&#34;https://gal.vin/utils/mdt-setup/&#34;&gt;MDT-Setup&lt;/a&gt; script which will automatically install and configure MDT the same as using this guide. A major time saver if you don&amp;rsquo;t want to do it manually.&lt;/li&gt;
&lt;li&gt;Even though there is no x86 version of Windows 11 we must still use the older Windows 10 2004 ADK and WinPE because MDT expects x86 support for WinPE. There are workarounds for this but currently deploying Windows 11 works with this older ADK and WinPE.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In this guide we will walk through installing and configuring Microsoft Deployment Toolkit to build and capture a reference image of Windows 11 22H2 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.&lt;/p&gt;
&lt;p&gt;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 22H2 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 22H2 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 22H2 and complete the wizard&lt;/li&gt;
&lt;li&gt;Go to the Operating Systems &amp;gt; Windows 11 22H2 node and rename the new entries added to Windows 11 22H2 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 22H2&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 22H2 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 22H2&lt;/li&gt;
&lt;li&gt;On the Folders page, tick the Windows 11 22H2 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. It is also possible to use a package manager to grab applications from the internet and silently install them. I&amp;rsquo;ve written a guide on how to use &lt;a href=&#34;https://gal.vin/posts/2022/win-package-managers/&#34;&gt;Chocolatey to do this&lt;/a&gt;. Using the guide you can install Chocolatey and then use it to install applications as part of a Task Sequence, provided you have internet access.&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-22H2&lt;/li&gt;
&lt;li&gt;Name it Build Windows 11 22H2&lt;/li&gt;
&lt;li&gt;Select Standard Client Task Sequence&lt;/li&gt;
&lt;li&gt;Select the Operating System Windows 11 22H2&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 22H2&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 22H2, 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-22H2_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 22H2 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 in this article: &lt;a href=&#34;https://gal.vin/posts/2022/deploy-windows-11-22h2/&#34;&gt;Deploy Windows 11 22H2 Reference Image&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>
        
        <media:content url="https://gal.vin//media/2022/w11.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Windows 11 22H2</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>Hyper-V</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 11</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Installing Microsoft Store Apps</title>
        <link>https://gal.vin/posts/2022/install-appx/</link>
        <pubDate>Tue, 09 Aug 2022 14:19:16 +0100</pubDate>
        
        <atom:modified>Tue, 09 Aug 2022 14:19:16 +0100</atom:modified>
        <guid>https://gal.vin/posts/2022/install-appx/</guid>
        <description>Getting Started We&amp;rsquo;re going to install &amp;ldquo;HEVC Video Extensions from Device Manufacturer&amp;rdquo; (yes, that&amp;rsquo;s the name of it) and &amp;ldquo;HEIF Image Extensions&amp;rdquo;. Both these apps are free and useful to add to a Windows deployment as they will allow newer image and video formats to be viewed.
Obtain the AppX Packages Google both the &amp;ldquo;HEVC Video Extensions from Device Manufacturer&amp;rdquo; and &amp;ldquo;HEIF Image Extensions&amp;rdquo; and copy the URLs from the web version of the Microsoft Store.</description>
        <content:encoded>&lt;h2 id=&#34;getting-started&#34;&gt;Getting Started&lt;/h2&gt;
&lt;p&gt;We&amp;rsquo;re going to install &amp;ldquo;HEVC Video Extensions from Device Manufacturer&amp;rdquo; (yes, that&amp;rsquo;s the name of it)  and &amp;ldquo;HEIF Image Extensions&amp;rdquo;. Both these apps are free and useful to add to a Windows deployment as they will allow newer image and video formats to be viewed.&lt;/p&gt;
&lt;h2 id=&#34;obtain-the-appx-packages&#34;&gt;Obtain the AppX Packages&lt;/h2&gt;
&lt;p&gt;Google both the &amp;ldquo;HEVC Video Extensions from Device Manufacturer&amp;rdquo; and &amp;ldquo;HEIF Image Extensions&amp;rdquo; and copy the URLs from the web version of the Microsoft Store.&lt;/p&gt;
&lt;p&gt;We&amp;rsquo;re going to use a third party site to download the required files, go to &lt;a href=&#34;https://store.rg-adguard.net&#34;&gt;https://store.rg-adguard.net&lt;/a&gt; and enter the URL for one of the apps.&lt;/p&gt;
&lt;p&gt;Download the .appx and .blockmap files for the app. There is no need to download all versions or the .eappx files, just the .appx and the .blockmap files.&lt;/p&gt;
&lt;p&gt;Repeat the process for the other app.&lt;/p&gt;
&lt;h2 id=&#34;installing-an-appx&#34;&gt;Installing An AppX&lt;/h2&gt;
&lt;p&gt;Run this Powershell command to install the app for all users:&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;Add-ProvisionedAppxPackage&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Online&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-PackagePath&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;$PathToFiles\AppX-ToAdd\Name-Of-The-App.Appx&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-SkipLicense&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 app will now be installed for all users.&lt;/p&gt;
&lt;h2 id=&#34;final-thoughts&#34;&gt;Final Thoughts&lt;/h2&gt;
&lt;p&gt;The -SkipLicense option is used because these are free apps with no license xml file. I presume (but haven&amp;rsquo;t tested yet) that for paid apps if you can obtain the appx file and extract the license file from an existing installation and then run the Add-ProvisionedAppxPackage command and specify the license file.&lt;/p&gt;
&lt;p&gt;For MDT users who want to deploy AppX&amp;rsquo;s as part of a Task Sequence, I&amp;rsquo;d recommend putting this near the end of a Task Sequence and having the App files in a folder on the MDT server like any other application.&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>
        
        <media:content url="https://gal.vin//media/2022/appx-icon.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Microsoft Store Apps</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Using Snappy Driver Installer Origin with MDT</title>
        <link>https://gal.vin/posts/2022/sdio-and-mdt/</link>
        <pubDate>Fri, 05 Aug 2022 00:24:28 +0100</pubDate>
        
        <atom:modified>Fri, 05 Aug 2022 00:24:28 +0100</atom:modified>
        <guid>https://gal.vin/posts/2022/sdio-and-mdt/</guid>
        <description>Snappy Driver Installer Origin Snappy Driver Installer Origin is a great utility for finding and installing or updating drivers. You can find out more about Snappy Driver Installer Origin and download it here.
Why SDIO and not Windows Update Snappy Driver Installer Origin (SDIO) supports automation and running scripts and so I thought it would be perfect for use with MDT when deploying lots of different types of devices with various drivers.</description>
        <content:encoded>&lt;h2 id=&#34;snappy-driver-installer-origin&#34;&gt;Snappy Driver Installer Origin&lt;/h2&gt;
&lt;p&gt;Snappy Driver Installer Origin is a great utility for finding and installing or updating drivers. You can &lt;a href=&#34;https://www.snappy-driver-installer.org/&#34;&gt;find out more about Snappy Driver Installer Origin and download it here&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;why-sdio-and-not-windows-update&#34;&gt;Why SDIO and not Windows Update&lt;/h2&gt;
&lt;p&gt;Snappy Driver Installer Origin (SDIO) supports automation and running scripts and so I thought it would be perfect for use with MDT when deploying lots of different types of devices with various drivers. If you have large fleets of the same types of PC/Laptop then using MDT to deploy those drivers from a central store is still best in my opinion.&lt;/p&gt;
&lt;p&gt;Windows Update is &amp;ldquo;fine&amp;rdquo; at getting most drivers but still misses some or gets very old versions, SDIO gets up to date and in a lot of cases better drivers than Windows update.&lt;/p&gt;
&lt;h2 id=&#34;requirements&#34;&gt;Requirements&lt;/h2&gt;
&lt;p&gt;To use SDIO with MDT using my script, SDIO must be present on the MDT server somewhere (e.g. Applications) and then copied to the local disk of the device (e.g. C:\scripts) before running SDIO-Auto-Install.ps1.&lt;/p&gt;
&lt;p&gt;The device must have internet access to get the required drivers and also the storage and network drivers which is a requirement of deploying an OS across the network with MDT.&lt;/p&gt;
&lt;h2 id=&#34;sdio-auto-install---powershell-script-to-run-sdio&#34;&gt;SDIO-Auto-Install - PowerShell Script To Run SDIO&lt;/h2&gt;
&lt;p&gt;Below is my script for running SDIO. The script file itself is copied to the local disk along with SDIO and then the Task Sequence runs the script after OS deployment.&lt;/p&gt;
&lt;p&gt;A Windows Firewall rule is created to allow SDIO to connect to the internet, SDIO itself is run to update the indexes and then after a 10 second wait period it is run again to install the drivers. There&amp;rsquo;s probably a better way to do this but this works for now. The firewall rule is then removed&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;/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-NetFirewallRule&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-DisplayName&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;SDIO-Drivers&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Enabled&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;True&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Direction&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Outbound&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Profile&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Any&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Action&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Allow&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Program&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;C:\scripts\SDIO\SDIO_x64_R746.exe&amp;#34;&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;Out-Null&lt;/span&gt;

&lt;span class=&#34;nb&#34;&gt;cd &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;C:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;scripts&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;SDIO&lt;/span&gt;
&lt;span class=&#34;p&#34;&gt;.\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;SDIO_x64_R746&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;exe&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;script&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;C:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;scripts&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;SDIO&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;update-install&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;txt&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Start-Sleep&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Seconds&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;10&lt;/span&gt;
&lt;span class=&#34;p&#34;&gt;.\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;SDIO_x64_R746&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;exe&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;script&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;C:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;scripts&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;SDIO&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;update-install&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;txt&lt;/span&gt;

&lt;span class=&#34;nb&#34;&gt;Get-NetFirewallRule&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-DisplayName&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;SDIO-Drivers&amp;#34;&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;Remove-NetFirewallRule&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;sdio-script-to-get-drivers&#34;&gt;SDIO Script To Get Drivers&lt;/h2&gt;
&lt;p&gt;Below is my script for SDIO to run. I&amp;rsquo;m still very new to it so I&amp;rsquo;ve copied one of the example scripts and made it work for me. The verbose option prints a lot of information (which MDT will output to a log) which can be useful for troubleshooting. The script is pretty self explanatory.&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;/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;verbose 384
enableinstall on
keeptempfiles off
init

checkupdates
onerror goto :end
get indexes
select missing newer better
install
onerror goto :end
:end
end
&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;finishing-up&#34;&gt;Finishing up&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;ve tested this on a few random devices that I currently have access to and it runs well, it will likely require some customisation for other environments.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve put the script files above on my general &lt;a href=&#34;https://github.com/Digressive/MDT-Files/tree/master/SDIO-Auto-Run&#34;&gt;MDT Files GitHub&lt;/a&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>
        
        <media:content url="https://gal.vin//media/2022/sdio.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>SDIO</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Office Update Utility - Update 22.07.30</title>
        <link>https://gal.vin/posts/2022/off-uu-v220730/</link>
        <pubDate>Sun, 31 Jul 2022 16:06:07 +0100</pubDate>
        
        <atom:modified>Sun, 31 Jul 2022 16:06:07 +0100</atom:modified>
        <guid>https://gal.vin/posts/2022/off-uu-v220730/</guid>
        <description>Version 22.07.30 Changes:
 Changed how the removal of old update files is done. Old versions will be removed regardless, -Days option has been removed.  Office Update Utility is available from:
 GitHub The Microsoft PowerShell Gallery  For full change log and more information, visit my site.
Support My Work  PayPal  If you have any questions or comments, please leave them below.
-Mike</description>
        <content:encoded>&lt;h2 id=&#34;version-220730&#34;&gt;Version 22.07.30&lt;/h2&gt;
&lt;p&gt;Changes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Changed how the removal of old update files is done. Old versions will be removed regardless, -Days option has been removed.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Office Update Utility is available from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/Office-Update&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Office-Update&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For full change log and more information, &lt;a href=&#34;https://gal.vin/utils/office-update-utility/&#34;&gt;visit my site.&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h2&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/util-logos/oou.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Microsoft 365 Apps</category>
            
          
            
              <category>Microsoft Office</category>
            
          
            
              <category>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>PowerShell Utilities Update</title>
        <link>https://gal.vin/posts/2022/posh-utilities-update/</link>
        <pubDate>Tue, 14 Jun 2022 22:07:39 +0100</pubDate>
        
        <atom:modified>Tue, 14 Jun 2022 22:07:39 +0100</atom:modified>
        <guid>https://gal.vin/posts/2022/posh-utilities-update/</guid>
        <description>The following Utilities have all received major updates:
Hyper-V Backup Utility
Image Factory Utility
Internet Access Control Utility
Log Manager Utility
Logon Audit Utility
Office Update Utility
On-Prem AD User Creator Utility
Remove MS Store Apps Utility
WSUS Maintenance Utility
Changes  Added checks and balances to help with configuration as I&amp;rsquo;m very aware that the initial configuration can be troublesome. Running the utility manually is a lot more friendly and step-by-step now.</description>
        <content:encoded>&lt;p&gt;The following Utilities have all received major updates:&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://gal.vin/utils/hyperv-backup-utility/&#34;&gt;Hyper-V Backup Utility&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://gal.vin/utils/image-factory-utility/&#34;&gt;Image Factory Utility&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://gal.vin/utils/internet-access-control-utility/&#34;&gt;Internet Access Control Utility&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://gal.vin/utils/log-manager-utility/&#34;&gt;Log Manager Utility&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://gal.vin/utils/logon-audit-utility/&#34;&gt;Logon Audit Utility&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://gal.vin/utils/office-update-utility/&#34;&gt;Office Update Utility&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://gal.vin/utils/on-prem-ad-user-creator-utility/&#34;&gt;On-Prem AD User Creator Utility&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://gal.vin/utils/remove-ms-store-apps-utility/&#34;&gt;Remove MS Store Apps Utility&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://gal.vin/utils/wsus-maint-utility/&#34;&gt;WSUS Maintenance Utility&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;changes&#34;&gt;Changes&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Added checks and balances to help with configuration as I&amp;rsquo;m very aware that the initial configuration can be troublesome. Running the utility manually is a lot more friendly and step-by-step now.&lt;/li&gt;
&lt;li&gt;Added -Help to give usage instructions in the terminal. Running the script with no options will also trigger the -help switch.&lt;/li&gt;
&lt;li&gt;Cleaned user entered paths so that trailing slashes no longer break things or have otherwise unintended results.&lt;/li&gt;
&lt;li&gt;Added -LogRotate [days] to removed old logs created by the utility.&lt;/li&gt;
&lt;li&gt;Streamlined config report so non configured options are not shown.&lt;/li&gt;
&lt;li&gt;Added donation link to the ASCII banner.&lt;/li&gt;
&lt;li&gt;Cleaned up code, removed unneeded log noise.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Specific changes and fixes are listed on the specific page for the Utility.&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>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Remove MS Store Apps - Update 22.04.26</title>
        <link>https://gal.vin/posts/2022/rem-store-apps-v220426/</link>
        <pubDate>Mon, 25 Apr 2022 23:48:09 +0100</pubDate>
        
        <atom:modified>Mon, 25 Apr 2022 23:48:09 +0100</atom:modified>
        <guid>https://gal.vin/posts/2022/rem-store-apps-v220426/</guid>
        <description>Version 22.04.26 Changes:
 Added -PCApps switch to list all MS Store apps on the system. Added -UserApps switch to list all MS Store apps installed for the user. Added -Help to give usage instructions in the terminal. Also running the script with no options will also trigger the -help switch. Streamlined config report so non configured options are not shown.  Remove MS Store Apps Utility can also be downloaded from:</description>
        <content:encoded>&lt;h2 id=&#34;version-220426&#34;&gt;Version 22.04.26&lt;/h2&gt;
&lt;p&gt;Changes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Added -PCApps switch to list all MS Store apps on the system.&lt;/li&gt;
&lt;li&gt;Added -UserApps switch to list all MS Store apps installed for the user.&lt;/li&gt;
&lt;li&gt;Added -Help to give usage instructions in the terminal. Also running the script with no options will also trigger the -help switch.&lt;/li&gt;
&lt;li&gt;Streamlined config report so non configured options are not shown.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Remove MS Store Apps Utility can also be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/Remove-MS-Store-Apps&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Remove-Win10-Apps&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/remove-ms-store-apps-utility/&#34;&gt;available here.&lt;/a&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>
        
        <media:content url="https://gal.vin//media/util-logos/rsau.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Microsoft Store Apps</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>PowerShell Utility</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows 11</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Remove MS Store Apps - Update 22.04.22</title>
        <link>https://gal.vin/posts/2022/rem-store-apps-v220422/</link>
        <pubDate>Sat, 23 Apr 2022 00:15:12 +0100</pubDate>
        
        <atom:modified>Sat, 23 Apr 2022 00:15:12 +0100</atom:modified>
        <guid>https://gal.vin/posts/2022/rem-store-apps-v220422/</guid>
        <description>Version 22.04.22 Changes:
 If the -WimMountPath is not configured by the user then the default Windows temp folder will be used instead. If the -WimMountPath is configured by the user but the path does not exist, it will be created. Added a -LogRotate option to delete logs older than X number of days.  Remove MS Store Apps Utility can also be downloaded from:
 GitHub The Microsoft PowerShell Gallery  See the full documentation available here.</description>
        <content:encoded>&lt;h2 id=&#34;version-220422&#34;&gt;Version 22.04.22&lt;/h2&gt;
&lt;p&gt;Changes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If the -WimMountPath is not configured by the user then the default Windows temp folder will be used instead.&lt;/li&gt;
&lt;li&gt;If the -WimMountPath is configured by the user but the path does not exist, it will be created.&lt;/li&gt;
&lt;li&gt;Added a -LogRotate option to delete logs older than X number of days.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Remove MS Store Apps Utility can also be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/Remove-MS-Store-Apps&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Remove-Win10-Apps&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/remove-ms-store-apps-utility/&#34;&gt;available here.&lt;/a&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>
        
        <media:content url="https://gal.vin//media/util-logos/rsau.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Microsoft Store Apps</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>PowerShell Utility</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows 11</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Remove MS Store Apps - Update 22.03.27</title>
        <link>https://gal.vin/posts/2022/rem-store-apps-v220327/</link>
        <pubDate>Sun, 27 Mar 2022 03:50:31 +0100</pubDate>
        
        <atom:modified>Sun, 27 Mar 2022 03:50:31 +0100</atom:modified>
        <guid>https://gal.vin/posts/2022/rem-store-apps-v220327/</guid>
        <description>Version 22.03.27 Small update, the utility now ignores blanks lines in Apps list file.
Remove MS Store Apps Utility can also be downloaded from:
 GitHub The Microsoft PowerShell Gallery  See the full documentation available here.
Support My Work If you would like to support me, please check out the link below.
 PayPal  If you have any questions or comments, please leave them below.
-Mike</description>
        <content:encoded>&lt;h2 id=&#34;version-220327&#34;&gt;Version 22.03.27&lt;/h2&gt;
&lt;p&gt;Small update, the utility now ignores blanks lines in Apps list file.&lt;/p&gt;
&lt;p&gt;Remove MS Store Apps Utility can also be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/Remove-MS-Store-Apps&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Remove-Win10-Apps&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/remove-ms-store-apps-utility/&#34;&gt;available here.&lt;/a&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>
        
        <media:content url="https://gal.vin//media/util-logos/rsau.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Microsoft Store Apps</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>PowerShell Utility</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows 11</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Hyper-V Backup Utility - Update 22.03.26</title>
        <link>https://gal.vin/posts/2022/hv-bu-v220326/</link>
        <pubDate>Sun, 27 Mar 2022 03:13:28 +0100</pubDate>
        
        <atom:modified>Sun, 27 Mar 2022 03:13:28 +0100</atom:modified>
        <guid>https://gal.vin/posts/2022/hv-bu-v220326/</guid>
        <description>Version 22.03.26 Made a small fix to the &amp;lsquo;NoPerms&amp;rsquo; function: The VM will be left in the state it was found. For example, when a VM is found in an offline state, the script will not start the VM once the backup is complete. In the previous version the VM would be started regardless of what state it was in previously.
Hyper-V Backup Utility can be downloaded from:
 GitHub The Microsoft PowerShell Gallery  See the full documentation available here.</description>
        <content:encoded>&lt;h2 id=&#34;version-220326&#34;&gt;Version 22.03.26&lt;/h2&gt;
&lt;p&gt;Made a small fix to the &amp;lsquo;NoPerms&amp;rsquo; function: The VM will be left in the state it was found. For example, when a VM is found in an offline state, the script will not start the VM once the backup is complete. In the previous version the VM would be started regardless of what state it was in previously.&lt;/p&gt;
&lt;p&gt;Hyper-V Backup Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Hyper-V-Backup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/hyperv-backup-utility/&#34;&gt;available here.&lt;/a&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>
        
        <media:content url="https://gal.vin//media/util-logos/hvbu.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Deploying Microsoft Office with MDT</title>
        <link>https://gal.vin/posts/2022/deploying-office/</link>
        <pubDate>Fri, 25 Mar 2022 00:53:53 +0000</pubDate>
        
        <atom:modified>Fri, 25 Mar 2022 00:53:53 +0000</atom:modified>
        <guid>https://gal.vin/posts/2022/deploying-office/</guid>
        <description>Before You Start The modern Microsoft Office suite is now only available as a &amp;lsquo;Click-to-Run&amp;rsquo; installation, which changes how the installation package is obtained, configured and deployed.
These are the resources we&amp;rsquo;ll be using in this guide.
 Download the Office Deployment Tool (ODT) from Microsoft here Download Microsoft Office ADMX files for Group Policy Microsoft 365 Apps admin center  Creating a Config File Configuration of the Office suite is now done via an XML file.</description>
        <content:encoded>&lt;h2 id=&#34;before-you-start&#34;&gt;Before You Start&lt;/h2&gt;
&lt;p&gt;The modern Microsoft Office suite is now only available as a &amp;lsquo;Click-to-Run&amp;rsquo; installation, which changes how the installation package is obtained, configured and deployed.&lt;/p&gt;
&lt;p&gt;These are the resources we&amp;rsquo;ll be using in this guide.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.microsoft.com/en-us/download/details.aspx?id=49117&#34;&gt;Download the Office Deployment Tool (ODT) from Microsoft here&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.microsoft.com/en-us/download/details.aspx?id=49030&#34;&gt;Download Microsoft Office ADMX files for Group Policy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://config.office.com&#34;&gt;Microsoft 365 Apps admin center&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;creating-a-config-file&#34;&gt;Creating a Config File&lt;/h2&gt;
&lt;p&gt;Configuration of the Office suite is now done via an XML file. You can generate one by using &lt;a href=&#34;https://config.office.com&#34;&gt;the Microsoft 365 Apps admin center&lt;/a&gt;. Simply go to the site and click on the &amp;ldquo;Create a new configuration&amp;rdquo; button.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Under &amp;ldquo;Products and releases&amp;rdquo; choose what architecture and Office Suite you require, how often you want Office to update - I recommend the &amp;ldquo;Monthly Enterprise Channel&amp;rdquo;, and which apps to include or exclude.&lt;/li&gt;
&lt;li&gt;For &amp;ldquo;Language&amp;rdquo; either choose specific languages or &amp;ldquo;Match Operating System&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Under &amp;ldquo;Installation options&amp;rdquo; you should choose &amp;ldquo;Local source&amp;rdquo; and enter the &amp;ldquo;Source path&amp;rdquo; of: &lt;code&gt;Z:\Applications\[Your-Office-Install]&lt;/code&gt; as this will be where the files are stored in MDT. &lt;code&gt;Z:\&lt;/code&gt; is automatically mapped to &lt;code&gt;%deployroot%&lt;/code&gt; during an MDT Task Sequence.&lt;/li&gt;
&lt;li&gt;For the &amp;ldquo;Update and upgrade&amp;rdquo; options this will depend on whether you plan on Office updating from the internet on the systems once it is deployed, or if you want to have a central Office update on the local network (&lt;a href=&#34;https://gal.vin/utils/office-update-utility&#34;&gt;maybe using my Office Update Utility&lt;/a&gt;), or if you are using Config Manager.&lt;/li&gt;
&lt;li&gt;For the Upgrade options, these can be disabled as we will be installing office as part of a clean build of Windows.&lt;/li&gt;
&lt;li&gt;Under &amp;ldquo;Licensing and activation&amp;rdquo; you will need to set &amp;ldquo;Automatically accept the EULA&amp;rdquo; to enabled, set any product keys if required and choose what type of activation you need.&lt;/li&gt;
&lt;li&gt;For &amp;ldquo;General&amp;rdquo; provide your Company name and a description for this config file. I tend to use a brief list of the config choices for future reference.&lt;/li&gt;
&lt;li&gt;Under &amp;ldquo;Application preferences&amp;rdquo; you can set any specific preferences that you require.&lt;/li&gt;
&lt;li&gt;When you are happy with your config file, click &amp;ldquo;Export&amp;rdquo; and you will be prompted to choose the &amp;ldquo;Default File Format&amp;rdquo;. I generally choose the &amp;ldquo;Office Open XML formats&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Finally, accept the terms in the license agreement, enter a file name and download the file.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;downloading-the-office-installation-files&#34;&gt;Downloading the Office installation files&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;First download and extract the &lt;a href=&#34;https://www.microsoft.com/en-us/download/details.aspx?id=49117&#34;&gt;Office Deploy Tool (ODT) from Microsoft&lt;/a&gt; to a new folder. The included example XML files can be deleted.&lt;/li&gt;
&lt;li&gt;Put your XML config file in the same folder as the Office Deploy Tool.&lt;/li&gt;
&lt;li&gt;Make a copy of your XML config file and edit one of them.&lt;/li&gt;
&lt;li&gt;Edit the &amp;ldquo;SourcePath&amp;rdquo; near the top of the file to point to a location on your local drive, for example: &lt;code&gt;SourcePath=&amp;quot;C:\Users\sysadmin\Downloads\ODT&amp;quot;&lt;/code&gt; and then save it.&lt;/li&gt;
&lt;li&gt;Open a command prompt and change directory to the folder that contains the Office Deploy Tool and your config XML file.&lt;/li&gt;
&lt;li&gt;Run the following command to download the Office files: &lt;code&gt;setup.exe /download [your-edited-config.xml]&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;A new folder called &amp;ldquo;Office&amp;rdquo; will be created and the installation files will be stored there.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;importing-the-office-installation-files-into-mdt&#34;&gt;Importing the Office installation files into MDT&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Copy the entire folder containing the Office Deploy Tool, your config files and the Office folder to your MDT Applications folder.&lt;/li&gt;
&lt;li&gt;Rename the folder so it matches what you entered for the Source path when you created the config file on the Microsoft 365 Apps admin center website.&lt;/li&gt;
&lt;li&gt;Go to the MDT Deployment Workbench and open &amp;ldquo;Applications&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Right-click on &amp;ldquo;Applications&amp;rdquo; and click &amp;ldquo;New Application&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Choose &amp;ldquo;Application without source files or elsewhere on the network&amp;rdquo; and click Next.&lt;/li&gt;
&lt;li&gt;Enter an Application name and click Next.&lt;/li&gt;
&lt;li&gt;For the &amp;ldquo;Command line:&amp;rdquo; enter the following: &lt;code&gt;setup.exe /configure [your-config.xml]&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;For the &amp;ldquo;Working directory:&amp;rdquo; enter the following: &lt;code&gt;.\Applications\[Your-Office-Install]&lt;/code&gt; and then click Next.&lt;/li&gt;
&lt;li&gt;Finally on the summary screen click Next and then Finish.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;After importing the installation files you will now be able to install Office as part of a Windows deployment Task Sequence like any other application.&lt;/p&gt;
&lt;h2 id=&#34;group-policy-admx-files-for-office&#34;&gt;Group Policy ADMX Files for Office&lt;/h2&gt;
&lt;p&gt;The ADMX files for Office are backwards compatible with previous versions of Office back to Office 2016 and they can be &lt;a href=&#34;https://www.microsoft.com/en-us/download/details.aspx?id=49030&#34;&gt;downloaded here.&lt;/a&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>
        
        <media:content url="https://gal.vin//media/2022/office-logo.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Microsoft 365 Apps</category>
            
          
            
              <category>Microsoft Office</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>Guide</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>MDT User Permissions</title>
        <link>https://gal.vin/posts/2022/mdt-user-permissions/</link>
        <pubDate>Wed, 09 Mar 2022 05:28:45 +0000</pubDate>
        
        <atom:modified>Wed, 09 Mar 2022 05:28:45 +0000</atom:modified>
        <guid>https://gal.vin/posts/2022/mdt-user-permissions/</guid>
        <description>Before You Start In my previous MDT guides I&amp;rsquo;ve always assumed that the users doing the imaging are also admins of the MDT server, or even domain admins. In this brief guide I&amp;rsquo;ll outline the permissions needed for a regular, non-admin user to deploy a computer using MDT.
First we&amp;rsquo;ll need to create a group for the users who will be doing deployments. We&amp;rsquo;ll call the group &amp;ldquo;MDT-Users&amp;rdquo;.
Setting the Share Permissions We&amp;rsquo;ll now add the group to the ACL for the MDT Deployment share permissions.</description>
        <content:encoded>&lt;h2 id=&#34;before-you-start&#34;&gt;Before You Start&lt;/h2&gt;
&lt;p&gt;In my previous MDT guides I&amp;rsquo;ve always assumed that the users doing the imaging are also admins of the MDT server, or even domain admins. In this brief guide I&amp;rsquo;ll outline the permissions needed for a regular, non-admin user to deploy a computer using MDT.&lt;/p&gt;
&lt;p&gt;First we&amp;rsquo;ll need to create a group for the users who will be doing deployments. We&amp;rsquo;ll call the group &amp;ldquo;MDT-Users&amp;rdquo;.&lt;/p&gt;
&lt;h2 id=&#34;setting-the-share-permissions&#34;&gt;Setting the Share Permissions&lt;/h2&gt;
&lt;p&gt;We&amp;rsquo;ll now add the group to the ACL for the MDT Deployment share permissions. The group will need full access but we&amp;rsquo;ll lock down the permissions on the files and folders ACL.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Right-click on the Deployment share folder and select &amp;ldquo;Properties&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Click on the &amp;ldquo;Sharing&amp;rdquo; tab&lt;/li&gt;
&lt;li&gt;Click on &amp;ldquo;Advanced Sharing&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Tick the box &amp;ldquo;Share this folder&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Click on the &amp;ldquo;Permissions&amp;rdquo; button&lt;/li&gt;
&lt;li&gt;Click on the &amp;ldquo;Add&amp;rdquo; button and type in &amp;ldquo;MDT-Users&amp;rdquo; and click on &amp;ldquo;OK&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Check the &amp;ldquo;Allow&amp;rdquo; tick box for &amp;ldquo;Full Control&amp;rdquo; in the Permissions list&lt;/li&gt;
&lt;li&gt;Click OK on all the permissions windows that are open for the changes to be made.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src=&#34;https://gal.vin/media/2022/mdt-users-share-perms.webp&#34; alt=&#34;MDT Share Permissions&#34; /&gt;&lt;/p&gt;
&lt;h2 id=&#34;setting-the-file-permissions&#34;&gt;Setting the File Permissions&lt;/h2&gt;
&lt;p&gt;Next we&amp;rsquo;ll set the following permissions in the root of the Deployment share folder.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Right-click on the Deployment share folder and select &amp;ldquo;Properties&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Click on the &amp;ldquo;Security&amp;rdquo; tab&lt;/li&gt;
&lt;li&gt;Click on the &amp;ldquo;Advanced&amp;rdquo; button&lt;/li&gt;
&lt;li&gt;Add &amp;ldquo;MDT-Users&amp;rdquo; and ensure that the group only has &amp;ldquo;Read &amp;amp; execute&amp;rdquo; permissions.&lt;/li&gt;
&lt;li&gt;Click OK on all the permissions windows that are open for the changes to be made.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src=&#34;https://gal.vin/media/2022/mdt-users-file-perms.webp&#34; alt=&#34;MDT File Permissions&#34; /&gt;&lt;/p&gt;
&lt;h2 id=&#34;setting-file-permissions-for-deployment-logs&#34;&gt;Setting File Permissions for Deployment Logs&lt;/h2&gt;
&lt;p&gt;If you have logs configured, you&amp;rsquo;ll need to set the following permissions on the &amp;ldquo;Logs&amp;rdquo; folder.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Right-click on the Logs folder and select &amp;ldquo;Properties&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Click on the &amp;ldquo;Security&amp;rdquo; tab&lt;/li&gt;
&lt;li&gt;Click on the &amp;ldquo;Advanced&amp;rdquo; button&lt;/li&gt;
&lt;li&gt;Click on &amp;ldquo;Disable inheritance&amp;rdquo; and then click on &amp;ldquo;Convert inherited permissions into explicit permissions on the object&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Add or ensure that &amp;ldquo;MDT-Users&amp;rdquo; has &amp;ldquo;Modify&amp;rdquo; permissions.&lt;/li&gt;
&lt;li&gt;Click OK on all the permissions windows that are open for the changes to be made.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src=&#34;https://gal.vin/media/2022/mdt-users-logs-perms.webp&#34; alt=&#34;MDT Logs Permissions&#34; /&gt;&lt;/p&gt;
&lt;h2 id=&#34;setting-permissions-for-domain-join&#34;&gt;Setting Permissions for Domain Join&lt;/h2&gt;
&lt;p&gt;To add the deployed computer to Active Directory, a user account with the appropriate permissions can be configured in the CustomSettings.ini.&lt;/p&gt;
&lt;p&gt;Here is an example.&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;/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;; Join Domain Account
JoinDomain=contoso.com
DomainAdminDomain=contoso.com
DomainAdmin=mdt_admin
DomainAdminPassword=p@ssw0rd
MachineObjectOU=OU=PCs,DC=contoso,DC=com
&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 give the &amp;ldquo;mdt_admin&amp;rdquo; user the required permissions, I&amp;rsquo;d recommended creating a group also called &amp;ldquo;MDT-Admins&amp;rdquo; and then giving that group the following permissions in Active Directory.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In Active Directory Users and Computers, click on the &amp;ldquo;View&amp;rdquo; Menu and then click on the &amp;ldquo;Advanced Features&amp;rdquo; option.&lt;/li&gt;
&lt;li&gt;Now go to the OU where the PC accounts are created and right-click on the OU and select &amp;ldquo;Properties&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;In the new windows, click on the &amp;ldquo;Security&amp;rdquo; tab, then the &amp;ldquo;Advanced&amp;rdquo; button and then click the &amp;ldquo;Add&amp;rdquo; button.&lt;/li&gt;
&lt;li&gt;Next click on the &amp;ldquo;Select a principal&amp;rdquo; text and type the &amp;ldquo;MDT-Admins&amp;rdquo; group and then click OK.&lt;/li&gt;
&lt;li&gt;In the &amp;ldquo;Permissions:&amp;rdquo; section check &amp;ldquo;Create Computer Object&amp;rdquo; and &amp;ldquo;Delete Computer Object&amp;rdquo; and then click on OK.&lt;/li&gt;
&lt;li&gt;Once again, click on the &amp;ldquo;Add&amp;rdquo; button and then on the &amp;ldquo;Select a principal&amp;rdquo; text and type the &amp;ldquo;MDT-Admins&amp;rdquo; group and then click OK.&lt;/li&gt;
&lt;li&gt;Now click on the &amp;ldquo;Applies to&amp;rdquo; menu and change it to &amp;ldquo;Descendant Computer Objects&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;In the &amp;ldquo;Permissions:&amp;rdquo; section check the following:
&lt;ul&gt;
&lt;li&gt;Read All Properties&lt;/li&gt;
&lt;li&gt;Write All Properties&lt;/li&gt;
&lt;li&gt;Read Permissions&lt;/li&gt;
&lt;li&gt;Modify Permissions&lt;/li&gt;
&lt;li&gt;Change Password&lt;/li&gt;
&lt;li&gt;Reset Password&lt;/li&gt;
&lt;li&gt;Validate Write to DNS hostname&lt;/li&gt;
&lt;li&gt;Validate Write to Service Principal Name&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Finally, click OK on all the permissions windows that are open for the changes to be made.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;With these permissions any member of the &amp;ldquo;MDT-Admins&amp;rdquo; group will be able to join a computer to Active Directory and create a computer account in the OU that these permissions are made to.&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>
        
        <media:content url="https://gal.vin//media/2022/mdt-users-share-perms.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Windows Server</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Hyper-V Backup Utility - Update 22.02.08</title>
        <link>https://gal.vin/posts/2022/hv-bu-v220208/</link>
        <pubDate>Wed, 09 Feb 2022 00:30:30 +0000</pubDate>
        
        <atom:modified>Wed, 09 Feb 2022 00:30:30 +0000</atom:modified>
        <guid>https://gal.vin/posts/2022/hv-bu-v220208/</guid>
        <description>Version 22.02.08 Added fix for potential BSOD on Windows Server 2016 Hyper-V host when exporting VMs using VSS. The change to the registry will only happen if Windows Server 2016 is detected as the Hyper-V host and only if the registry value is in the default state. If it has been configured previously no change will be made. Issue #17 on GitHub
Thanks to the person who opened the issue on GitHub.</description>
        <content:encoded>&lt;h2 id=&#34;version-220208&#34;&gt;Version 22.02.08&lt;/h2&gt;
&lt;p&gt;Added fix for potential BSOD on Windows Server 2016 Hyper-V host when exporting VMs using VSS. The change to the registry will only happen if Windows Server 2016 is detected as the Hyper-V host and only if the registry value is in the default state. If it has been configured previously no change will be made. &lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility/issues/17&#34;&gt;Issue #17 on GitHub&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks to the person who opened the issue on GitHub.&lt;/p&gt;
&lt;p&gt;Hyper-V Backup Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Hyper-V-Backup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/hyperv-backup-utility/&#34;&gt;available here.&lt;/a&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>
        
        <media:content url="https://gal.vin//media/util-logos/hvbu.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Hyper-V Backup Utility - Update 22.01.19</title>
        <link>https://gal.vin/posts/2022/hv-bu-v220119/</link>
        <pubDate>Thu, 20 Jan 2022 13:27:36 +0000</pubDate>
        
        <atom:modified>Thu, 20 Jan 2022 13:27:36 +0000</atom:modified>
        <guid>https://gal.vin/posts/2022/hv-bu-v220119/</guid>
        <description>Flexible Hyper-V Backup Utility This update has substantial under-the-hood changes which may extend the length of time required to backup if you are using the -NoPerms. This is due to the addition of a check for the VM to be in a desired state of &amp;lsquo;off&amp;rsquo; and with a status of &amp;lsquo;Operating normally&amp;rsquo;. In short if a VM is merging disks after a shutdown the script will now wait until that is complete before continuing.</description>
        <content:encoded>&lt;h2 id=&#34;flexible-hyper-v-backup-utility&#34;&gt;Flexible Hyper-V Backup Utility&lt;/h2&gt;
&lt;p&gt;This update has substantial under-the-hood changes which may extend the length of time required to backup if you are using the -NoPerms. This is due to the addition of a check for the VM to be in a desired state of &amp;lsquo;off&amp;rsquo; and with a status of &amp;lsquo;Operating normally&amp;rsquo;. In short if a VM is merging disks after a shutdown the script will now wait until that is complete before continuing. This is due to &amp;lsquo;merging disks&amp;rsquo; being a &amp;lsquo;status&amp;rsquo; flag and not a &amp;lsquo;state&amp;rsquo; flag in Hyper-V.&lt;/p&gt;
&lt;p&gt;Additional checks have been put in place to ensure that a backup has succeeded before continuing with any removal of old files. If an error is encountered the utility will move on to the next VM.&lt;/p&gt;
&lt;p&gt;Finally, when using a VMs list file if there were empty lines the utility would attempted to backup a VM with nothing as the name. This could also lead to entire directories being deleted in error. The list file is now &amp;ldquo;cleaned&amp;rdquo; of empty lines on load. With this change and the above changes data loss should be less likely now. This utility is supposed to save data not remove it. :)&lt;/p&gt;
&lt;p&gt;Many thanks to people who opened issues in GitHub and helped me make this tool more robust.&lt;/p&gt;
&lt;h2 id=&#34;2022-01-20-version-220119&#34;&gt;2022-01-20: Version 22.01.19&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Added additional checks for success or failure in the backup, copy/compression process. If it fails none of the previous backups should be removed.&lt;/li&gt;
&lt;li&gt;When using -NoPerms the utility now waits for disk merging to complete before backing up.&lt;/li&gt;
&lt;li&gt;Utility now ignores blank lines in VM list file.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hyper-V Backup Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Hyper-V-Backup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/hyperv-backup-utility/&#34;&gt;available here.&lt;/a&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>
        
        <media:content url="https://gal.vin//media/util-logos/hvbu.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>File Admin Permissions</title>
        <link>https://gal.vin/posts/2022/file-admin-permissions/</link>
        <pubDate>Mon, 10 Jan 2022 12:41:46 +0000</pubDate>
        
        <atom:modified>Mon, 10 Jan 2022 12:41:46 +0000</atom:modified>
        <guid>https://gal.vin/posts/2022/file-admin-permissions/</guid>
        <description>Problem When browsing files and folders on your file servers as an admin, you receive &amp;ldquo;You don&amp;rsquo;t currently have permission to access this folder. Click Continue to permanently get access to this folder.&amp;rdquo;, even though you should have access and are a member of the &amp;ldquo;Administrators&amp;rdquo; or &amp;ldquo;Domain Admins&amp;rdquo; group. When clicking &amp;ldquo;Continue&amp;rdquo; you are given access, but your user account is added to the permissions list. With many accounts this can make a mess of permissions.</description>
        <content:encoded>&lt;h2 id=&#34;problem&#34;&gt;Problem&lt;/h2&gt;
&lt;p&gt;When browsing files and folders on your file servers as an admin, you receive &amp;ldquo;You don&amp;rsquo;t currently have permission to access this folder. Click Continue to permanently get access to this folder.&amp;rdquo;, even though you &lt;em&gt;should&lt;/em&gt; have access and are a member of the &amp;ldquo;Administrators&amp;rdquo; or &amp;ldquo;Domain Admins&amp;rdquo; group. When clicking &amp;ldquo;Continue&amp;rdquo; you are given access, but your user account is added to the permissions list. With many accounts this can make a mess of permissions.&lt;/p&gt;
&lt;h2 id=&#34;solution&#34;&gt;Solution&lt;/h2&gt;
&lt;p&gt;The best thing I&amp;rsquo;ve found is to make a group for &amp;ldquo;File Server Admins&amp;rdquo;, add the required user accounts and then add the group to the permissions list for the required folders/files and give it the required permissions.&lt;/p&gt;
&lt;p&gt;You could also launch Windows Explorer as administrator if you just need a quick and dirty work around.&lt;/p&gt;
&lt;h2 id=&#34;why-this-happens&#34;&gt;Why this happens&lt;/h2&gt;
&lt;p&gt;The problem is related to User Account Control (UAC), explorer.exe and using built-in groups such as &amp;ldquo;Administrators&amp;rdquo; or &amp;ldquo;Domain Admins&amp;rdquo;. Microsoft has a good write up on the &lt;a href=&#34;https://docs.microsoft.com/en-US/troubleshoot/windows-server/windows-security/dont-have-permission-access-folder&#34;&gt;problem, here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This still comes up from time to time and I always have to go looking through my notes. Hopefully this quick post helps you out. :)&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>
        
        <media:content url="https://gal.vin//media/2022/you-dont-have-permission-admin.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Windows Server</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>User Home Permissions</title>
        <link>https://gal.vin/posts/2022/user-home-permissions/</link>
        <pubDate>Fri, 07 Jan 2022 15:51:12 +0000</pubDate>
        
        <atom:modified>Fri, 07 Jan 2022 15:51:12 +0000</atom:modified>
        <guid>https://gal.vin/posts/2022/user-home-permissions/</guid>
        <description>Before You Start By default, Windows Server does a decent job these days of setting up secure permissions for user home directories but only if you use the various wizards that are built-in to the server manager. Sometimes you just want to create some directories and shares and have them good to go. I mean how hard can it be right?
First things first, create a folder that will be the User Home root, we&amp;rsquo;ll set the permissions and share permissions on this folder.</description>
        <content:encoded>&lt;h2 id=&#34;before-you-start&#34;&gt;Before You Start&lt;/h2&gt;
&lt;p&gt;By default, Windows Server does a decent job these days of setting up secure permissions for user home directories but only if you use the various wizards that are built-in to the server manager. Sometimes you just want to create some directories and shares and have them good to go. I mean how hard can it be right?&lt;/p&gt;
&lt;p&gt;First things first, create a folder that will be the User Home root, we&amp;rsquo;ll set the permissions and share permissions on this folder. For the purposes of this article, we&amp;rsquo;ll be using &amp;ldquo;X:\User-Homes&amp;rdquo; as the root.&lt;/p&gt;
&lt;h2 id=&#34;setting-the-share-permissions&#34;&gt;Setting the Share Permissions&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Right-click on the User-Homes folder and select &amp;ldquo;Properties&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Click on the &amp;ldquo;Sharing&amp;rdquo; tab&lt;/li&gt;
&lt;li&gt;Click on &amp;ldquo;Advanced Sharing&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Tick the box &amp;ldquo;Share this folder&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Click on the &amp;ldquo;Permissions&amp;rdquo; button&lt;/li&gt;
&lt;li&gt;Remove &amp;ldquo;Everyone&amp;rdquo; from the list of Group or usernames&lt;/li&gt;
&lt;li&gt;Click on the &amp;ldquo;Add&amp;rdquo; button and type in &amp;ldquo;Domain Users&amp;rdquo; and click on &amp;ldquo;OK&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Check the &amp;ldquo;Allow&amp;rdquo; tick box for &amp;ldquo;Full Control&amp;rdquo; in the Permissions list&lt;/li&gt;
&lt;li&gt;Click OK on all the permissions windows that are open for the changes to be made.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Share permissions are not as granular as file permissions, so it&amp;rsquo;s best to set &amp;ldquo;Full Control&amp;rdquo; for all &amp;ldquo;Domain Users&amp;rdquo; to minimize future problems and help with troubleshooting. Using &amp;ldquo;Everyone&amp;rdquo; is too open as the share is essentially wide open to unauthenticated users.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://gal.vin/media/2022/user-share-perms.webp&#34; alt=&#34;User Share Permissions&#34; /&gt;&lt;/p&gt;
&lt;h2 id=&#34;setting-the-file-permissions&#34;&gt;Setting the File Permissions&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Right-click on the User-Homes folder and select &amp;ldquo;Properties&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Click on the &amp;ldquo;Security&amp;rdquo; tab&lt;/li&gt;
&lt;li&gt;Click on the &amp;ldquo;Advanced&amp;rdquo; button&lt;/li&gt;
&lt;li&gt;Click on &amp;ldquo;Disable inheritance&amp;rdquo; and then click on &amp;ldquo;Convert inherited permissions into explicit permissions on the object&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Add or ensure that &amp;ldquo;CREATOR OWNER&amp;rdquo; has &amp;ldquo;Full Control&amp;rdquo; and &amp;ldquo;Subfolders and files only&amp;rdquo; is in the &amp;ldquo;Applies to&amp;rdquo; column&lt;/li&gt;
&lt;li&gt;Add &amp;ldquo;Domain Users&amp;rdquo; and set the &amp;ldquo;Applies to:&amp;rdquo; drop down to &amp;ldquo;This folder only&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Click on &amp;ldquo;Show advanced permissions&amp;rdquo; and tick the box &amp;ldquo;Create folders / append data&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Click OK on all the permissions windows that are open for the changes to be made.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This will set the permissions on the folder so that a user will be able to create their own home folder. If you use Folder Redirection in Group Policy, the users home folder will be automatically created when the user first logs on. Manually setting the home directory and drive letter in Active Directory will also create a home folder and set the permissions automatically.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://gal.vin/media/2022/advanced-user-perms.webp&#34; alt=&#34;Advanced User Permissions&#34; /&gt;&lt;/p&gt;
&lt;h2 id=&#34;administration-access&#34;&gt;Administration Access&lt;/h2&gt;
&lt;p&gt;If you follow the steps above no-one except the owner will be able to access each user&amp;rsquo;s home folder, not even admins. It is often desirable for admins to be able to access user data on a file server. Follow the steps below to add a given user or group full access to user homes.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Right-click on the User-Homes folder and select &amp;ldquo;Properties&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Click on the &amp;ldquo;Security&amp;rdquo; tab&lt;/li&gt;
&lt;li&gt;Click on the &amp;ldquo;Advanced&amp;rdquo; button&lt;/li&gt;
&lt;li&gt;Click the &amp;ldquo;Change&amp;rdquo; text next to the &amp;ldquo;Owner:&amp;rdquo; information&lt;/li&gt;
&lt;li&gt;Add the user or group you wish to give full access to and click on OK&lt;/li&gt;
&lt;li&gt;Tick the box &amp;ldquo;Replace owner on sub containers and objects&amp;rdquo; and then click on Apply&lt;/li&gt;
&lt;li&gt;A dialogue box will pop up saying &amp;ldquo;If you have just taken ownership of this object, you will need to close and reopen this object&amp;rsquo;s properties before you can view or change permissions.&amp;rdquo; Click &amp;ldquo;OK&amp;rdquo; on it and all open permission windows.&lt;/li&gt;
&lt;li&gt;Go back to the &amp;ldquo;Advanced&amp;rdquo; permission window using steps 1 - 3&lt;/li&gt;
&lt;li&gt;Click on &amp;ldquo;Add&amp;rdquo; and then &amp;ldquo;Select a principal&amp;rdquo; and enter the user or group you wish to give Full Access&lt;/li&gt;
&lt;li&gt;Ensure that the &amp;ldquo;Applies to:&amp;rdquo; drop down is set to &amp;ldquo;This folder subfolders and files&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Tick the &amp;ldquo;Full control&amp;rdquo; box under &amp;ldquo;Basic permissions:&amp;rdquo; and then click on OK&lt;/li&gt;
&lt;li&gt;Click on &amp;ldquo;Apply&amp;rdquo; to apply to permissions and the user or group you specified will have complete access to.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src=&#34;https://gal.vin/media/2022/admin-perms.webp&#34; alt=&#34;Admin Permissions&#34; /&gt;&lt;/p&gt;
&lt;h2 id=&#34;fixing-permissions-with-existing-user-homes&#34;&gt;Fixing Permissions with Existing User Homes&lt;/h2&gt;
&lt;p&gt;All the above is great if you&amp;rsquo;re creating a new user home share, but what if you have an existing one with hundreds/thousands of users and you want to reset the permissions? Well, that&amp;rsquo;s where a script can come in handy.&lt;/p&gt;
&lt;p&gt;You can &lt;a href=&#34;https://raw.githubusercontent.com/Digressive/Handy-Dandy-Scripts/master/File-System/Fix-User-Home-ACLs.ps1&#34;&gt;download my script from GitHub.&lt;/a&gt; You&amp;rsquo;ll need to configure the location of your user homes; I&amp;rsquo;m also assuming that the user home folders are named after the sam account name of the user. The script will go through each folder it finds in the root of the user home location and take ownership of the files, reset the permissions to the inherited permissions from the root folder and then give the user full access to the folder.&lt;/p&gt;
&lt;p&gt;The script is not guaranteed to be perfect for everyone&amp;rsquo;s environment so I would recommend taking a look and seeing if it fits your needs.&lt;/p&gt;
&lt;p&gt;Also, one last thing, although the script is a PowerShell script you&amp;rsquo;ll noticed that I&amp;rsquo;m still using the old takeown.exe and icacls.exe utility. This is simply because they are easy to use and the built in PowerShell commands Get-ACL and Set-ACL aren&amp;rsquo;t as easy to use as these old utilities. There are other third-party modules out there but the old utilities work and this shouldn&amp;rsquo;t be something you need to do a lot.&lt;/p&gt;
&lt;p&gt;I hope this helps and thanks for reading.&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>
        
        <media:content url="https://gal.vin//media/2022/advanced-user-perms.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Windows Server</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>Image Factory Utility - Update 21.12.02</title>
        <link>https://gal.vin/posts/2021/imgfac-v211202/</link>
        <pubDate>Thu, 02 Dec 2021 16:17:17 +0000</pubDate>
        
        <atom:modified>Thu, 02 Dec 2021 16:17:17 +0000</atom:modified>
        <guid>https://gal.vin/posts/2021/imgfac-v211202/</guid>
        <description>Automate Creation of WIM Files This is the initial release of a new version of my Image Factory Utility with support for Oracle Virtual Box. I&amp;rsquo;ve tested it myself, but there may be issues on other setups, so I&amp;rsquo;d be interested in hearing if anyone has problems when using Virtual Box.
2021-12-02: Version 21.12.01  Added option to use Oracle Virtual Box instead of Hyper-V. Configured logs path now is created, if it does not exist.</description>
        <content:encoded>&lt;h3 id=&#34;automate-creation-of-wim-files&#34;&gt;Automate Creation of WIM Files&lt;/h3&gt;
&lt;p&gt;This is the initial release of a new version of my Image Factory Utility with support for Oracle Virtual Box. I&amp;rsquo;ve tested it myself, but there may be issues on other setups, so I&amp;rsquo;d be interested in hearing if anyone has problems when using Virtual Box.&lt;/p&gt;
&lt;h3 id=&#34;2021-12-02-version-211201&#34;&gt;2021-12-02: Version 21.12.01&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added option to use Oracle Virtual Box instead of Hyper-V.&lt;/li&gt;
&lt;li&gt;Configured logs path now is created, if it does not exist.&lt;/li&gt;
&lt;li&gt;Added OS version info.&lt;/li&gt;
&lt;li&gt;Added an option to specify the Port for SMTP communication.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Image Factory Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Image-Factory&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/Image-Factory&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/image-factory-utility/&#34;&gt;available here&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h3&gt;
&lt;p&gt;Please consider supporting my work:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Support with a one-time payment 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>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Deploy Windows 10 21H2 Reference Image</title>
        <link>https://gal.vin/posts/2021/deploy-windows-10-21h2/</link>
        <pubDate>Mon, 22 Nov 2021 17:31:00 +0000</pubDate>
        
        <atom:modified>Mon, 22 Nov 2021 17:31:00 +0000</atom:modified>
        <guid>https://gal.vin/posts/2021/deploy-windows-10-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.  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 10 21H2 Reference Image
Installing the MDT Update: MDT_KB4564442 Extract the files from the self-extracting archive and copy them to %ProgramFiles%\Microsoft Deployment Toolkit\Templates\Distribution\Tools replacing the existing files.</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;/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-10-21h2/&#34;&gt;Build and Capture Windows 10 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 later&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;add-an-operating-system&#34;&gt;Add an Operating System&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Go to Deployment Workbench &amp;gt; Operating Systems&lt;/li&gt;
&lt;li&gt;Right click and select Import Operating System&lt;/li&gt;
&lt;li&gt;In the wizard, select Custom image file and then navigate to the Captures folder of the Build Deployment Share as the Source file&lt;/li&gt;
&lt;li&gt;When prompted to Specify operating system setup files, select Setup files are not needed&lt;/li&gt;
&lt;li&gt;For the destination directory name enter a name that you want to use and complete the wizard&lt;/li&gt;
&lt;li&gt;Go to the Operating Systems node and rename the reference image we just captured to something more readable&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;create-a-task-sequence&#34;&gt;Create a Task Sequence&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In Deployment Workbench, go to Task Sequences&lt;/li&gt;
&lt;li&gt;Right click and select New Task Sequence&lt;/li&gt;
&lt;li&gt;For the ID enter: W10-21H2&lt;/li&gt;
&lt;li&gt;Name it Deploy Windows 10 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. Create a new VM in Hyper-V with the following configuration:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For Hyper-V Only: Generation 1, not 2. I&amp;rsquo;ve had issues reported with Gen2 VMs&lt;/li&gt;
&lt;li&gt;At least 2x vCPUs&lt;/li&gt;
&lt;li&gt;At least 4GB of RAM&lt;/li&gt;
&lt;li&gt;Network Adaptor with access the local network&lt;/li&gt;
&lt;li&gt;Virtual Hard Drive of at least 40GB, preferably on fast media&lt;/li&gt;
&lt;li&gt;Boot from CD using the &lt;code&gt;LiteTouchPE_x64-deploy.iso&lt;/code&gt; from MDT&lt;/li&gt;
&lt;li&gt;If using Hyper-V on Windows 10 1709 or above, make sure Use Automatic Checkpoints is disabled&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Start the VM and it will boot from the &lt;code&gt;LiteTouchPE_x64-deploy.iso&lt;/code&gt; into the deployment environment, you will be presented with a login screen and here you should login with the Active Directory credentials that have access to the Deployment Share. Once logged in you will be presented with a screen with the name of the Task Sequence you created earlier. Select your Task Sequence and click Next. You&amp;rsquo;ll be prompted to enter a name for the device, it will also be added to Active Directory under this name. Click Next and the task sequence will begin.&lt;/p&gt;
&lt;p&gt;When the task sequence completes the VM will be shutdown.&lt;/p&gt;
&lt;p&gt;This completes the basic testing of the deployment task sequence. Now we&amp;rsquo;ll get into drivers and further configuration.&lt;/p&gt;
&lt;h3 id=&#34;setting-the-default-application-associations&#34;&gt;Setting the Default Application Associations&lt;/h3&gt;
&lt;p&gt;Here&amp;rsquo;s how to configure the default application associations in the deployment task sequence.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Using an existing Windows 10 install navigate to Settings &amp;gt; System &amp;gt; Default apps&lt;/li&gt;
&lt;li&gt;Set the Default apps and any other file associations as required&lt;/li&gt;
&lt;li&gt;Open Windows PowerShell (Admin) by right-clicking on the Windows/Start button or pressing Win + X&lt;/li&gt;
&lt;li&gt;In the PowerShell window type the following and press enter: &lt;code&gt;Dism /Online /Export-DefaultAppAssociations:C:\AppAssoc.xml&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;After a few seconds you should see The operation completed successfully in the PowerShell window&lt;/li&gt;
&lt;li&gt;Navigate to &lt;code&gt;C:\&lt;/code&gt; and copy &lt;code&gt;AppAssoc.xml&lt;/code&gt; to your MDT deployment share: &lt;code&gt;\\SERVER-NAME\Deploy$\_custom&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Open the Deployment Workbench and go to Deployment Share &amp;gt; Task Sequences&lt;/li&gt;
&lt;li&gt;Right click on the Task Sequence Deploy Windows 10 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%\_custom\AppAssoc.xml&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Click Apply to save the changes&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;driver-management&#34;&gt;Driver Management&lt;/h3&gt;
&lt;p&gt;Now we&amp;rsquo;re going to configure how drivers are installed for the physical devices we&amp;rsquo;re going to deploy Windows 10 to. There are a few ways to do this, here I&amp;rsquo;ll show the &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 10 is good at installing missing drivers from Windows Update, but it can take some time and it would be better for the device to be running with all the drivers it needs once deployment has completed.&lt;/p&gt;
&lt;p&gt;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 10 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 10 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 10 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 10 21H2 November 2021 Update</category>
            
          
            
              <category>Hyper-V</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Build and Capture Windows 10 21H2 Reference Image</title>
        <link>https://gal.vin/posts/2021/build-capture-windows-10-21h2/</link>
        <pubDate>Mon, 22 Nov 2021 17:30:53 +0000</pubDate>
        
        <atom:modified>Mon, 22 Nov 2021 17:30:53 +0000</atom:modified>
        <guid>https://gal.vin/posts/2021/build-capture-windows-10-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.  In this article as with my previous ones we will walk through installing and configuring Microsoft Deployment Toolkit to build and capture a reference image of Windows 10 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.</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;/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 10 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/windows10&#34;&gt;Windows 10 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;h3 id=&#34;installing-microsoft-deployment-toolkit-and-dependencies&#34;&gt;Installing Microsoft Deployment Toolkit and Dependencies&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;First, we&amp;rsquo;ll install the Windows 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;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:\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;h3 id=&#34;adding-an-operating-system&#34;&gt;Adding an Operating System&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Mount the Windows 10 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 10 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 10 21H2 and complete the wizard&lt;/li&gt;
&lt;li&gt;Go to the Operating Systems &amp;gt; Windows 10 21H2 node and rename the new entries added to Windows 10 21H2 Edition for ease of use&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;creating-package-folder-for-future-updates&#34;&gt;Creating Package Folder for Future Updates&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Go to Deployment Workbench &amp;gt; Packages&lt;/li&gt;
&lt;li&gt;Create a folder named Windows 10 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 10 21H2 that we make available through MDT.&lt;/p&gt;
&lt;h3 id=&#34;creating-a-selection-profile&#34;&gt;Creating A Selection Profile&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Expand the 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 10 21H2&lt;/li&gt;
&lt;li&gt;On the Folders page, tick the Windows 10 21H2 folder under Packages and complete the wizard&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;importing-applications&#34;&gt;Importing Applications&lt;/h3&gt;
&lt;p&gt;If you want to add some applications to be a part of your reference image, here I&amp;rsquo;ll cover how to add VLC as an example application&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to 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;h3 id=&#34;configuring-applications&#34;&gt;Configuring Applications&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Right click on VLC, go to the Details tab&lt;/li&gt;
&lt;li&gt;Enter the following for the 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;h3 id=&#34;creating-a-task-sequence&#34;&gt;Creating a Task Sequence&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In Deployment Workbench, go to Task Sequences&lt;/li&gt;
&lt;li&gt;Right click and select New Task Sequence&lt;/li&gt;
&lt;li&gt;For the ID enter: W10-21H2&lt;/li&gt;
&lt;li&gt;Name it Build Windows 10 21H2&lt;/li&gt;
&lt;li&gt;Select Standard Client Task Sequence&lt;/li&gt;
&lt;li&gt;Select the Operating System Windows 10 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;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;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 10 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;h3 id=&#34;creating-a-service-account-for-mdt-in-active-directory&#34;&gt;Creating a service account for MDT in Active Directory&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Go to 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;h3 id=&#34;configuring-bootstrapini&#34;&gt;Configuring 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;span class=&#34;lnt&#34;&gt;7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;9
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Default
 
[Default]
DeployRoot=\\SERVER-NAME\Build$
UserDomain=contoso.com
UserID=mdt_admin
UserPassword=p@ssw0rd
SkipBDDWelcome=YES
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h3 id=&#34;configuring-customsettingsini&#34;&gt;Configuring CustomSettings.ini&lt;/h3&gt;
&lt;p&gt;On the 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;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-and-capturing-a-reference-image&#34;&gt;Testing and Capturing a Reference Image&lt;/h3&gt;
&lt;p&gt;To test everything, we need to copy the ISO file that we just generated. It is in the 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 10 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;W10-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 10 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-10-21h2/&#34;&gt;in this article&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h3&gt;
&lt;p&gt;Please consider supporting my work:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Support with a one-time donation using &lt;a href=&#34;https://www.paypal.me/digressive&#34;&gt;PayPal&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you have any questions or comments, please leave them below.&lt;/p&gt;
&lt;p&gt;-Mike&lt;/p&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Windows 10 21H2 November 2021 Update</category>
            
          
            
              <category>Hyper-V</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>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>On-Prem AD User Creator Utility - Update 21.09.20</title>
        <link>https://gal.vin/posts/2021/aducu-v210920/</link>
        <pubDate>Tue, 21 Sep 2021 02:13:45 +0100</pubDate>
        
        <atom:modified>Tue, 21 Sep 2021 02:13:45 +0100</atom:modified>
        <guid>https://gal.vin/posts/2021/aducu-v210920/</guid>
        <description>Configurable Script for Creating On-Prem Active Directory User Accounts I&amp;rsquo;ve completely re-written this utility to make it easier and simpler to use. You can now configure multiple groups for the users to be added to on creation and the sam account names are generated randomly from the names list CSV file.
The utility is intended to create a lot of users very quickly. By default usernames are first name and a three digit number and passwords are also generated randomly by the script.</description>
        <content:encoded>&lt;h3 id=&#34;configurable-script-for-creating-on-prem-active-directory-user-accounts&#34;&gt;Configurable Script for Creating On-Prem Active Directory User Accounts&lt;/h3&gt;
&lt;p&gt;I&amp;rsquo;ve completely re-written this utility to make it easier and simpler to use. You can now configure multiple groups for the users to be added to on creation and the sam account names are generated randomly from the names list CSV file.&lt;br /&gt;
The utility is intended to create a lot of users very quickly. By default usernames are first name and a three digit number and passwords are also generated randomly by the script. If your environment has different requirements, edits will be needed to the code.&lt;/p&gt;
&lt;h3 id=&#34;change-log&#34;&gt;Change Log&lt;/h3&gt;
&lt;h3 id=&#34;2021-09-20-version-210920&#34;&gt;2021-09-20: Version 21.09.20&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added code to make sure sam account name will never be more than 19 characters, due to the default sam account name length being 20 characters.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2021-09-15-version-210915&#34;&gt;2021-09-15: Version 21.09.15&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Completely rewritten to streamline the user creation process.&lt;/li&gt;
&lt;li&gt;User passwords are now randomly generated.&lt;/li&gt;
&lt;li&gt;Added option to add users to multiple groups.&lt;/li&gt;
&lt;li&gt;Utility will find groups based on the AD name. No more having to specify the whole DN.&lt;/li&gt;
&lt;li&gt;Added ASCII banner art when run in the console.&lt;/li&gt;
&lt;li&gt;Added option to disable the ASCII banner art.&lt;/li&gt;
&lt;li&gt;Added an option to specify the Port for SMTP communication.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;download&#34;&gt;Download&lt;/h3&gt;
&lt;p&gt;On-Prem AD User Creator Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/On-Prem-AD-User-Creator-Utility&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/on-prem-ad-user-creator-utility/&#34;&gt;available here&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h3&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>PowerShell Utility</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>Hyper-V Backup Utility - Update 21.08.10</title>
        <link>https://gal.vin/posts/2021/hv-bu-v210810/</link>
        <pubDate>Tue, 10 Aug 2021 16:13:11 +0100</pubDate>
        
        <atom:modified>Tue, 10 Aug 2021 16:13:11 +0100</atom:modified>
        <guid>https://gal.vin/posts/2021/hv-bu-v210810/</guid>
        <description>Flexible Hyper-V Backup Utility I&amp;rsquo;ve (finally) added the option to specify the port for the SMTP server. If not configured it will use the default of port 25.
2021-08-10: Version 21.08.10  Added an option to specify the Port for SMTP communication.  Hyper-V Backup Utility can be downloaded from:
 The Microsoft PowerShell Gallery GitHub  See the full documentation available here.
Support My Work If you would like to support me, please check out the link below.</description>
        <content:encoded>&lt;h3 id=&#34;flexible-hyper-v-backup-utility&#34;&gt;Flexible Hyper-V Backup Utility&lt;/h3&gt;
&lt;p&gt;I&amp;rsquo;ve (finally) added the option to specify the port for the SMTP server. If not configured it will use the default of port 25.&lt;/p&gt;
&lt;h3 id=&#34;2021-08-10-version-210810&#34;&gt;2021-08-10: Version 21.08.10&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added an option to specify the Port for SMTP communication.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hyper-V Backup Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Hyper-V-Backup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/hyperv-backup-utility/&#34;&gt;available here&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h3&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>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Hyper-V Backup Utility - Update 21.07.02</title>
        <link>https://gal.vin/posts/2021/hv-bu-v210703/</link>
        <pubDate>Sat, 03 Jul 2021 10:30:26 +0100</pubDate>
        
        <atom:modified>Sat, 03 Jul 2021 10:30:26 +0100</atom:modified>
        <guid>https://gal.vin/posts/2021/hv-bu-v210703/</guid>
        <description>Flexible Hyper-V Backup Utility Since implementing support for 7-Zip it has added a whole load of additional possibilities to test for. This has created some difficulties for me, however I have been hard at work and have believe I&amp;rsquo;ve tackled the problem by introducing a formal testing process (and mostly automated it) in order to test some popular possible configs. You should be able to use any option that 7-zip supports, although currently the only options I&amp;rsquo;ve tested fully are &amp;lsquo;-t&amp;rsquo; archive type, &amp;lsquo;-p&amp;rsquo; password and &amp;lsquo;-v&amp;rsquo; split files.</description>
        <content:encoded>&lt;h3 id=&#34;flexible-hyper-v-backup-utility&#34;&gt;Flexible Hyper-V Backup Utility&lt;/h3&gt;
&lt;p&gt;Since implementing support for 7-Zip it has added a whole load of additional possibilities to test for. This has created some difficulties for me, however I have been hard at work and have believe I&amp;rsquo;ve tackled the problem by introducing a formal testing process (and mostly automated it) in order to test some popular possible configs. You should be able to use any option that 7-zip supports, although currently the only options I&amp;rsquo;ve tested fully are &amp;lsquo;-t&amp;rsquo; archive type, &amp;lsquo;-p&amp;rsquo; password and &amp;lsquo;-v&amp;rsquo; split files.&lt;/p&gt;
&lt;p&gt;As always if you encounter any problems, please reach out to me at the links below and I&amp;rsquo;ll provide support.&lt;/p&gt;
&lt;h3 id=&#34;2021-07-02-version-210702&#34;&gt;2021-07-02: Version 21.07.02&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Fixed many bugs introduced with implementing more 7-zip options. 7-zip options I&amp;rsquo;ve tested fully are &amp;lsquo;-t&amp;rsquo; archive type, &amp;lsquo;-p&amp;rsquo; password and &amp;lsquo;-v&amp;rsquo; split files.&lt;/li&gt;
&lt;li&gt;Implemented and automated a formal testing process.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hyper-V Backup Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Hyper-V-Backup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/hyperv-backup-utility/&#34;&gt;available here&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h3&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>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Image Factory Utility - Update 21.06.22</title>
        <link>https://gal.vin/posts/2021/imgfac-v210622/</link>
        <pubDate>Tue, 22 Jun 2021 23:01:05 +0100</pubDate>
        
        <atom:modified>Tue, 22 Jun 2021 23:01:05 +0100</atom:modified>
        <guid>https://gal.vin/posts/2021/imgfac-v210622/</guid>
        <description>Automate Creation of WIM Files Just a small update to this utility. Some tidying up of code and added a progression bar so you can see at a glance how far through the list of TS ID&amp;rsquo;s the script is.
2021-06-22: Version 21.06.22  Added a progression bar display. Changed a variable to prevent conflicts with future PowerShell versions.  Image Factory Utility can be downloaded from:
 The Microsoft PowerShell Gallery GitHub  See the full documentation available here.</description>
        <content:encoded>&lt;h3 id=&#34;automate-creation-of-wim-files&#34;&gt;Automate Creation of WIM Files&lt;/h3&gt;
&lt;p&gt;Just a small update to this utility. Some tidying up of code and added a progression bar so you can see at a glance how far through the list of TS ID&amp;rsquo;s the script is.&lt;/p&gt;
&lt;h3 id=&#34;2021-06-22-version-210622&#34;&gt;2021-06-22: Version 21.06.22&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added a progression bar display.&lt;/li&gt;
&lt;li&gt;Changed a variable to prevent conflicts with future PowerShell versions.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Image Factory Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Image-Factory&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/Image-Factory&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/image-factory-utility/&#34;&gt;available here&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h3&gt;
&lt;p&gt;Please consider supporting my work:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Support with a one-time payment 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>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Hyper-V Backup Utility - Update 21.06.14</title>
        <link>https://gal.vin/posts/2021/hv-bu-v210614/</link>
        <pubDate>Mon, 14 Jun 2021 22:28:51 +0100</pubDate>
        
        <atom:modified>Mon, 14 Jun 2021 22:28:51 +0100</atom:modified>
        <guid>https://gal.vin/posts/2021/hv-bu-v210614/</guid>
        <description>Flexible Hyper-V Backup Utility Just a small update to add the ability to use any 7-zip command line option with the utility.
2021-06-14: Version 21.06.14  Replaced -Sz* specific options with -SzOptions which will support any option that 7-zip supports.  Hyper-V Backup Utility can be downloaded from:
 The Microsoft PowerShell Gallery GitHub  See the full documentation available here.
Support My Work If you would like to support me, please check out the link below.</description>
        <content:encoded>&lt;h3 id=&#34;flexible-hyper-v-backup-utility&#34;&gt;Flexible Hyper-V Backup Utility&lt;/h3&gt;
&lt;p&gt;Just a small update to add the ability to use any 7-zip command line option with the utility.&lt;/p&gt;
&lt;h3 id=&#34;2021-06-14-version-210614&#34;&gt;2021-06-14: Version 21.06.14&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Replaced -Sz* specific options with -SzOptions which will support any option that 7-zip supports.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hyper-V Backup Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Hyper-V-Backup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/hyperv-backup-utility/&#34;&gt;available here&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h3&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>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Disable The News and Interests Bar in Windows 10</title>
        <link>https://gal.vin/posts/2021/disable-news-interests-bar/</link>
        <pubDate>Thu, 10 Jun 2021 15:26:20 +0100</pubDate>
        
        <atom:modified>Thu, 10 Jun 2021 15:26:20 +0100</atom:modified>
        <guid>https://gal.vin/posts/2021/disable-news-interests-bar/</guid>
        <description>The New News and Interests Bar for Windows 10 In the June updates for Windows 10 the News and interests bar has been rolled out to Windows 10 and is enabled by default. If you want to disable it as a user, it&amp;rsquo;s easily done by right-clicking on the Taskbar &amp;gt; News and Interests &amp;gt; Turn off. Job done. 👍
Registry The registry entry for the setting is per-user and is located here:</description>
        <content:encoded>&lt;h2 id=&#34;the-new-news-and-interests-bar-for-windows-10&#34;&gt;The New News and Interests Bar for Windows 10&lt;/h2&gt;
&lt;p&gt;In the June updates for Windows 10 the &lt;em&gt;News and interests&lt;/em&gt; bar has been rolled out to Windows 10 and is enabled by default. If you want to disable it as a user, it&amp;rsquo;s easily done by right-clicking on the Taskbar &amp;gt; News and Interests &amp;gt; Turn off. Job done. 👍&lt;/p&gt;
&lt;h2 id=&#34;registry&#34;&gt;Registry&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\Feeds
&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;ShellFeedsTaskbarViewMode&lt;/code&gt; and it has 3 states:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;0 (Show icon and text)&lt;/li&gt;
&lt;li&gt;1 (Show only icon)&lt;/li&gt;
&lt;li&gt;2 (Hide everything)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;group-policy&#34;&gt;Group Policy&lt;/h2&gt;
&lt;p&gt;To disable this feature for all users using Group Policy, the setting can be found 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;Computer Configuration &amp;gt; Administrative Templates &amp;gt; Windows Components &amp;gt; News and interests
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;ul&gt;
&lt;li&gt;Enable news and interests on the taskbar&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Set this item to Disabled to remove it for all users on the PC by default.&lt;/p&gt;
&lt;h2 id=&#34;central-store&#34;&gt;Central Store&lt;/h2&gt;
&lt;p&gt;You may not see this setting in your Group Policy if you have created a Central Store for your Group Policy Objects. You&amp;rsquo;ll need to update the Central Store with the following files from a Windows 10 system with the June update:&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;C:\Windows\PolicyDefinitions\Feeds.admx
C:\Windows\PolicyDefinitions\en-US [or your language]\Feeds.adml
&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>
        
        
        
        
        
          
            
              <category>Group Policy</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
            
              <category>Windows Tweaks</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Hyper-V Backup Utility - Update 21.06.02</title>
        <link>https://gal.vin/posts/2021/hv-bu-v210602/</link>
        <pubDate>Wed, 02 Jun 2021 12:35:58 +0100</pubDate>
        
        <atom:modified>Wed, 02 Jun 2021 12:35:58 +0100</atom:modified>
        <guid>https://gal.vin/posts/2021/hv-bu-v210602/</guid>
        <description>Flexible Hyper-V Backup Utility A bug fix update. When using archive types other than zip, the backup files were not being moved from the working directory to the final backup location. Thanks to @gabfot1 on Twitter for the bug report.
2021-06-02: Version 21.06.02  Fixed an error where file types which are not .zip were not being moved from the working directory to the final backup location.  Hyper-V Backup Utility can be downloaded from:</description>
        <content:encoded>&lt;h3 id=&#34;flexible-hyper-v-backup-utility&#34;&gt;Flexible Hyper-V Backup Utility&lt;/h3&gt;
&lt;p&gt;A bug fix update. When using archive types other than zip, the backup files were not being moved from the working directory to the final backup location. Thanks to @gabfot1 on Twitter for the bug report.&lt;/p&gt;
&lt;h3 id=&#34;2021-06-02-version-210602&#34;&gt;2021-06-02: Version 21.06.02&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Fixed an error where file types which are not .zip were not being moved from the working directory to the final backup location.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hyper-V Backup Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Hyper-V-Backup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/hyperv-backup-utility/&#34;&gt;available here&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h3&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>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Hyper-V Backup Utility - Update 21.05.30</title>
        <link>https://gal.vin/posts/2021/hv-bu-v210530/</link>
        <pubDate>Sun, 30 May 2021 18:59:30 +0100</pubDate>
        
        <atom:modified>Sun, 30 May 2021 18:59:30 +0100</atom:modified>
        <guid>https://gal.vin/posts/2021/hv-bu-v210530/</guid>
        <description>Flexible Hyper-V Backup Utility Another substantial update. I&amp;rsquo;ve added the ability to support 7-Zip&amp;rsquo;s split file function and due to wanting to support for 7-Zip&amp;rsquo;s other file formats I&amp;rsquo;ve had to make the difficult decision to alter how the configuration switches are handled. This means that this updated script may not be a simple drop in replacement if you are using a previous version with 7-Zip features.
The biggest change is that when using 7-Zip features you will need to add an additional hyphen &amp;lsquo;-&amp;rsquo; to the configuration.</description>
        <content:encoded>&lt;h3 id=&#34;flexible-hyper-v-backup-utility&#34;&gt;Flexible Hyper-V Backup Utility&lt;/h3&gt;
&lt;p&gt;Another substantial update. I&amp;rsquo;ve added the ability to support 7-Zip&amp;rsquo;s split file function and due to wanting to support for 7-Zip&amp;rsquo;s other file formats I&amp;rsquo;ve had to make the difficult decision to alter how the configuration switches are handled. This means that this updated script may not be a simple drop in replacement if you are using a previous version with 7-Zip features.&lt;/p&gt;
&lt;p&gt;The biggest change is that when using 7-Zip features you will need to add an additional hyphen &amp;lsquo;-&amp;rsquo; to the configuration. For example, to configure the number of threads that 7-Zip uses for compression you will now need to enter &lt;code&gt;-SzThreads -mmt4&lt;/code&gt; otherwise the script will throw an error.&lt;/p&gt;
&lt;h3 id=&#34;2021-07-13-version-210530&#34;&gt;2021-07-13: Version 21.05.30&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added additional 7-Zip options. -SzSplit to split archives into configuration volumes.&lt;/li&gt;
&lt;li&gt;Changed existing switches for 7-Zip options. Users must now add an additional hyphen &amp;lsquo;-&amp;rsquo; for 7-Zip options. This has been done to better support features that 7-Zip supports.&lt;/li&gt;
&lt;li&gt;Changed how old files are removed. Users should take extra care if they are storing non back-up files in the backup location. This has been done so that 7-Zip&amp;rsquo;s split function can be supported.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hyper-V Backup Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Hyper-V-Backup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/hyperv-backup-utility/&#34;&gt;available here&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h3&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>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Deploy Windows 10 21H1 Reference Image</title>
        <link>https://gal.vin/posts/2021/deploy-windows-10-21h1/</link>
        <pubDate>Sun, 09 May 2021 00:51:50 +0100</pubDate>
        
        <atom:modified>Sun, 09 May 2021 00:51:50 +0100</atom:modified>
        <guid>https://gal.vin/posts/2021/deploy-windows-10-21h1/</guid>
        <description>News and Updates An update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released: This update fixes a boot loop issue. Details on how to install it are on Michael Niehaus&#39; blog post here and you can download the fix here. Installation instructions will also be in the walkthrough below. NOTE: If you have existing shares you will need to copy the files from the extracted update to %DeployRoot%\Tools and overwrite the existing files in all shares.</description>
        <content:encoded>&lt;h3 id=&#34;news-and-updates&#34;&gt;News and Updates&lt;/h3&gt;
&lt;p&gt;An update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released: This update fixes a boot loop issue. Details on how to install it are on &lt;a href=&#34;https://oofhours.com/2020/06/03/mdt-build-8456-needs-an-update-for-windows-10-2004/&#34;&gt;Michael Niehaus&#39; blog post here&lt;/a&gt; and you can &lt;a href=&#34;https://support.microsoft.com/en-us/help/4564442/windows-10-deployments-fail-with-microsoft-deployment-toolkit&#34;&gt;download the fix here&lt;/a&gt;. Installation instructions will also be in the walkthrough below. NOTE: If you have existing shares you will need to copy the files from the extracted update to &lt;code&gt;%DeployRoot%\Tools&lt;/code&gt; and overwrite the existing files in all shares. You will then need to update the deployment shares and recreate boot media.&lt;/p&gt;
&lt;p&gt;Lifecycle Support Notes from Microsoft: If you are using Enterprise or Education editions of Windows 10, from 1809 onwards the YY09 (YYH2) versions of Windows 10 will get 30 months of support and the YY03 versions will only get 18 months. So you may want to consider if you deploy the YY03 versions at all and focus on YY09 releases. Here&amp;rsquo;s the &lt;a href=&#34;https://support.microsoft.com/en-gb/help/13853/windows-lifecycle-fact-sheet&#34;&gt;official information from Microsoft here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This article is based on current information as of 2021-09-25. I will update it in future as things progress.&lt;/p&gt;
&lt;p&gt;In this article as with my previous ones we will walk through configuring Microsoft Deployment Toolkit to deploy the reference image created in the previous article: &lt;a href=&#34;https://gal.vin/posts/2021/build-capture-windows-10-21h1/&#34;&gt;Build and Capture Windows 10 21H1 Reference Image&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;installing-the-mdt-update-mdt_kb4564442&#34;&gt;Installing the MDT Update: MDT_KB4564442&lt;/h3&gt;
&lt;p&gt;Extract the files from the self-extracting archive and copy them to &lt;code&gt;%ProgramFiles%\Microsoft Deployment Toolkit\Templates\Distribution\Tools&lt;/code&gt; replacing the existing files. If you have existing shares you will need to copy the files from the update to &lt;code&gt;%DeployRoot%\Tools&lt;/code&gt; and overwrite the existing files in all shares. You will then need to update the deployment shares and recreate boot media.&lt;/p&gt;
&lt;h3 id=&#34;creating-the-deployment-share&#34;&gt;Creating the Deployment Share&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Open the Deployment Workbench from the Start Menu&lt;/li&gt;
&lt;li&gt;Right click on Deployment Shares&lt;/li&gt;
&lt;li&gt;Select New Deployment Share&lt;/li&gt;
&lt;li&gt;Enter the path for the Deployment Share: &lt;code&gt;E:\Deploy&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Enter the Share name: Deploy$&lt;/li&gt;
&lt;li&gt;Give the share a description&lt;/li&gt;
&lt;li&gt;On the Options screen, accept the defaults as we can change them later&lt;/li&gt;
&lt;li&gt;Complete the wizard to create the share&lt;/li&gt;
&lt;li&gt;By default, the share permissions are set the local administrators group. We&amp;rsquo;ll revisit this later&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;add-an-operating-system&#34;&gt;Add an Operating System&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Go to Deployment Workbench &amp;gt; Operating Systems&lt;/li&gt;
&lt;li&gt;Right click and select Import Operating System&lt;/li&gt;
&lt;li&gt;In the wizard, select Custom image file and then navigate to the Captures folder of the Build Deployment Share as the Source file&lt;/li&gt;
&lt;li&gt;When prompted to Specify operating system setup files, select Setup files are not needed&lt;/li&gt;
&lt;li&gt;For the destination directory name enter a name that you want to use and complete the wizard&lt;/li&gt;
&lt;li&gt;Go to the Operating Systems node and rename the reference image we just captured to something more readable&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;create-a-task-sequence&#34;&gt;Create a Task Sequence&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In Deployment Workbench, go to Task Sequences&lt;/li&gt;
&lt;li&gt;Right click and select New Task Sequence&lt;/li&gt;
&lt;li&gt;For the ID enter: W10-21H1&lt;/li&gt;
&lt;li&gt;Name it Deploy Windows 10 version 21H1&lt;/li&gt;
&lt;li&gt;Select Standard Client Task Sequence&lt;/li&gt;
&lt;li&gt;For the Operating System, select the custom image that we imported previously&lt;/li&gt;
&lt;li&gt;Select Do not specify a product key at this time if you are using KMS&lt;/li&gt;
&lt;li&gt;Enter an Organization name&lt;/li&gt;
&lt;li&gt;Enter the local Administrator password&lt;/li&gt;
&lt;li&gt;Complete the wizard&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now we&amp;rsquo;ll configure the Task Sequence.&lt;/p&gt;
&lt;h3 id=&#34;configuring-the-task-sequence&#34;&gt;Configuring the Task Sequence&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Right click on the Task Sequence just created and select Properties&lt;/li&gt;
&lt;li&gt;Expand the Initialization folder in the left-hand pane&lt;/li&gt;
&lt;li&gt;Go to the Gather local only item&lt;/li&gt;
&lt;li&gt;In the Properties window select Gather local data and process rules&lt;/li&gt;
&lt;li&gt;Enter the following in the Rules file: customsettings.ini&lt;/li&gt;
&lt;li&gt;Go to the State Restore folder and select Windows Update (Pre-Application Installation)&lt;/li&gt;
&lt;li&gt;On the right side of the Properties window, go to the Options tab&lt;/li&gt;
&lt;li&gt;Uncheck the Disable this step tick box and do the same with Windows Update (Post-Application Installation)&lt;/li&gt;
&lt;li&gt;Select the Install Applications item and check the Disable this step tick box&lt;/li&gt;
&lt;li&gt;Click Apply and close the Task Sequence&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;securing-the-deployment-share&#34;&gt;Securing the Deployment Share&lt;/h3&gt;
&lt;p&gt;In the previous post we created a user called &lt;code&gt;mdt_admin&lt;/code&gt; in Active Directory to be used as a service account. We must give that user access to the new deployment share we have created here.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to the server or PC where the Deployment Share is hosted&lt;/li&gt;
&lt;li&gt;Give the user &lt;code&gt;mdt_admin&lt;/code&gt; Full Control share permissions and Full Control permissions to all the files and folders in the Deployment Share&lt;/li&gt;
&lt;li&gt;You may also want to give similar permissions to users or groups that are going to be using the deployment share&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Next, we need to configure the Bootstrap.ini and the CustomSettings.ini files to control certain aspects of the deployment environment. The settings below are a bare minimum configuration from my lab, and you may want to add more to overtime.&lt;/p&gt;
&lt;h3 id=&#34;configure-bootstrapini&#34;&gt;Configure Bootstrap.ini&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In Deployment Workbench, right click the Deployment Share and select Properties&lt;/li&gt;
&lt;li&gt;Select the Rules tab and click the Edit Bootstrap.ini button&lt;/li&gt;
&lt;li&gt;Add the settings below to the Bootstrap.ini&lt;/li&gt;
&lt;li&gt;Close and Save the Bootstrap.ini&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;6
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Default
 
[Default]
DeployRoot=\\SERVER-NAME\Deploy$
SkipBDDWelcome=YES
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h3 id=&#34;configure-customsettingsini&#34;&gt;Configure CustomSettings.ini&lt;/h3&gt;
&lt;p&gt;The settings below deserve some explanation. The &lt;code&gt;[Virtual Machine]&lt;/code&gt; section is regarding driver installs which we&amp;rsquo;ll cover more later in this post. The Join Domain section is important. Here I&amp;rsquo;ve put the &lt;code&gt;mdt_admin&lt;/code&gt; account to use as the account to join the device being imaged to the domain contoso.com. If you are following this guide to the letter, the &lt;code&gt;mdt_admin&lt;/code&gt; account would not have the appropriate permissions to join a device to a domain, and so you should either give it the permissions required or create a new account for that specific purpose.&lt;/p&gt;
&lt;p&gt;The other settings are location preferences relevant to the UK and resolution settings which prevent the finished device from defaulting to a resolution of 1024 x 768, and instead use the recommended resolution Windows receives from the display.&lt;/p&gt;
&lt;p&gt;On the Rules tab of the Deployment Share properties window, add the settings below.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;15
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;16
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;17
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;18
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;19
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;20
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;21
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;22
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;23
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;24
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;25
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;26
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;27
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;28
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;29
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;30
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;31
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;32
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;33
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;34
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;35
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;36
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;37
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;38
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;39
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;40
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;41
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;42
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;43
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;44
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;45
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;46
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;47
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;48
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;49
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;50
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;51
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Model, Default, SetOSD
Properties=OSDPrefix

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

[Default]
_SMSTSORGNAME=Deploy
_SMSTSPackageName=%TaskSequenceName%

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

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

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

; Other Settings
SkipUserData=YES
SkipDomainMembership=YES
SkipLocaleSelection=YES
SkipTimeZone=YES
SkipSummary=YES
SkipFinalSummary=YES
FinishAction=SHUTDOWN
WSUSServer=http://SERVER-NAME:8530
SLShare=\\SERVER-NAME\deploy$\Logs
EventService=http://SERVER-NAME:9800
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;We now need to create the boot media to boot the VM into the deployment environment.&lt;/p&gt;
&lt;h3 id=&#34;creating-the-boot-media&#34;&gt;Creating the Boot Media&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In Deployment Workbench, right click on the Deployment Share.&lt;/li&gt;
&lt;li&gt;Select Update Deployment Share.&lt;/li&gt;
&lt;li&gt;Select Completely regenerate the boot images.&lt;/li&gt;
&lt;li&gt;Complete the wizard. It will take some time to create the boot images.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;testing-the-task-sequence&#34;&gt;Testing the Task Sequence&lt;/h3&gt;
&lt;p&gt;To test everything, we need to copy the ISO file that we just generated. It is in the Boot folder in the Deployment Share. Go to the Server or PC that is hosting the deployment share and navigate to the boot folder. Inside there should be a file named &lt;code&gt;LiteTouchPE_x64.iso&lt;/code&gt;. Copy this file to a location where a Hyper-V Virtual Machine will be able to access it. To prevent confusion with the ISO we generated from the Build deployment share, we&amp;rsquo;ll append &lt;code&gt;-deploy&lt;/code&gt; to the name of this new ISO. Create a new VM in Hyper-V with the following configuration:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For Hyper-V Only: Generation 1, not 2. I&amp;rsquo;ve had issues reported with Gen2 VMs&lt;/li&gt;
&lt;li&gt;At least 2x vCPUs&lt;/li&gt;
&lt;li&gt;At least 4GB of RAM&lt;/li&gt;
&lt;li&gt;Network Adaptor with access the local network&lt;/li&gt;
&lt;li&gt;Virtual Hard Drive of at least 40GB, preferably on fast media&lt;/li&gt;
&lt;li&gt;Boot from CD using the &lt;code&gt;LiteTouchPE_x64-deploy.iso&lt;/code&gt; from MDT&lt;/li&gt;
&lt;li&gt;If using Hyper-V on Windows 10 1709 or above, make sure Use Automatic Checkpoints is disabled&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Start the VM and it will boot from the &lt;code&gt;LiteTouchPE_x64-deploy.iso&lt;/code&gt; into the deployment environment, you will be presented with a login screen and here you should login with the Active Directory credentials that have access to the Deployment Share. Once logged in you will be presented with a screen with the name of the Task Sequence you created earlier. Select your Task Sequence and click Next. You&amp;rsquo;ll be prompted to enter a name for the device, it will also be added to Active Directory under this name. Click Next and the task sequence will begin.&lt;/p&gt;
&lt;p&gt;When the task sequence completes the VM will be shutdown.&lt;/p&gt;
&lt;p&gt;This completes the basic testing of the deployment task sequence. Now we&amp;rsquo;ll get into drivers and further configuration.&lt;/p&gt;
&lt;h3 id=&#34;setting-the-default-application-associations&#34;&gt;Setting the Default Application Associations&lt;/h3&gt;
&lt;p&gt;Here&amp;rsquo;s how to configure the default application associations in the deployment task sequence.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Using an existing Windows 10 install navigate to Settings &amp;gt; System &amp;gt; Default apps&lt;/li&gt;
&lt;li&gt;Set the Default apps and any other file associations as required&lt;/li&gt;
&lt;li&gt;Open Windows PowerShell (Admin) by right-clicking on the Windows/Start button or pressing Win + X&lt;/li&gt;
&lt;li&gt;In the PowerShell window type the following and press enter: &lt;code&gt;Dism /Online /Export-DefaultAppAssociations:C:\AppAssoc.xml&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;After a few seconds you should see The operation completed successfully in the PowerShell window&lt;/li&gt;
&lt;li&gt;Navigate to &lt;code&gt;C:\&lt;/code&gt; and copy &lt;code&gt;AppAssoc.xml&lt;/code&gt; to your MDT deployment share: &lt;code&gt;\\SERVER-NAME\Deploy$\_custom&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Open the Deployment Workbench and go to Deployment Share &amp;gt; Task Sequences&lt;/li&gt;
&lt;li&gt;Right click on the Task Sequence Deploy Windows 10 21H1 and select Properties&lt;/li&gt;
&lt;li&gt;Click on the Task Sequence tab and navigate to Postinstall &amp;gt; Configure&lt;/li&gt;
&lt;li&gt;Click the Add button at the top of the Task Sequence actions view and go to General &amp;gt; Run Command Line&lt;/li&gt;
&lt;li&gt;Enter Set Default App Associations in the Name field, and in the Command line field enter: &lt;code&gt;Dism.exe /Image:%OSDisk% /Import-DefaultAppAssociations:%DEPLOYROOT%\Applications\_scripts\AppAssoc.xml&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Click Apply to save the changes&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;driver-management&#34;&gt;Driver Management&lt;/h3&gt;
&lt;p&gt;Now we&amp;rsquo;re going to configure how drivers are installed for the physical devices we&amp;rsquo;re going to deploy Windows 10 to. There are a few ways to do this, here I&amp;rsquo;ll show the method I&amp;rsquo;ve been using which has worked very well for a variety of manufactures and models of devices.&lt;/p&gt;
&lt;p&gt;The first thing you&amp;rsquo;ll need is the model numbers for all the devices you want to roll out the image to. You can find this out by booting the device in to its current version of Windows or the deployment environment using the &lt;code&gt;LiteTouch_x64.iso&lt;/code&gt; boot disc or PXE booting, which I haven&amp;rsquo;t covered in this post but here&amp;rsquo;s a previous post I wrote on how to setup PXE booting for MDT: &lt;a href=&#34;https://gal.vin/posts/old/pxe-booting-for-mdt/&#34;&gt;PXE Booting for Microsoft Deployment Toolkit&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When the device is booted into the deployment environment, press F8 to get a command prompt, and typing out the following command: &lt;code&gt;wmic computersystem get model&lt;/code&gt; The output of the command is the model number you&amp;rsquo;ll need. The next thing you&amp;rsquo;ll need is the drivers. I&amp;rsquo;ve found Windows 10 is good at installing missing drivers from Windows Update, but it can take some time and it would be better for the device to be running with all the drivers it needs once deployment has completed.&lt;/p&gt;
&lt;p&gt;Windows 10 tends to have some drivers built right in and I&amp;rsquo;ve found they are usually very usable, so generally I only add drivers to MDT that Windows 10 cannot find. Deploy the reference image to each type of device you have and use Device Manager to see what&amp;rsquo;s missing.&lt;/p&gt;
&lt;p&gt;If you are missing drivers, go to Settings &amp;gt; Windows Update and use Check online for updates from Microsoft Update which should find and install the relevant drivers. Then using the Update History and see what you need to find and import into MDT.&lt;/p&gt;
&lt;p&gt;Note: I recommend avoiding using WSUS to download and install drivers as it inflates the WSUS database, slowing WSUS down and making it difficult to manage.&lt;/p&gt;
&lt;p&gt;To import drivers into MDT you&amp;rsquo;ll need the INF files. Most large manufacturers do a decent job of providing drivers that can be used with MDT. Should you have difficulty with them you can use the &lt;a href=&#34;https://www.catalog.update.microsoft.com&#34;&gt;Microsoft Update Catalog&lt;/a&gt; to search for and download the specific drivers that Windows Update installs and use them with MDT. Once you have the drivers you require, we need to add them to MDT.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the Deployment Workbench&lt;/li&gt;
&lt;li&gt;Navigate to Deployment Share &amp;gt; Out-of-Box Drivers&lt;/li&gt;
&lt;li&gt;Right click and select New Folder, call the folder Windows 10 x64&lt;/li&gt;
&lt;li&gt;Right click on the Windows 10 x64 folder and select New Folder&lt;/li&gt;
&lt;li&gt;Name the folder a human readable name for the model of device you&amp;rsquo;ll be adding drivers for&lt;/li&gt;
&lt;li&gt;Right click on the folder you just created and create folders for each driver type you&amp;rsquo;ll be adding, e.g. Graphics, Chipset, Bluetooth&lt;/li&gt;
&lt;li&gt;Right click on a driver type folder and select Import Drivers&lt;/li&gt;
&lt;li&gt;Enter the source directory of the drivers for that driver type&lt;/li&gt;
&lt;li&gt;Check the Import drivers even if they are duplicates of an existing driver check box&lt;/li&gt;
&lt;li&gt;Click Next and complete the wizard. The wizard will copy all the files needed to the driver type folder&lt;/li&gt;
&lt;li&gt;Repeat steps 7-10 for each driver type required&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;We now need to edit the CustomSettings.ini to configure the driver location for each model.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to the Deployment Workbench and right click on the Deployment Share, select Properties&lt;/li&gt;
&lt;li&gt;Go to the Rules tab in the Properties window&lt;/li&gt;
&lt;li&gt;Enter the following text under the &lt;code&gt;[Settings]&lt;/code&gt; section but after the Properties&lt;/li&gt;
&lt;li&gt;Once you&amp;rsquo;ve added in all the models required, click Apply to save the changes&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;4
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[MODEL-NUMBER]
DriverGroup001=Windows 10 x64\Human-Readable-Model-Number
DriverSelectionProfile=nothing
OSDPrefix=PC
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;You&amp;rsquo;ll need to enter the above text for each model. Below is an example of my CustomSettings.ini for reference.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;15
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;16
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;17
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;18
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;19
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;20
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;21
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;22
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;23
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;24
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;25
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;26
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Model, Default, SetOSD
Properties=OSDPrefix
 
[HP 250 G5 Notebook PC]
DriverGroup001=Windows 10 x64\HP 250 G3
DriverSelectionProfile=nothing
OSDPrefix=HP
 
[80J2]
DriverGroup001=Windows 10 x64\Lenovo E50
DriverSelectionProfile=nothing
OSDPrefix=LEN
 
[Virtual Machine]
DriverGroup001=Virtual Machine
DriverSelectionProfile=nothing
OSDPrefix=VM
 
[Default]
_SMSTSORGNAME=Deploy
_SMSTSPackageName=%TaskSequenceName%
UserDataLocation=NONE
ComputerBackupLocation=\\SERVER-NAME\Deploy$\Captures
OSDComputerName=%OSDPrefix%-%SerialNumber%
...
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;The Deploy deployment share is now configured to install drivers for the models specified.&lt;/p&gt;
&lt;p&gt;Boot the physical device into the deployment environment and run the Deploy Windows 10 21H1. After it completes, check Device Manager and all devices should be successfully installed.&lt;/p&gt;
&lt;h3 id=&#34;adding-drivers-to-the-mdt-boot-image&#34;&gt;Adding Drivers to the MDT Boot Image&lt;/h3&gt;
&lt;p&gt;It may be necessary to add drivers to the MDT Boot Image for devices such as storage or network adaptors. To determine if drivers are required:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Boot the device in question into the deployment environment and press F8 to bring up a command prompt&lt;/li&gt;
&lt;li&gt;Type ipconfig and if you have an IP address, you should not have to add network adaptor drivers&lt;/li&gt;
&lt;li&gt;Type diskpart, and when diskpart has loaded, type list disk. If the local hard drive is listed, you should not need to add storage drivers&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If you do need to add drivers to the boot image:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the Deployment Workbench, go to Deployment Share &amp;gt; Out-of-Box Drivers&lt;/li&gt;
&lt;li&gt;Right click and select New Folder, call the folder WinPE x64&lt;/li&gt;
&lt;li&gt;Right click on the WinPE x64 folder and select New Folder&lt;/li&gt;
&lt;li&gt;Name the folder a suitable name for the model of device you&amp;rsquo;ll be adding drivers for&lt;/li&gt;
&lt;li&gt;Right click on the folder you just created and create folders for each driver type you&amp;rsquo;ll be adding, e.g. Storage, Network&lt;/li&gt;
&lt;li&gt;To import the drivers, right click on a driver type folder and select Import Drivers&lt;/li&gt;
&lt;li&gt;Enter the source directory of the drivers and tick the Import drivers even if they are duplicates of an existing driver check box&lt;/li&gt;
&lt;li&gt;Click Next and complete the wizard. The wizard will copy all the files needed to the driver type folder&lt;/li&gt;
&lt;li&gt;Repeat steps 6-8 for each driver type required&lt;/li&gt;
&lt;li&gt;Now we must create a Selection Profile for WinPE x64&lt;/li&gt;
&lt;li&gt;Go to Advanced Configuration &amp;gt; Selection Profiles&lt;/li&gt;
&lt;li&gt;Right click on Selection Profiles and select New Selection Profile&lt;/li&gt;
&lt;li&gt;Enter WinPE x64 as the Selection profile name&lt;/li&gt;
&lt;li&gt;In the folders list navigate to DS001:\ &amp;gt; Out-of-Box Drivers &amp;gt; WinPE x64 and check the box next to the folder&lt;/li&gt;
&lt;li&gt;Click Next &amp;gt; Next &amp;gt; Finish to complete the wizard&lt;/li&gt;
&lt;li&gt;Right click on the Deployment Share and select Properties&lt;/li&gt;
&lt;li&gt;Go to the Windows PE tab and change the Platform drop down menu to x64&lt;/li&gt;
&lt;li&gt;Go to the Drivers and Patches tab and change the Selection profile drop down menu to WinPE x64&lt;/li&gt;
&lt;li&gt;Make sure that Include only drivers of the following types is selected and both Include all network drivers in the selection profile and Include all mass storage drivers in the selection profile are checked&lt;/li&gt;
&lt;li&gt;Click Apply to save the changes, click OK to close the Properties window&lt;/li&gt;
&lt;li&gt;Right click the Deployment Share and select Update Deployment Share&lt;/li&gt;
&lt;li&gt;Select Completely regenerate the boot images, and then Next. The boot images will be regenerated with the drivers included&lt;/li&gt;
&lt;li&gt;Click Finish to complete the wizard&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The MDT boot media should now have the network and/or storage drivers required. You now have a reference image for Windows 10 21H1 which is ready to deploy.&lt;/p&gt;
&lt;h3 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h3&gt;
&lt;p&gt;Please consider supporting my work:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Support with a one-time donation using &lt;a href=&#34;https://www.paypal.me/digressive&#34;&gt;PayPal&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you have any questions or comments, please leave them below.&lt;/p&gt;
&lt;p&gt;-Mike&lt;/p&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Windows 10 21H1 May 2021 Update</category>
            
          
            
              <category>Hyper-V</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Build and Capture Windows 10 21H1 Reference Image</title>
        <link>https://gal.vin/posts/2021/build-capture-windows-10-21h1/</link>
        <pubDate>Sun, 09 May 2021 00:13:32 +0100</pubDate>
        
        <atom:modified>Sun, 09 May 2021 00:13:32 +0100</atom:modified>
        <guid>https://gal.vin/posts/2021/build-capture-windows-10-21h1/</guid>
        <description>News and Updates An update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released: This update fixes a boot loop issue. Details on how to install it are on Michael Niehaus&#39; blog post here and you can download the fix here. Installation instructions will also be in the walkthrough below. NOTE: If you have existing shares you will need to copy the files from the extracted update to %DeployRoot%\Tools and overwrite the existing files in all shares.</description>
        <content:encoded>&lt;h3 id=&#34;news-and-updates&#34;&gt;News and Updates&lt;/h3&gt;
&lt;p&gt;An update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released: This update fixes a boot loop issue. Details on how to install it are on &lt;a href=&#34;https://oofhours.com/2020/06/03/mdt-build-8456-needs-an-update-for-windows-10-2004/&#34;&gt;Michael Niehaus&#39; blog post here&lt;/a&gt; and you can &lt;a href=&#34;https://support.microsoft.com/en-us/help/4564442/windows-10-deployments-fail-with-microsoft-deployment-toolkit&#34;&gt;download the fix here&lt;/a&gt;. Installation instructions will also be in the walkthrough below. NOTE: If you have existing shares you will need to copy the files from the extracted update to &lt;code&gt;%DeployRoot%\Tools&lt;/code&gt; and overwrite the existing files in all shares. You will then need to update the deployment shares and recreate boot media.&lt;/p&gt;
&lt;p&gt;Lifecycle Support Notes from Microsoft: If you are using Enterprise or Education editions of Windows 10, from 1809 onwards the YY09 (YYH2) versions of Windows 10 will get 30 months of support and the YY03 versions will only get 18 months. So you may want to consider if you deploy the YY03 versions at all and focus on YY09 releases. Here&amp;rsquo;s the &lt;a href=&#34;https://support.microsoft.com/en-gb/help/13853/windows-lifecycle-fact-sheet&#34;&gt;official information from Microsoft here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This article is based on current information as of 2021-09-25. I will update it in future as things progress.&lt;/p&gt;
&lt;p&gt;In this article as with my previous ones we will walk through installing and configuring Microsoft Deployment Toolkit to build and capture a reference image of Windows 10 version 21H1 using a Hyper-V Virtual Machine. It&amp;rsquo;s assumed that you have a server or PC ready to install MDT and create a file share for MDT to build the image with, and finally we&amp;rsquo;ll be focusing on the 64-bit Enterprise edition of Windows 10. Here are the links to the software we&amp;rsquo;ll be using:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://go.microsoft.com/fwlink/?linkid=2120254&#34;&gt;Windows 10 version 2004 Assessment and Deployment Kit (ADK)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://go.microsoft.com/fwlink/?linkid=2120253&#34;&gt;Windows PE add-on for ADK 2004&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.microsoft.com/en-us/download/details.aspx?id=54259&#34;&gt;Microsoft Deployment Toolkit (8456)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://support.microsoft.com/en-us/help/4564442/windows-10-deployments-fail-with-microsoft-deployment-toolkit&#34;&gt;Microsoft Deployment Toolkit (8456) Update KB4564442&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Windows 10 version 21H1 x64 | &lt;a href=&#34;https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewiso&#34;&gt;Windows Insider Preview ISO&lt;/a&gt; | &lt;a href=&#34;https://www.microsoft.com/Licensing/servicecenter/default.aspx&#34;&gt;Volume Licensing Service Center&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Additional software which may be useful:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://rufus.ie&#34;&gt;Rufus&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.microsoft.com/en-gb/download/details.aspx?id=45520&#34;&gt;Remote Server Administration Tools for Windows 10&lt;/a&gt; - Double check that you download the version of RSAT for the version of server you want to administer.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;installing-microsoft-deployment-toolkit-and-dependencies&#34;&gt;Installing Microsoft Deployment Toolkit and Dependencies&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;First, we&amp;rsquo;ll install the Windows 10 version 2004 ADK. During setup additional files will need to be downloaded, so it may take some time depending on your internet connection.&lt;/li&gt;
&lt;li&gt;On the &amp;ldquo;Select the features you want to install&amp;rdquo; screen, select the following:
&lt;ul&gt;
&lt;li&gt;Deployment Tools&lt;/li&gt;
&lt;li&gt;Imaging And Configuration Designer (ICD)&lt;/li&gt;
&lt;li&gt;Configuration Designer&lt;/li&gt;
&lt;li&gt;User State Migration Tool (USMT)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;WinPE is a separate install. Install the WinPE add-on by running the adkwinpesetup.exe, there is no specific configuration during the install wizard.&lt;/li&gt;
&lt;li&gt;Now install MDT by running the setup file downloaded earlier. There is no specific configuration during the install wizard.&lt;/li&gt;
&lt;li&gt;Finally, extract the files from MDT_KB4564442, and copy them to &lt;code&gt;%ProgramFiles%\Microsoft Deployment Toolkit\Templates\Distribution\Tools&lt;/code&gt; replacing the existing files.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;creating-the-deployment-share&#34;&gt;Creating the Deployment Share&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Open the &amp;ldquo;Deployment Workbench&amp;rdquo; from the Start Menu&lt;/li&gt;
&lt;li&gt;Right click on &amp;ldquo;Deployment Shares&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Select &amp;ldquo;New Deployment Share&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Enter the path for the Deployment Share: &lt;code&gt;E:\Build&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Enter the share name: &lt;code&gt;Build$&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Give the share a description&lt;/li&gt;
&lt;li&gt;On the Options screen, accept the defaults as you can change them later&lt;/li&gt;
&lt;li&gt;Complete the wizard to create the share&lt;/li&gt;
&lt;li&gt;By default, the share permissions are set the local administrators group. We&amp;rsquo;ll revisit this later&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;adding-an-operating-system&#34;&gt;Adding an Operating System&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Mount the Windows 10 version 21H1 ISO in File Explorer&lt;/li&gt;
&lt;li&gt;Go to &amp;ldquo;Deployment Workbench&amp;rdquo; &amp;gt; &amp;ldquo;Operating Systems&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Right click and select &amp;ldquo;New Folder&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Enter the name &amp;ldquo;Windows 10 version 21H1 x64&amp;rdquo; and click through the wizard to create the folder&lt;/li&gt;
&lt;li&gt;Right click again and select &amp;ldquo;Import Operating System&amp;rdquo;&lt;/li&gt;
&lt;li&gt;In the wizard, select &amp;ldquo;Full set of source files&amp;rdquo; and then enter the root of the mounted ISO as the &amp;ldquo;Source directory&amp;rdquo;&lt;/li&gt;
&lt;li&gt;For the destination directory name enter &amp;ldquo;Windows 10 version 21H1 x64&amp;rdquo; and complete the wizard&lt;/li&gt;
&lt;li&gt;Go to the &amp;ldquo;Operating Systems&amp;rdquo; &amp;gt; &amp;ldquo;Windows 10 version 21H1 x64&amp;rdquo; node and rename the new entries added to &amp;ldquo;Windows 10 version 21H1 Edition x64&amp;rdquo; for ease of use.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;creating-package-folder-for-future-updates&#34;&gt;Creating Package Folder for Future Updates&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Go to &amp;ldquo;Deployment Workbench&amp;rdquo; &amp;gt; &amp;ldquo;Packages&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Create a folder named &amp;ldquo;Windows 10 version 21H1 x64&amp;rdquo;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now we&amp;rsquo;ll create a selection profile so that the Task Sequence only attempts to install updates for Windows 10 version 21H1 x64 that we make available through MDT.&lt;/p&gt;
&lt;h3 id=&#34;creating-a-selection-profile&#34;&gt;Creating A Selection Profile&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Expand the &amp;ldquo;Advanced Configuration&amp;rdquo; node&lt;/li&gt;
&lt;li&gt;Right click on &amp;ldquo;Selection Profiles&amp;rdquo; and select &amp;ldquo;New Selection Profile&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Name it &amp;ldquo;Windows 10 version 21H1 x64&amp;rdquo;&lt;/li&gt;
&lt;li&gt;On the &amp;ldquo;Folders&amp;rdquo; page, tick the &amp;ldquo;Windows 10 version 21H1 x64&amp;rdquo; folder under &amp;ldquo;Packages&amp;rdquo; and complete the wizard&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;importing-applications&#34;&gt;Importing Applications&lt;/h3&gt;
&lt;p&gt;If you want to add some applications to be a part of your reference image, here I&amp;rsquo;ll cover how to add VLC as an example application.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to &amp;ldquo;Deployment Workbench&amp;rdquo; &amp;gt; &amp;ldquo;Deployment Share&amp;rdquo; &amp;gt; &amp;ldquo;Applications&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Right click on &amp;ldquo;Applications&amp;rdquo; and select &amp;ldquo;New Application&amp;rdquo;&lt;/li&gt;
&lt;li&gt;In the New Application Wizard, choose &amp;ldquo;Application with source files&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Give the application the name: VLC&lt;/li&gt;
&lt;li&gt;Enter the &amp;ldquo;Source&amp;rdquo; directory of the installation files&lt;/li&gt;
&lt;li&gt;Enter the &amp;ldquo;Destination&amp;rdquo; directory: VLC&lt;/li&gt;
&lt;li&gt;For the &amp;ldquo;Command line&amp;rdquo; enter anything, we&amp;rsquo;ll revisit this later&lt;/li&gt;
&lt;li&gt;On the summary page, click &amp;ldquo;Next&amp;rdquo; and after the files are copied click &amp;ldquo;Finish&amp;rdquo; to complete the wizard&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;configuring-applications&#34;&gt;Configuring Applications&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Right click on VLC, go to the Details tab&lt;/li&gt;
&lt;li&gt;Enter the following for the &amp;ldquo;Quiet install command&amp;rdquo;: &lt;code&gt;vlc-setup.exe /S&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;VLC is now set up to be installed silently by the Task Sequence.&lt;/p&gt;
&lt;p&gt;To add other software, you&amp;rsquo;ll need to repeat the steps above, with the relevant Command line to silently install them. Below are a few command lines for some software I frequently install silently, along with the links to the &amp;lsquo;offline&amp;rsquo; installers.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://enterprise.google.com/chrome/chrome-browser/&#34;&gt;Google Chrome - Enterprise Installer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;msiexec /I googlechromestandaloneenterprise64.msi /qn&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://get.adobe.com/uk/reader/enterprise/&#34;&gt;Adobe Reader - Enterprise Installer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;AdobeReaderDC.exe /sAll&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;We now need to create a new Task Sequence to create a reference image.&lt;/p&gt;
&lt;h3 id=&#34;creating-a-task-sequence&#34;&gt;Creating a Task Sequence&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In &amp;ldquo;Deployment Workbench&amp;rdquo;, go to &amp;ldquo;Task Sequences&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Right click and select &amp;ldquo;New Task Sequence&amp;rdquo;&lt;/li&gt;
&lt;li&gt;For the ID enter: &amp;ldquo;W10-21H1&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Name it &amp;ldquo;Build Windows 10 21H1&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Select &amp;ldquo;Standard Client Task Sequence&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Select the Operating System &amp;ldquo;Windows 10 21H1 x64&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Select &amp;ldquo;Do not specify a product key at this time&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Enter an &amp;ldquo;Organization&amp;rdquo; name&lt;/li&gt;
&lt;li&gt;Select &amp;ldquo;Do not specify an Administrator password at this time&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Complete the wizard&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now we&amp;rsquo;ll configure the Task Sequence.&lt;/p&gt;
&lt;h3 id=&#34;configuring-the-task-sequence&#34;&gt;Configuring the Task Sequence&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Right click on the &amp;ldquo;Task Sequence&amp;rdquo; just created and select &amp;ldquo;Properties&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Go to the &amp;ldquo;Task Sequence&amp;rdquo; tab on the &amp;ldquo;Properties&amp;rdquo; window of the Task Sequence&lt;/li&gt;
&lt;li&gt;Expand the &amp;ldquo;Preinstall&amp;rdquo; folder and select the &amp;ldquo;Apply Patches&amp;rdquo; item&lt;/li&gt;
&lt;li&gt;Change the &amp;ldquo;Selection Profile&amp;rdquo; to &amp;ldquo;Windows 10 21H1 x64&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Go to the &amp;ldquo;State Restore&amp;rdquo; folder and select &amp;ldquo;Windows Update (Pre-Application Installation)&amp;rdquo;&lt;/li&gt;
&lt;li&gt;On the right side of the &amp;ldquo;Properties&amp;rdquo; window, go to the &amp;ldquo;Options&amp;rdquo; tab&lt;/li&gt;
&lt;li&gt;Uncheck the &amp;ldquo;Disable this step&amp;rdquo; tick box and do the same with &amp;ldquo;Windows Update (Post-Application Installation)&amp;rdquo;&lt;/li&gt;
&lt;li&gt;If you skipped the &amp;ldquo;Importing Applications&amp;rdquo; section, please disable the Install Applications item and go to step 16, if not please continue&lt;/li&gt;
&lt;li&gt;Go to the &amp;ldquo;Install Applications&amp;rdquo; item&lt;/li&gt;
&lt;li&gt;In the right side of the &amp;ldquo;Properties&amp;rdquo; box, select the &amp;ldquo;Install a single application&amp;rdquo; option and click the &amp;ldquo;Browse&amp;hellip;&amp;rdquo; button&lt;/li&gt;
&lt;li&gt;Select &amp;ldquo;Google Chrome&amp;rdquo; and change the name Install Applications to &amp;ldquo;Google Chrome&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Install other Applications, copy and paste the &amp;ldquo;Install Applications&amp;rdquo; item and repeat steps 13 - 15 for the applications of your choice&lt;/li&gt;
&lt;li&gt;Click &amp;ldquo;Apply&amp;rdquo; and close the Task Sequence&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;blocking-internet-access-to-prevent-microsoft-store-app-updates&#34;&gt;Blocking Internet Access to prevent Microsoft Store App Updates&lt;/h3&gt;
&lt;p&gt;To block internet access to the VM whilst the image is building, we&amp;rsquo;ll use my &lt;a href=&#34;https://gal.vin/utils/internet-access-control-utility/&#34;&gt;Internet Access Control Utility&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Running the script with the -disable switch will create a firewall rule that will block internet traffic on ports 80 and 443.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;First &lt;a href=&#34;https://github.com/Digressive/Internet-Access-Control&#34;&gt;download Internet Access Control Utility from GitHub&lt;/a&gt; and copy it to &lt;code&gt;\\mdt-server\build-share\_custom&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;In the &amp;ldquo;Task Sequence&amp;rdquo; created above, we&amp;rsquo;ll add the items required to run the PowerShell script&lt;/li&gt;
&lt;li&gt;Go to the &amp;ldquo;Task Sequence&amp;rdquo; tab on the &amp;ldquo;Properties&amp;rdquo; window of the Task Sequence&lt;/li&gt;
&lt;li&gt;Go to &amp;ldquo;State Restore&amp;rdquo; and click on the &amp;ldquo;Add&amp;rdquo; button&lt;/li&gt;
&lt;li&gt;Go to &amp;ldquo;General&amp;rdquo; &amp;gt; &amp;ldquo;Run PowerShell Script&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Name the new item &amp;ldquo;PS Script - Disable Internet Access&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Enter &lt;code&gt;Z:\_custom\Internet-Access-Control.ps1&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Add &lt;code&gt;-Disable&lt;/code&gt; to the Parameters section&lt;/li&gt;
&lt;li&gt;Scroll down the Task Sequence to just above the &amp;ldquo;Imaging&amp;rdquo; folder&lt;/li&gt;
&lt;li&gt;Once again, add a new &amp;ldquo;Run PowerShell Script&amp;rdquo; item&lt;/li&gt;
&lt;li&gt;Name it &amp;ldquo;PS Script - Enable Internet Access&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Again, enter &lt;code&gt;Z:\_custom\Internet-Access-Control.ps1&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Add &lt;code&gt;-Enable&lt;/code&gt; to the Parameters section&lt;/li&gt;
&lt;li&gt;Click &amp;ldquo;Apply&amp;rdquo; and OK to close the Task Sequence&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Next, we&amp;rsquo;ll create a domain user account for MDT for use as a service account.&lt;/p&gt;
&lt;h3 id=&#34;creating-a-service-account-for-mdt-in-active-directory&#34;&gt;Creating a service account for MDT in Active Directory&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Go to &amp;ldquo;Active Directory Users and Computers&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Create a user called &lt;code&gt;mdt_admin&lt;/code&gt; and give it a complex password&lt;/li&gt;
&lt;li&gt;Go to the Server or PC where the &amp;ldquo;Deployment Share&amp;rdquo; is hosted&lt;/li&gt;
&lt;li&gt;Give the user &lt;code&gt;mdt_admin&lt;/code&gt; &amp;ldquo;Full Control&amp;rdquo; share permissions and &amp;ldquo;Full Control&amp;rdquo; file permissions to all the files and folders in the &amp;ldquo;Deployment Share&amp;rdquo;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Next, we need to configure the &amp;ldquo;Bootstrap.ini&amp;rdquo; and the &amp;ldquo;CustomSettings.ini&amp;rdquo; files to control certain aspects of the deployment environment. The settings below enable auto log in and skip the welcome screen, so these should only be used for lab or closed development environments.&lt;/p&gt;
&lt;h3 id=&#34;configuring-bootstrapini&#34;&gt;Configuring Bootstrap.ini&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In &amp;ldquo;Deployment Workbench&amp;rdquo;, right click the &amp;ldquo;Deployment Share&amp;rdquo; and select &amp;ldquo;Properties&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Select the &amp;ldquo;Rules&amp;rdquo; tab and click the &amp;ldquo;Edit Bootstrap.ini&amp;rdquo; button&lt;/li&gt;
&lt;li&gt;Add the settings below to the &amp;ldquo;Bootstrap.ini&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Close and Save the Bootstrap.ini&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;9
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Default
 
[Default]
DeployRoot=\\SERVER-NAME\Build$
UserDomain=contoso.com
UserID=mdt_admin
UserPassword=p@ssw0rd
SkipBDDWelcome=YES
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h3 id=&#34;configuring-customsettingsini&#34;&gt;Configuring CustomSettings.ini&lt;/h3&gt;
&lt;p&gt;On the &amp;ldquo;Rules&amp;rdquo; tab of the &amp;ldquo;Deployment Share&amp;rdquo; properties window, add the settings below.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;15
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;16
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;17
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;18
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;19
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;20
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;21
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;22
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;23
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;24
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;25
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;26
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;27
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;28
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Default
Properties=MyCustomProperty
 
[Default]
OSInstall=Y
SkipCapture=YES
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES
SkipLocaleSelection=YES
SkipTimeZone=YES
SkipDomainMembership=YES
SkipSummary=YES
SkipFinalSummary=YES
SkipComputerName=YES
SkipUserData=YES
 
_SMSTSORGNAME=Build Share
_SMSTSPackageName=%TaskSequenceName%
DoCapture=YES
ComputerBackupLocation=\\SERVER-NAME\Build$\Captures
BackupFile=%TaskSequenceID%_#year(date) &amp;amp; &amp;#34;-&amp;#34; &amp;amp; month(date) &amp;amp; &amp;#34;-&amp;#34; &amp;amp; day(date) &amp;amp; &amp;#34;-&amp;#34; &amp;amp; hour(time) &amp;amp; &amp;#34;-&amp;#34; &amp;amp; minute(time)#.wim
WSUSServer=http://WSUS-SERVER-NAME:8530
FinishAction=SHUTDOWN
SLShare=\\SERVER-NAME\Build$\Logs
EventService=http://SERVER-NAME:9800
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;We now need to create the boot media to boot the VM into the deployment environment.&lt;/p&gt;
&lt;h3 id=&#34;creating-the-boot-media&#34;&gt;Creating the Boot Media&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In &amp;ldquo;Deployment Workbench&amp;rdquo;, right click on the &amp;ldquo;Deployment Share&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Select &amp;ldquo;Update Deployment Share&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Select &amp;ldquo;Completely regenerate the boot images&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Complete the wizard. It will take some time to create the boot images&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;testing-and-capturing-a-reference-image&#34;&gt;Testing and Capturing a Reference Image&lt;/h3&gt;
&lt;p&gt;To test everything, we need to copy the ISO file that we just generated. It is in the &amp;ldquo;Boot&amp;rdquo; folder in the &amp;ldquo;Deployment Share&amp;rdquo;. Go to the Server or PC that is hosting the deployment share and navigate to the boot folder. Inside there should be a file named &lt;code&gt;LiteTouchPE_x64.iso&lt;/code&gt;. Copy this file to a location where a Hyper-V Virtual Machine will be able to access it.&lt;/p&gt;
&lt;p&gt;Create a new VM in Hyper-V with the following configuration:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For Hyper-V Only: Use Generation 1, not 2 VMs. I&amp;rsquo;ve had issues reported with Gen2 VMs&lt;/li&gt;
&lt;li&gt;At least 2x vCPUs&lt;/li&gt;
&lt;li&gt;At least 4GB of RAM&lt;/li&gt;
&lt;li&gt;Network Adaptor with access the local network&lt;/li&gt;
&lt;li&gt;Virtual Hard Drive of at least 40GB, preferably on fast media&lt;/li&gt;
&lt;li&gt;Boot from CD using the &lt;code&gt;LiteTouchPE_x64.iso&lt;/code&gt; from MDT&lt;/li&gt;
&lt;li&gt;If using Hyper-V on Windows 10 1709 or above, make sure &amp;ldquo;Use Automatic Checkpoints&amp;rdquo; is disabled&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Start the VM and it will boot from the &lt;code&gt;LiteTouchPE_x64.iso&lt;/code&gt; into the deployment environment. You will be presented with a screen with the name of the &amp;ldquo;Task Sequence&amp;rdquo; you created earlier. Select your Task Sequence, click Next and the process will begin. The Task Sequence will install Windows 10 version 21H1, update from the WSUS server, install the optional applications if you added them, and then run Windows Update from the WSUS server again. It will then run SysPrep and attempt to reboot back into the deployment environment from the local disk and send the image to the MDT server.&lt;/p&gt;
&lt;p&gt;When this process completes the VM will be shutdown and a file named &lt;code&gt;W10-21H1_YEAR_MONTH_DAY_HOUR_MINUTE.wim&lt;/code&gt; will be in the Captures folder in the Deployment Share.&lt;/p&gt;
&lt;p&gt;You now have a reference image for Windows 10 version 21H1 and a Microsoft Deployment Toolkit installation, with a deployment share specifically configured for building and capturing reference images. We&amp;rsquo;ll cover setting up a deployment share and focus on tasks to support deploying Windows to real hardware &lt;a href=&#34;https://gal.vin/posts/2021/deploy-windows-10-21h1/&#34;&gt;in this article&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h3&gt;
&lt;p&gt;Please consider supporting my work:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Support with a one-time donation using &lt;a href=&#34;https://www.paypal.me/digressive&#34;&gt;PayPal&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you have any questions or comments, please leave them below.&lt;/p&gt;
&lt;p&gt;-Mike&lt;/p&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Windows 10 21H1 May 2021 Update</category>
            
          
            
              <category>Hyper-V</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <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>
      
      <item>
        <title>Moving the Site - Update 2021-02-16</title>
        <link>https://gal.vin/posts/old/moving-the-site/</link>
        <pubDate>Wed, 27 Jan 2021 17:22:02 +0000</pubDate>
        
        <atom:modified>Wed, 27 Jan 2021 17:22:02 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/moving-the-site/</guid>
        <description>Update 2021-02-16  Theme changed to add site search. New theme is also more configurable, which I&amp;rsquo;m happy about. :) Will continue to tweak the site and layout of certain pages that have got garbled in the migration.  Update 2021-02-14  Links to old popular articles now have aliases so old links will work. Still working on site-wide search, I may just change the Hugo theme.  I&amp;rsquo;m currently moving the site from WordPress to Hugo with comments provided by Disqus.</description>
        <content:encoded>&lt;h3 id=&#34;update-2021-02-16&#34;&gt;Update 2021-02-16&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Theme changed to add site search.&lt;/li&gt;
&lt;li&gt;New theme is also more configurable, which I&amp;rsquo;m happy about. :)&lt;/li&gt;
&lt;li&gt;Will continue to tweak the site and layout of certain pages that have got garbled in the migration.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;update-2021-02-14&#34;&gt;Update 2021-02-14&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Links to old popular articles now have aliases so old links will work.&lt;/li&gt;
&lt;li&gt;Still working on site-wide search, I may just change the Hugo theme.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I&amp;rsquo;m currently moving the site from WordPress to Hugo with comments provided by Disqus.&lt;/p&gt;
&lt;p&gt;A couple of notes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Links to old articles won&amp;rsquo;t work (different file structure) but all the articles are still here on the site.&lt;/li&gt;
&lt;li&gt;Comments are not being migrated over&lt;/li&gt;
&lt;li&gt;Site search will return soon.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Thanks for your patience!&lt;/p&gt;
&lt;p&gt;-Mike&lt;/p&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Personal</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Start Menu and Taskbar Customisation</title>
        <link>https://gal.vin/posts/old/start-menu-and-taskbar-customisation/</link>
        <pubDate>Sun, 03 Jan 2021 01:13:20 +0000</pubDate>
        
        <atom:modified>Sun, 03 Jan 2021 01:13:20 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/start-menu-and-taskbar-customisation/</guid>
        <description>For Windows 11 please check out this post
It&amp;rsquo;s been a long while since I last posted about how to customise the Windows 10 Start Menu and Taskbar for new users when deploying images, so it&amp;rsquo;s time to fix that!
The first thing we need to do is setup what we want our Start Menu to look like and export it.
Log on to a Windows 10 machine that has all of the software you want to be pinned on the Start Menu layout and customise the Start Menu as you want it.</description>
        <content:encoded>&lt;p&gt;For Windows 11 please &lt;a href=&#34;https://gal.vin/posts/2021/w11-21h2-customisation/&#34;&gt;check out this post&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s been a long while since I last posted about how to customise the Windows 10 Start Menu and Taskbar for new users when deploying images, so it&amp;rsquo;s time to fix that!&lt;/p&gt;
&lt;p&gt;The first thing we need to do is setup what we want our Start Menu to look like and export it.&lt;/p&gt;
&lt;p&gt;Log on to a Windows 10 machine that has all of the software you want to be pinned on the Start Menu layout and customise the Start Menu as you want it.&lt;/p&gt;
&lt;p&gt;Once you have it how you want, 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;Export-StartLayout&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-UseDesktopApplicationID&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Path&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;C:&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;StartMenuLayout&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;xml&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;Here is an example StartMenuLayout.xml for reference:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;15
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;16
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;17
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;18
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;19
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;20
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;21
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;22
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;23
&lt;/span&gt;&lt;/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-xml&#34; data-lang=&#34;xml&#34;&gt;&lt;span class=&#34;cp&#34;&gt;&amp;lt;?xml version=&amp;#34;1.0&amp;#34; encoding=&amp;#34;utf-8&amp;#34;?&amp;gt;&lt;/span&gt;
&lt;span class=&#34;nt&#34;&gt;&amp;lt;LayoutModificationTemplate&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;xmlns=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;http://schemas.microsoft.com/Start/2014/LayoutModification&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;xmlns:defaultlayout=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;http://schemas.microsoft.com/Start/2014/FullDefaultLayout&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;xmlns:start=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;http://schemas.microsoft.com/Start/2014/StartLayout&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;xmlns:taskbar=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;http://schemas.microsoft.com/Start/2014/TaskbarLayout&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Version=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;1&amp;#34;&lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;&amp;gt;&lt;/span&gt;
  &lt;span class=&#34;nt&#34;&gt;&amp;lt;LayoutOptions&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;StartTileGroupCellWidth=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;6&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;StartTileGroupsColumnCount=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;1&amp;#34;&lt;/span&gt; &lt;span class=&#34;nt&#34;&gt;/&amp;gt;&lt;/span&gt;
  &lt;span class=&#34;nt&#34;&gt;&amp;lt;DefaultLayoutOverride&amp;gt;&lt;/span&gt;
    &lt;span class=&#34;nt&#34;&gt;&amp;lt;StartLayoutCollection&amp;gt;&lt;/span&gt;
      &lt;span class=&#34;nt&#34;&gt;&amp;lt;defaultlayout:StartLayout&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;GroupCellWidth=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;6&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;xmlns:defaultlayout=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;http://schemas.microsoft.com/Start/2014/FullDefaultLayout&amp;#34;&lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&#34;nt&#34;&gt;&amp;lt;start:Group&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Name=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;Web Browsers&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;xmlns:start=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;http://schemas.microsoft.com/Start/2014/StartLayout&amp;#34;&lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;&amp;gt;&lt;/span&gt;
          &lt;span class=&#34;nt&#34;&gt;&amp;lt;start:DesktopApplicationTile&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Size=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;2x2&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Column=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;0&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Row=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;0&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;DesktopApplicationLinkPath=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Internet Explorer.lnk&amp;#34;&lt;/span&gt; &lt;span class=&#34;nt&#34;&gt;/&amp;gt;&lt;/span&gt;
          &lt;span class=&#34;nt&#34;&gt;&amp;lt;start:Tile&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Size=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;2x2&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Column=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;4&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Row=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;0&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;AppUserModelID=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge&amp;#34;&lt;/span&gt; &lt;span class=&#34;nt&#34;&gt;/&amp;gt;&lt;/span&gt;
          &lt;span class=&#34;nt&#34;&gt;&amp;lt;start:DesktopApplicationTile&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Size=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;2x2&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Column=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;2&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Row=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;0&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;DesktopApplicationLinkPath=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Google Chrome.lnk&amp;#34;&lt;/span&gt; &lt;span class=&#34;nt&#34;&gt;/&amp;gt;&lt;/span&gt;
        &lt;span class=&#34;nt&#34;&gt;&amp;lt;/start:Group&amp;gt;&lt;/span&gt;
        &lt;span class=&#34;nt&#34;&gt;&amp;lt;start:Group&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Name=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;Microsoft Office&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;xmlns:start=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;http://schemas.microsoft.com/Start/2014/StartLayout&amp;#34;&lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;&amp;gt;&lt;/span&gt;
          &lt;span class=&#34;nt&#34;&gt;&amp;lt;start:DesktopApplicationTile&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Size=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;2x2&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Column=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;2&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Row=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;0&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;DesktopApplicationLinkPath=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Word.lnk&amp;#34;&lt;/span&gt; &lt;span class=&#34;nt&#34;&gt;/&amp;gt;&lt;/span&gt;
          &lt;span class=&#34;nt&#34;&gt;&amp;lt;start:DesktopApplicationTile&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Size=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;2x2&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Column=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;4&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Row=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;2&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;DesktopApplicationLinkPath=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Publisher.lnk&amp;#34;&lt;/span&gt; &lt;span class=&#34;nt&#34;&gt;/&amp;gt;&lt;/span&gt;
          &lt;span class=&#34;nt&#34;&gt;&amp;lt;start:DesktopApplicationTile&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Size=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;2x2&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Column=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;0&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Row=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;2&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;DesktopApplicationLinkPath=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\PowerPoint.lnk&amp;#34;&lt;/span&gt; &lt;span class=&#34;nt&#34;&gt;/&amp;gt;&lt;/span&gt;
          &lt;span class=&#34;nt&#34;&gt;&amp;lt;start:DesktopApplicationTile&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Size=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;2x2&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Column=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;0&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Row=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;0&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;DesktopApplicationLinkPath=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Outlook.lnk&amp;#34;&lt;/span&gt; &lt;span class=&#34;nt&#34;&gt;/&amp;gt;&lt;/span&gt;
          &lt;span class=&#34;nt&#34;&gt;&amp;lt;start:DesktopApplicationTile&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Size=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;2x2&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Column=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;4&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Row=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;0&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;DesktopApplicationLinkPath=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Excel.lnk&amp;#34;&lt;/span&gt; &lt;span class=&#34;nt&#34;&gt;/&amp;gt;&lt;/span&gt;
          &lt;span class=&#34;nt&#34;&gt;&amp;lt;start:DesktopApplicationTile&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Size=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;2x2&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Column=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;2&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;Row=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;2&amp;#34;&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;DesktopApplicationLinkPath=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Access.lnk&amp;#34;&lt;/span&gt; &lt;span class=&#34;nt&#34;&gt;/&amp;gt;&lt;/span&gt;
        &lt;span class=&#34;nt&#34;&gt;&amp;lt;/start:Group&amp;gt;&lt;/span&gt;
      &lt;span class=&#34;nt&#34;&gt;&amp;lt;/defaultlayout:StartLayout&amp;gt;&lt;/span&gt;
    &lt;span class=&#34;nt&#34;&gt;&amp;lt;/StartLayoutCollection&amp;gt;&lt;/span&gt;
  &lt;span class=&#34;nt&#34;&gt;&amp;lt;/DefaultLayoutOverride&amp;gt;&lt;/span&gt;
&lt;span class=&#34;nt&#34;&gt;&amp;lt;/LayoutModificationTemplate&amp;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;If all you wish to do is have a custom default Start Menu in place for all users of a computer, then you can run the following PowerShell command to set the layout as the default:&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;Import-StartLayout&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-LayoutPath&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;C:\StartMenuLayout.xml&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-MountPath&lt;/span&gt; &lt;span class=&#34;nv&#34;&gt;$env:SystemDrive&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;However if you want to add a custom taskbar to it as well, then you must edit the XML file and add some additional code below the line&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-xml&#34; data-lang=&#34;xml&#34;&gt;&lt;span class=&#34;nt&#34;&gt;&amp;lt;/DefaultLayoutOverride&amp;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;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-xml&#34; data-lang=&#34;xml&#34;&gt;&lt;span class=&#34;nt&#34;&gt;&amp;lt;/LayoutModificationTemplate&amp;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;Below is an example Taskbar customisation XML snippet.&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;/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-xml&#34; data-lang=&#34;xml&#34;&gt;&lt;span class=&#34;nt&#34;&gt;&amp;lt;CustomTaskbarLayoutCollection&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;PinListPlacement=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;Replace&amp;#34;&lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;&amp;gt;&lt;/span&gt;
  &lt;span class=&#34;nt&#34;&gt;&amp;lt;defaultlayout:TaskbarLayout&amp;gt;&lt;/span&gt;
    &lt;span class=&#34;nt&#34;&gt;&amp;lt;taskbar:TaskbarPinList&amp;gt;&lt;/span&gt;
      &lt;span class=&#34;nt&#34;&gt;&amp;lt;taskbar:DesktopApp&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;DesktopApplicationLinkPath=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Google Chrome.lnk&amp;#34;&lt;/span&gt; &lt;span class=&#34;nt&#34;&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class=&#34;nt&#34;&gt;&amp;lt;taskbar:DesktopApp&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;DesktopApplicationLinkPath=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\System Tools\File Explorer.lnk&amp;#34;&lt;/span&gt; &lt;span class=&#34;nt&#34;&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class=&#34;nt&#34;&gt;&amp;lt;/taskbar:TaskbarPinList&amp;gt;&lt;/span&gt;
  &lt;span class=&#34;nt&#34;&gt;&amp;lt;/defaultlayout:TaskbarLayout&amp;gt;&lt;/span&gt;
&lt;span class=&#34;nt&#34;&gt;&amp;lt;/CustomTaskbarLayoutCollection&amp;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;Please note: It is essential that the syntax of the XML file is correct, and that everything is formatted correctly. I have put my example StartMenuLayout file on &lt;a href=&#34;https://github.com/Digressive/MDT-Files/tree/master/StartMenuLayout&#34;&gt;my GitHub&lt;/a&gt;, please feel free to copy it should you experience any problems.&lt;/p&gt;
&lt;p&gt;Another important note: When pinning items to the Start Menu or Taskbar the icon must be in a location accessible to all users, so keep in mind that you may need to copy icons to somewhere inside &lt;code&gt;&amp;quot;%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs&amp;quot;&lt;/code&gt; so the icons are on the custom Start Menu and/or Taskbar. Once you&amp;rsquo;ve added the Taskbar configuration, you can import the XML file as above and the default Start Menu and Taskbar for all users of a computer will be as configured.&lt;/p&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>Microsoft Deployment Toolkit</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Prevent Teams From Starting Automatically With No User Login</title>
        <link>https://gal.vin/posts/old/prevent-teams-from-starting-automatically-with-no-user-login/</link>
        <pubDate>Fri, 01 Jan 2021 20:13:36 +0000</pubDate>
        
        <atom:modified>Fri, 01 Jan 2021 20:13:36 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/prevent-teams-from-starting-automatically-with-no-user-login/</guid>
        <description>If you are deploying Microsoft Teams but don&amp;rsquo;t want it to start on login, or force users to login to disable the auto start then you can do it after installation of Teams simply by editing a file. The file is located in the install location of the Teams installer, by default is it here:
1  %programfiles% (x86)\Teams Installer\setup.json   The contents of the file should be as follows:</description>
        <content:encoded>&lt;p&gt;If you are deploying Microsoft Teams but don&amp;rsquo;t want it to start on login, or force users to login to disable the auto start then you can do it after installation of Teams simply by editing a file. The file is located in the install location of the Teams installer, by default is it 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;%programfiles% (x86)\Teams Installer\setup.json
&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 contents of the file should be as follows:&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;{&amp;#34;noAutoStart&amp;#34;:true}
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Once this is done, Teams will no longer start up on login of any user by default.&lt;/p&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>Microsoft 365 Apps</category>
            
          
            
              <category>Teams</category>
            
          
            
              <category>Guide</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Deploy Windows 10 20H2 Reference Image</title>
        <link>https://gal.vin/posts/old/deploy-windows-10-20h2-reference-image/</link>
        <pubDate>Tue, 27 Oct 2020 21:42:24 +0000</pubDate>
        
        <atom:modified>Tue, 27 Oct 2020 21:42:24 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/deploy-windows-10-20h2-reference-image/</guid>
        <description>News and Updates An update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released: This update fixes a boot loop issue. Details on how to install it are on Michael Niehaus&#39; blog post here. and you can download the fix here. Installation instructions will also be in the walkthrough below. NOTE: If you have existing shares you will need to copy the files from the extracted update to %DeployRoot%\Tools and overwrite the existing files in all shares.</description>
        <content:encoded>&lt;h3 id=&#34;news-and-updates&#34;&gt;News and Updates&lt;/h3&gt;
&lt;p&gt;An update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released: This update fixes a boot loop issue. Details on how to install it are on &lt;a href=&#34;https://oofhours.com/2020/06/03/mdt-build-8456-needs-an-update-for-windows-10-2004/&#34;&gt;Michael Niehaus&#39; blog post here&lt;/a&gt;. and you can &lt;a href=&#34;https://support.microsoft.com/en-us/help/4564442/windows-10-deployments-fail-with-microsoft-deployment-toolkit&#34;&gt;download the fix here&lt;/a&gt;. Installation instructions will also be in the walkthrough below. &lt;em&gt;NOTE:&lt;/em&gt; If you have existing shares you will need to copy the files from the extracted update to %DeployRoot%\Tools and overwrite the existing files in all shares. You will then need to update the deployment shares and recreate boot media.&lt;/p&gt;
&lt;p&gt;Lifecycle Support Notes from Microsoft: If you are using Enterprise or Education editions of Windows 10, from 1809 onwards the YY09 (YYH2) versions of Windows 10 will get 30 months of support and the YY03 versions will only get 18 months. So you may want to consider if you deploy the YY03 versions at all and focus on YY09 releases. Here&amp;rsquo;s the &lt;a href=&#34;https://support.microsoft.com/en-gb/help/13853/windows-lifecycle-fact-sheet&#34;&gt;official information from Microsoft here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This article is based on current information as of 2020-10-26. I will update it in future as things progress.&lt;/p&gt;
&lt;p&gt;In this article as with my previous ones we will walk through configuring Microsoft Deployment Toolkit to deploy the reference image created in the previous article: &lt;a href=&#34;https://gal.vin/posts/old/build-and-capture-windows-10-20h2-reference-image/&#34;&gt;Build and Capture Windows 10 20H2 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 %ProgramFiles%\Microsoft Deployment Toolkit\Templates\Distribution\Tools replacing the existing files. If you have existing shares you will need to copy the files from the update to %DeployRoot%\Tools 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: E:\Deploy.&lt;/li&gt;
&lt;li&gt;Enter the Share name: Deploy$.&lt;/li&gt;
&lt;li&gt;Give the share a description.&lt;/li&gt;
&lt;li&gt;On the Options screen, accept the defaults as we can change them later.&lt;/li&gt;
&lt;li&gt;Complete the wizard to create the share.&lt;/li&gt;
&lt;li&gt;By default, the share permissions are set the local administrators group. We&amp;rsquo;ll revisit this later.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;add-an-operating-system&#34;&gt;Add an Operating System&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Go to Deployment Workbench &amp;gt; Operating Systems.&lt;/li&gt;
&lt;li&gt;Right click and select Import Operating System.&lt;/li&gt;
&lt;li&gt;In the wizard, select Custom image file and then navigate to the Captures folder of the Build Deployment Share as the Source file.&lt;/li&gt;
&lt;li&gt;When prompted to Specify operating system setup files, select Setup files are not needed.&lt;/li&gt;
&lt;li&gt;For the destination directory name enter a name that you want to use and complete the wizard.&lt;/li&gt;
&lt;li&gt;Go to the Operating Systems node and rename the reference image we just captured to something more readable.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;create-a-task-sequence&#34;&gt;Create a Task Sequence&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In Deployment Workbench, go to Task Sequences.&lt;/li&gt;
&lt;li&gt;Right click and select New Task Sequence.&lt;/li&gt;
&lt;li&gt;For the ID enter: W10-20H2&lt;/li&gt;
&lt;li&gt;Name it Deploy Windows 10 version 20H2.&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 mdt_admin 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 mdt_admin 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 [Virtual Machine] 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 mdt_admin 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 mdt_admin account would not have the appropriate permissions to join a device to a domain, and so you should either give it the permissions required or create a new account for that specific purpose.&lt;/p&gt;
&lt;p&gt;The other settings are location preferences relevant to the UK and resolution settings which prevent the finished device from defaulting to a resolution of 1024 x 768, and instead use the recommended resolution Windows receives from the display.&lt;/p&gt;
&lt;p&gt;On the Rules tab of the Deployment Share properties window, add the settings below.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;15
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;16
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;17
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;18
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;19
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;20
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;21
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;22
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;23
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;24
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;25
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;26
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;27
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;28
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;29
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;30
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;31
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;32
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;33
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;34
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;35
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;36
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;37
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;38
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;39
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;40
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;41
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;42
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;43
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;44
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;45
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;46
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;47
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;48
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;49
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;50
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;51
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Model, Default, SetOSD
Properties=OSDPrefix
 
[Virtual Machine]
DriverGroup001=Virtual Machine
DriverSelectionProfile=nothing
OSDComputerName=%TaskSequenceID%
 
[Default]
_SMSTSORGNAME=Deploy
_SMSTSPackageName=%TaskSequenceName%
 
; MDT deployment settings
OSInstall=Y
SkipCapture=YES
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES
 
; Locale and screen res
TimeZoneName=GMT Standard Time
KeyboardLocale=0809:00000809
UILanguage=en-GB
UserLocale=en-GB
KeyboardLocale=en-GB
BitsPerPel=32
VRefresh=60
XResolution=1
YResolution=1
HideShell=YES
 
; Join Domain
JoinDomain=contoso.com
DomainAdminDomain=contoso.com
DomainAdmin=mdt_admin
DomainAdminPassword=p@ssw0rd
MachineObjectOU=OU=PCs,DC=contoso,DC=com
 
; Other Settings
SkipUserData=YES
SkipDomainMembership=YES
SkipLocaleSelection=YES
SkipTimeZone=YES
SkipSummary=YES
SkipFinalSummary=YES
FinishAction=SHUTDOWN
WSUSServer=http://SERVER-NAME:8530
SLShare=\\SERVER-NAME\deploy$\Logs
EventService=http://SERVER-NAME:9800
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;We now need to create the boot media to boot the VM into the deployment environment.&lt;/p&gt;
&lt;h3 id=&#34;creating-the-boot-media&#34;&gt;Creating the Boot Media&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In Deployment Workbench, right click on the Deployment Share.&lt;/li&gt;
&lt;li&gt;Select Update Deployment Share.&lt;/li&gt;
&lt;li&gt;Select Completely regenerate the boot images.&lt;/li&gt;
&lt;li&gt;Complete the wizard. It will take some time to create the boot images.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;testing-the-task-sequence&#34;&gt;Testing the Task Sequence&lt;/h3&gt;
&lt;p&gt;To test everything, we need to copy the ISO file that we just generated. It is in the Boot folder in the Deployment Share. Go to the Server or PC that is hosting the deployment share and navigate to the boot folder. Inside there should be a file named LiteTouchPE_x64.iso. 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 -deploy to the name of this new ISO. Create a new VM in Hyper-V with the following configuration:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For Hyper-V Only: Generation 1, not 2. I&amp;rsquo;ve had issues reported with Gen2 VMs&lt;/li&gt;
&lt;li&gt;At least 2x vCPUs&lt;/li&gt;
&lt;li&gt;At least 4GB of RAM&lt;/li&gt;
&lt;li&gt;Network Adaptor with access the local network.&lt;/li&gt;
&lt;li&gt;Virtual Hard Drive of at least 40GB, preferably on fast media.&lt;/li&gt;
&lt;li&gt;Boot from CD using the LiteTouchPE_x64-deploy.iso 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 LiteTouchPE_x64-deploy.iso into the deployment environment, you will be presented with a login screen and here you should login with the Active Directory credentials that have access to the Deployment Share. Once logged in you will be presented with a screen with the name of the Task Sequence you created earlier. Select your Task Sequence and click Next. You&amp;rsquo;ll be prompted to enter a name for the device, it will also be added to Active Directory under this name. Click Next and the task sequence will begin.&lt;/p&gt;
&lt;p&gt;When the task sequence completes the VM will be shutdown.&lt;/p&gt;
&lt;p&gt;This completes the basic testing of the deployment task sequence. Now we&amp;rsquo;ll get into drivers and further configuration.&lt;/p&gt;
&lt;h3 id=&#34;setting-the-default-application-associations&#34;&gt;Setting the Default Application Associations&lt;/h3&gt;
&lt;p&gt;Here&amp;rsquo;s how to configure the default application associations in the deployment task sequence.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Using an existing Windows 10 install navigate to Settings &amp;gt; System &amp;gt; Default apps.&lt;/li&gt;
&lt;li&gt;Set the Default apps and any other file associations as required.&lt;/li&gt;
&lt;li&gt;Open Windows PowerShell (Admin) by right-clicking on the Windows/Start button or pressing Win + X.&lt;/li&gt;
&lt;li&gt;In the PowerShell window type the following and press enter: &lt;code&gt;Dism /Online /Export-DefaultAppAssociations:C:\AppAssoc.xml&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;After a few seconds you should see The operation completed successfully in the PowerShell window.&lt;/li&gt;
&lt;li&gt;Navigate to C:\ and copy AppAssoc.xml to your MDT deployment share: \\SERVER-NAME\Deploy$\_custom.&lt;/li&gt;
&lt;li&gt;Open the Deployment Workbench and go to Deployment Share &amp;gt; Task Sequences.&lt;/li&gt;
&lt;li&gt;Right click on the Task Sequence Deploy Windows 10 20H2 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: [code language=&amp;ldquo;text&amp;rdquo;]Dism.exe /Image:%OSDisk%\ /Import-DefaultAppAssociations:%DEPLOYROOT%\Applications\_scripts\AppAssoc.xml[/code]&lt;/li&gt;
&lt;li&gt;Click Apply to save the changes.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;driver-management&#34;&gt;Driver Management&lt;/h3&gt;
&lt;p&gt;Now we&amp;rsquo;re going to configure how drivers are installed for the physical devices we&amp;rsquo;re going to deploy Windows 10 to. There are a few ways to do this, here I&amp;rsquo;ll show the method I&amp;rsquo;ve been using which has worked very well for a variety of manufactures and models of devices.&lt;/p&gt;
&lt;p&gt;The first thing you&amp;rsquo;ll need is the model numbers for all the devices you want to roll out the image to. You can find this out by booting the device in to its current version of Windows or the deployment environment using the LiteTouch_x64.iso boot disc or PXE booting, which I haven&amp;rsquo;t covered in this post but here&amp;rsquo;s a previous post I wrote on how to setup PXE booting for MDT: &lt;a href=&#34;https://gal.vin/posts/old/pxe-booting-for-mdt/&#34;&gt;PXE Booting for Microsoft Deployment Toolkit&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When the device is booted into the deployment environment, press F8 to get a command prompt, and typing out the following command: &lt;code&gt;wmic computersystem get model&lt;/code&gt; The output of the command is the model number you&amp;rsquo;ll need. The next thing you&amp;rsquo;ll need is the drivers. I&amp;rsquo;ve found Windows 10 is good at installing missing drivers from Windows Update, but it can take some time and it would be better for the device to be running with all the drivers it needs once deployment has completed.&lt;/p&gt;
&lt;p&gt;Windows 10 tends to have some drivers built right in and I&amp;rsquo;ve found they are usually very usable, so generally I only add drivers to MDT that Windows 10 cannot find. Deploy the reference image to each type of device you have and use Device Manager to see what&amp;rsquo;s missing.&lt;/p&gt;
&lt;p&gt;If you are missing drivers, go to Settings &amp;gt; Windows Update and use Check online for updates from Microsoft Update which should find and install the relevant drivers. Then using the Update History and see what you need to find and import into MDT.&lt;/p&gt;
&lt;p&gt;Note: I recommend avoiding using WSUS to download and install drivers as it inflates the WSUS database, slowing WSUS down and making it difficult to manage.&lt;/p&gt;
&lt;p&gt;To import drivers into MDT you&amp;rsquo;ll need the INF files. Most large manufacturers do a decent job of providing drivers that can be used with MDT. Should you have difficulty with them you can use the &lt;a href=&#34;https://www.catalog.update.microsoft.com&#34;&gt;Microsoft Update Catalog&lt;/a&gt; to search for and download the specific drivers that Windows Update installs and use them with MDT. Once you have the drivers you require, we need to add them to MDT.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the Deployment Workbench.&lt;/li&gt;
&lt;li&gt;Navigate to Deployment Share &amp;gt; Out-of-Box Drivers.&lt;/li&gt;
&lt;li&gt;Right click and select New Folder, call the folder Windows 10 x64.&lt;/li&gt;
&lt;li&gt;Right click on the Windows 10 x64 folder and select New Folder.&lt;/li&gt;
&lt;li&gt;Name the folder a human readable name for the model of device you&amp;rsquo;ll be adding drivers for.&lt;/li&gt;
&lt;li&gt;Right click on the folder you just created and create folders for each driver type you&amp;rsquo;ll be adding, e.g. Graphics, Chipset, Bluetooth.&lt;/li&gt;
&lt;li&gt;Right click on a driver type folder and select Import Drivers.&lt;/li&gt;
&lt;li&gt;Enter the source directory of the drivers for that driver type.&lt;/li&gt;
&lt;li&gt;Check the Import drivers even if they are duplicates of an existing driver check box.&lt;/li&gt;
&lt;li&gt;Click Next and complete the wizard. The wizard will copy all the files needed to the driver type folder.&lt;/li&gt;
&lt;li&gt;Repeat steps 7-10 for each driver type required.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;We now need to edit the CustomSettings.ini to configure the driver location for each model.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to the Deployment Workbench and right click on the Deployment Share, select Properties.&lt;/li&gt;
&lt;li&gt;Go to the Rules tab in the Properties window.&lt;/li&gt;
&lt;li&gt;Enter the following text under the [Settings] section but after the Properties.&lt;/li&gt;
&lt;li&gt;Once you&amp;rsquo;ve added in all the models required, click Apply to save the changes.&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;4
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[MODEL-NUMBER]
DriverGroup001=Windows 10 x64\Human-Readable-Model-Number
DriverSelectionProfile=nothing
OSDPrefix=PC
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;You&amp;rsquo;ll need to enter the above text for each model. Below is an example of my CustomSettings.ini for reference.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;15
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;16
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;17
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;18
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;19
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;20
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;21
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;22
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;23
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;24
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;25
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;26
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Model, Default, SetOSD
Properties=OSDPrefix
 
[HP 250 G5 Notebook PC]
DriverGroup001=Windows 10 x64\HP 250 G3
DriverSelectionProfile=nothing
OSDPrefix=HP
 
[80J2]
DriverGroup001=Windows 10 x64\Lenovo E50
DriverSelectionProfile=nothing
OSDPrefix=LEN
 
[Virtual Machine]
DriverGroup001=Virtual Machine
DriverSelectionProfile=nothing
OSDPrefix=VM
 
[Default]
_SMSTSORGNAME=Deploy
_SMSTSPackageName=%TaskSequenceName%
UserDataLocation=NONE
ComputerBackupLocation=\\SERVER-NAME\Deploy$\Captures
OSDComputerName=%OSDPrefix%-%SerialNumber%
...
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;The Deploy deployment share is now configured to install drivers for the models specified.&lt;/p&gt;
&lt;p&gt;Boot the physical device into the deployment environment and run the Deploy Windows 10 20H2. After it completes, check Device Manager and all devices should be successfully installed.&lt;/p&gt;
&lt;h3 id=&#34;adding-drivers-to-the-mdt-boot-image&#34;&gt;Adding Drivers to the MDT Boot Image&lt;/h3&gt;
&lt;p&gt;It may be necessary to add drivers to the MDT Boot Image for devices such as storage or network adaptors. To determine if drivers are required:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Boot the device in question into the deployment environment and press F8 to bring up a command prompt.&lt;/li&gt;
&lt;li&gt;Type ipconfig and if you have an IP address, you should not have to add network adaptor drivers&lt;/li&gt;
&lt;li&gt;Type diskpart, and when diskpart has loaded, type list disk. If the local hard drive is listed, you should not need to add storage drivers.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If you do need to add drivers to the boot image:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the Deployment Workbench, go to Deployment Share &amp;gt; Out-of-Box Drivers.&lt;/li&gt;
&lt;li&gt;Right click and select New Folder, call the folder WinPE x64.&lt;/li&gt;
&lt;li&gt;Right click on the WinPE x64 folder and select New Folder.&lt;/li&gt;
&lt;li&gt;Name the folder a suitable name for the model of device you&amp;rsquo;ll be adding drivers for.&lt;/li&gt;
&lt;li&gt;Right click on the folder you just created and create folders for each driver type you&amp;rsquo;ll be adding, e.g. Storage, Network.&lt;/li&gt;
&lt;li&gt;To import the drivers, right click on a driver type folder and select Import Drivers.&lt;/li&gt;
&lt;li&gt;Enter the source directory of the drivers and tick the Import drivers even if they are duplicates of an existing driver check box.&lt;/li&gt;
&lt;li&gt;Click Next and complete the wizard. The wizard will copy all the files needed to the driver type folder.&lt;/li&gt;
&lt;li&gt;Repeat steps 6-8 for each driver type required.&lt;/li&gt;
&lt;li&gt;Now we must create a Selection Profile for WinPE x64.&lt;/li&gt;
&lt;li&gt;Go to Advanced Configuration &amp;gt; Selection Profiles.&lt;/li&gt;
&lt;li&gt;Right click on Selection Profiles and select New Selection Profile.&lt;/li&gt;
&lt;li&gt;Enter WinPE x64 as the Selection profile name.&lt;/li&gt;
&lt;li&gt;In the folders list navigate to DS001:\ &amp;gt; Out-of-Box Drivers &amp;gt; WinPE x64 and check the box next to the folder.&lt;/li&gt;
&lt;li&gt;Click Next &amp;gt; Next &amp;gt; Finish to complete the wizard.&lt;/li&gt;
&lt;li&gt;Right click on the Deployment Share and select Properties.&lt;/li&gt;
&lt;li&gt;Go to the Windows PE tab and change the Platform drop down menu to x64.&lt;/li&gt;
&lt;li&gt;Go to the Drivers and Patches tab and change the Selection profile drop down menu to WinPE x64.&lt;/li&gt;
&lt;li&gt;Make sure that Include only drivers of the following types is selected and both Include all network drivers in the selection profile and Include all mass storage drivers in the selection profile are checked.&lt;/li&gt;
&lt;li&gt;Click Apply to save the changes, click OK to close the Properties window.&lt;/li&gt;
&lt;li&gt;Right click the Deployment Share and select Update Deployment Share.&lt;/li&gt;
&lt;li&gt;Select Completely regenerate the boot images, and then Next. The boot images will be regenerated with the drivers included.&lt;/li&gt;
&lt;li&gt;Click Finish to complete the wizard.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The MDT boot media should now have the network and/or storage drivers required. You now have a reference image for Windows 10 20H2 which is ready to deploy.&lt;/p&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 10 20H2 October 2020 Update</category>
            
          
            
              <category>Hyper-V</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Build and Capture Windows 10 20H2 Reference Image</title>
        <link>https://gal.vin/posts/old/build-and-capture-windows-10-20h2-reference-image/</link>
        <pubDate>Tue, 27 Oct 2020 21:42:04 +0000</pubDate>
        
        <atom:modified>Tue, 27 Oct 2020 21:42:04 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/build-and-capture-windows-10-20h2-reference-image/</guid>
        <description>News and Updates An update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released: This update fixes a boot loop issue. Details on how to install it are on Michael Niehaus&#39; blog post here. and you can download the fix here. Installation instructions will also be in the walkthrough below. NOTE: If you have existing shares you will need to copy the files from the extracted update to %DeployRoot%\Tools and overwrite the existing files in all shares.</description>
        <content:encoded>&lt;h3 id=&#34;news-and-updates&#34;&gt;News and Updates&lt;/h3&gt;
&lt;p&gt;An update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released: This update fixes a boot loop issue. Details on how to install it are on &lt;a href=&#34;https://oofhours.com/2020/06/03/mdt-build-8456-needs-an-update-for-windows-10-2004/&#34;&gt;Michael Niehaus&#39; blog post here&lt;/a&gt;. and you can &lt;a href=&#34;https://support.microsoft.com/en-us/help/4564442/windows-10-deployments-fail-with-microsoft-deployment-toolkit&#34;&gt;download the fix here&lt;/a&gt;. Installation instructions will also be in the walkthrough below. &lt;em&gt;NOTE:&lt;/em&gt; If you have existing shares you will need to copy the files from the extracted update to %DeployRoot%\Tools and overwrite the existing files in all shares. You will then need to update the deployment shares and recreate boot media.&lt;/p&gt;
&lt;p&gt;Lifecycle Support Notes from Microsoft: If you are using Enterprise or Education editions of Windows 10, from 1809 onwards the YY09 (YYH2) versions of Windows 10 will get 30 months of support and the YY03 versions will only get 18 months. So you may want to consider if you deploy the YY03 versions at all and focus on YY09 releases. Here&amp;rsquo;s the &lt;a href=&#34;https://support.microsoft.com/en-gb/help/13853/windows-lifecycle-fact-sheet&#34;&gt;official information from Microsoft here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This article is based on current information as of 2020-10-26. I will update it in future as things progress.&lt;/p&gt;
&lt;p&gt;In this article as with my previous ones we will walk through installing and configuring Microsoft Deployment Toolkit to build and capture a reference image of Windows 10 version 20H2 using a Hyper-V Virtual Machine. It&amp;rsquo;s assumed that you have a server or PC ready to install MDT and create a file share for MDT to build the image with, and finally we&amp;rsquo;ll be focusing on the 64-bit Enterprise edition of Windows 10. Here are the links to the software we&amp;rsquo;ll be using:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://developer.microsoft.com/en-us/windows/hardware/windows-assessment-deployment-kit&#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://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install&#34;&gt;Windows PE add-on for ADK 2004&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.microsoft.com/en-us/download/details.aspx?id=54259&#34;&gt;Microsoft Deployment Toolkit (8456)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://support.microsoft.com/en-us/help/4564442/windows-10-deployments-fail-with-microsoft-deployment-toolkit&#34;&gt;Microsoft Deployment Toolkit (8456) Update KB4564442&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Windows 10 version 20H2 x64 | &lt;a href=&#34;https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewiso&#34;&gt;Windows Insider Preview ISO&lt;/a&gt; | &lt;a href=&#34;https://www.microsoft.com/Licensing/servicecenter/default.aspx&#34;&gt;Volume Licensing Service Center&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Additional software which may be useful:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://rufus.ie&#34;&gt;Rufus&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.microsoft.com/en-gb/download/details.aspx?id=45520&#34;&gt;Remote Server Administration Tools for Windows 10&lt;/a&gt; - Double check that you download the version of RSAT for the version of server you want to administer.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;installing-microsoft-deployment-toolkit-and-dependencies&#34;&gt;Installing Microsoft Deployment Toolkit and Dependencies&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;First, we&amp;rsquo;ll install the Windows 10 version 2004 ADK. During setup additional files will need to be downloaded, so it may take some time depending on your internet connection.&lt;/li&gt;
&lt;li&gt;On the Select the features you want to install screen select:
&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 %ProgramFiles%\Microsoft Deployment Toolkit\Templates\Distribution\Tools replacing the existing files.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;creating-the-deployment-share&#34;&gt;Creating the Deployment Share&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Open the 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: E:\Build.&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;h3 id=&#34;adding-an-operating-system&#34;&gt;Adding an Operating System&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Mount the Windows 10 version 20H2 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 10 version 20H2 x64 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 10 version 20H2 x64 and complete the wizard.&lt;/li&gt;
&lt;li&gt;Go to the Operating Systems/Windows 10 version 20H2 x64 node and rename the new entries added to Windows 10 version 20H2 Edition x64 for ease of use.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;creating-package-folder-for-future-updates&#34;&gt;Creating Package Folder for Future Updates&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Go to Deployment Workbench &amp;gt; Packages.&lt;/li&gt;
&lt;li&gt;Create a folder named Windows 10 version 20H2 x64.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now we&amp;rsquo;ll create a selection profile so that the Task Sequence only attempts to install updates for Windows 10 version 20H2 x64 that we make available through MDT.&lt;/p&gt;
&lt;h3 id=&#34;creating-a-selection-profile&#34;&gt;Creating A Selection Profile&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Expand the 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 10 version 20H2 x64.&lt;/li&gt;
&lt;li&gt;On the Folders page, tick the Windows 10 version 20H2 x64 folder under Packages and complete the wizard.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;importing-applications&#34;&gt;Importing Applications&lt;/h3&gt;
&lt;p&gt;If you want to add some applications to be a part of your reference image, here I&amp;rsquo;ll cover how to add VLC as an example application.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to 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;h3 id=&#34;configuring-applications&#34;&gt;Configuring Applications&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Right click on VLC, go to the Details tab.&lt;/li&gt;
&lt;li&gt;Enter the following for the 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://www.microsoft.com/en-us/edge/business/download&#34;&gt;The New Microsoft Edge - Business Download&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;msiexec /i MicrosoftEdgeEnterpriseX64.msi /qn&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://enterprise.google.com/chrome/chrome-browser/&#34;&gt;Google Chrome - Enterprise Installer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;msiexec /I googlechromestandaloneenterprise64.msi /qn&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://get.adobe.com/uk/reader/enterprise/&#34;&gt;Adobe Reader - Enterprise Installer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;AdobeReaderDC.exe /sAll&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;We now need to create a new Task Sequence to create a reference image.&lt;/p&gt;
&lt;h3 id=&#34;creating-a-task-sequence&#34;&gt;Creating a Task Sequence&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In Deployment Workbench, go to Task Sequences.&lt;/li&gt;
&lt;li&gt;Right click and select New Task Sequence.&lt;/li&gt;
&lt;li&gt;For the ID enter: W10-20H2.&lt;/li&gt;
&lt;li&gt;Name it Build Windows 10 20H2.&lt;/li&gt;
&lt;li&gt;Select Standard Client Task Sequence.&lt;/li&gt;
&lt;li&gt;Select the Operating System Windows 10 20H2 x64.&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;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;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 10 20H2 x64.&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 Microsoft Edge and change the name Install Applications to Microsoft Edge.&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;h3 id=&#34;blocking-internet-access-to-prevent-microsoft-store-app-updates&#34;&gt;Blocking Internet Access to prevent Microsoft Store App Updates&lt;/h3&gt;
&lt;p&gt;To block internet access to the VM whilst the image is building, we&amp;rsquo;ll use my &lt;a href=&#34;https://gal.vin/utils/internet-access-control-utility/&#34;&gt;Internet Access Control Utility&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Running the script with the -disable switch will create a firewall rule that will block internet traffic on ports 80 and 443.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;First &lt;a href=&#34;https://github.com/Digressive/Internet-Access-Control&#34;&gt;download Internet Access Control Utility from GitHub&lt;/a&gt; and copy it to \\mdt-server\build-share\_custom.&lt;/li&gt;
&lt;li&gt;In the Task Sequence created above, we&amp;rsquo;ll add the items required to run the PowerShell script.&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;Go to State Restore and click on the Add button.&lt;/li&gt;
&lt;li&gt;Go to General &amp;gt; Run PowerShell Script.&lt;/li&gt;
&lt;li&gt;Name the new item PS Script - Disable Internet Access.&lt;/li&gt;
&lt;li&gt;Enter Z:\_custom\Internet-Access-Control.ps1.&lt;/li&gt;
&lt;li&gt;Add -Disable to the Parameters section.&lt;/li&gt;
&lt;li&gt;Scroll down the Task Sequence to just above the Imaging folder.&lt;/li&gt;
&lt;li&gt;Once again, add a new Run PowerShell Script item.&lt;/li&gt;
&lt;li&gt;Name it PS Script - Enable Internet Access.&lt;/li&gt;
&lt;li&gt;Again, enter Z:\_custom\Internet-Access-Control.ps1.&lt;/li&gt;
&lt;li&gt;Add -Enable to the Parameters section.&lt;/li&gt;
&lt;li&gt;Click Apply and OK to close the Task Sequence.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Next, we&amp;rsquo;ll create a domain user account for MDT for use as a service account.&lt;/p&gt;
&lt;h3 id=&#34;creating-a-service-account-for-mdt-in-active-directory&#34;&gt;Creating a service account for MDT in Active Directory&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Go to Active Directory Users and Computers.&lt;/li&gt;
&lt;li&gt;Create a user called mdt_admin 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 mdt_admin 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;h3 id=&#34;configuring-bootstrapini&#34;&gt;Configuring 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;span class=&#34;lnt&#34;&gt;7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;9
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Default
 
[Default]
DeployRoot=\\SERVER-NAME\Build$
UserDomain=contoso.com
UserID=mdt_admin
UserPassword=p@ssw0rd
SkipBDDWelcome=YES
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h3 id=&#34;configuring-customsettingsini&#34;&gt;Configuring CustomSettings.ini&lt;/h3&gt;
&lt;p&gt;On the 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;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Default
Properties=MyCustomProperty
 
[Default]
OSInstall=Y
SkipCapture=YES
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES
SkipLocaleSelection=YES
SkipTimeZone=YES
SkipDomainMembership=YES
SkipSummary=YES
SkipFinalSummary=YES
SkipComputerName=YES
SkipUserData=YES
 
_SMSTSORGNAME=Build Share
_SMSTSPackageName=%TaskSequenceName%
DoCapture=YES
ComputerBackupLocation=\\SERVER-NAME\Build$\Captures
BackupFile=%TaskSequenceID%_#year(date) &amp;amp; &amp;#34;-&amp;#34; &amp;amp; month(date) &amp;amp; &amp;#34;-&amp;#34; &amp;amp; day(date) &amp;amp; &amp;#34;-&amp;#34; &amp;amp; hour(time) &amp;amp; &amp;#34;-&amp;#34; &amp;amp; minute(time)#.wim
WSUSServer=http://WSUS-SERVER-NAME:8530
FinishAction=SHUTDOWN
SLShare=\\SERVER-NAME\Build$\Logs
EventService=http://SERVER-NAME:9800
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;We now need to create the boot media to boot the VM into the deployment environment.&lt;/p&gt;
&lt;h3 id=&#34;creating-the-boot-media&#34;&gt;Creating the Boot Media&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In 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-and-capturing-a-reference-image&#34;&gt;Testing and Capturing a Reference Image&lt;/h3&gt;
&lt;p&gt;To test everything, we need to copy the ISO file that we just generated. It is in the 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 LiteTouchPE_x64.iso. 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 LiteTouchPE_x64.iso 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 LiteTouchPE_x64.iso 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 10 version 20H2, update from the WSUS server, install the optional applications if you added them, and then run Windows Update from the WSUS server again. It will then run SysPrep and attempt to reboot back into the deployment environment from the local disk and send the image to the MDT server. However currently I have experienced issues when booting into WinPE from the disk. I have worked around this by booting from a LiteTouchPE_x64.iso to get into WinPE. The capture then runs as normal. Hopefully this will be fixed in a future update.&lt;/p&gt;
&lt;p&gt;When this process completes the VM will be shutdown and a file named W10-20H2_YEAR_MONTH_DAY_HOUR_MINUTE.wim will be in the Captures folder in the Deployment Share.&lt;/p&gt;
&lt;p&gt;You now have a reference image for Windows 10 version 20H2 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/old/deploy-windows-10-2004-20h1-reference-image/&#34;&gt;in this article&lt;/a&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 10 20H2 October 2020 Update</category>
            
          
            
              <category>Hyper-V</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Log Manager Utility - Update 20.07.27</title>
        <link>https://gal.vin/posts/old/log-manager-utility-update-20-07-27/</link>
        <pubDate>Thu, 30 Jul 2020 17:59:52 +0000</pubDate>
        
        <atom:modified>Thu, 30 Jul 2020 17:59:52 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/log-manager-utility-update-20-07-27/</guid>
        <description>Flexible clean up and backup of log files Just a small update to add the improved error capturing and reporting that I&amp;rsquo;ve also put in the Hyper-V Backup Utility.
2020-07-30: Version 20.07.27  Added improved error handling and reporting.  Log Manager Utility can also be downloaded from:
 The Microsoft PowerShell Gallery GitHub  See the full documentation available here.
If you would like to support me, please check out the link below.</description>
        <content:encoded>&lt;h3 id=&#34;flexible-clean-up-and-backup-of-log-files&#34;&gt;Flexible clean up and backup of log files&lt;/h3&gt;
&lt;p&gt;Just a small update to add the improved error capturing and reporting that I&amp;rsquo;ve also put in the Hyper-V Backup Utility.&lt;/p&gt;
&lt;h3 id=&#34;2020-07-30-version-200727&#34;&gt;2020-07-30: Version 20.07.27&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added improved error handling and reporting.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;Log Manager Utility&lt;/em&gt; can also be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Log-Manager&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/Log-Manager&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/log-manager-utility/&#34;&gt;available here.&lt;/a&gt;&lt;/p&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>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Hyper-V Backup Utility - Update 20.07.13</title>
        <link>https://gal.vin/posts/old/hyper-v-backup-utility-update/</link>
        <pubDate>Mon, 13 Jul 2020 17:30:05 +0000</pubDate>
        
        <atom:modified>Mon, 13 Jul 2020 17:30:05 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/hyper-v-backup-utility-update/</guid>
        <description>Flexible Hyper-V Backup Utility A substantial update in terms of changes made under the hood, but I&amp;rsquo;ve also added a few new options requested by users. The biggest change is that errors are now handled properly and reported to the user in a reliable manner. All the changes are summarized below.
Version 20.07.13  Added -ShortDate option. This will create backups with only the Year, Month, Day as the file name.</description>
        <content:encoded>&lt;h3 id=&#34;flexible-hyper-v-backup-utility&#34;&gt;Flexible Hyper-V Backup Utility&lt;/h3&gt;
&lt;p&gt;A substantial update in terms of changes made under the hood, but I&amp;rsquo;ve also added a few new options requested by users. The biggest change is that errors are now handled properly and reported to the user in a reliable manner. All the changes are summarized below.&lt;/p&gt;
&lt;h3 id=&#34;version-200713&#34;&gt;Version 20.07.13&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added -ShortDate option. This will create backups with only the Year, Month, Day as the file name.&lt;/li&gt;
&lt;li&gt;Added pass through for 7-Zip options - CPU threads to use and compression level.&lt;/li&gt;
&lt;li&gt;Added proper error handling so errors are properly reported in the console, log and email.&lt;/li&gt;
&lt;li&gt;Bug fixes to create folders when paths are configured without the folders existing.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hyper-V Backup Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Hyper-V-Backup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/hyperv-backup-utility/&#34;&gt;available here&lt;/a&gt;.&lt;/p&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>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>3D Maze Remix - Update v1.4</title>
        <link>https://gal.vin/posts/old/3d-maze-remix-update-v1-4/</link>
        <pubDate>Fri, 19 Jun 2020 14:19:15 +0000</pubDate>
        
        <atom:modified>Fri, 19 Jun 2020 14:19:15 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/3d-maze-remix-update-v1-4/</guid>
        <description>Update v1.4 Download from Itch.io, available for Windows, macOS, and Linux
Once again, I&amp;rsquo;ve updated 3D Maze Remix with some new features that I&amp;rsquo;ve wanted to put in the game since I started developing it. I don&amp;rsquo;t consider this project &amp;ldquo;finished&amp;rdquo; just yet, as I&amp;rsquo;d like to improve the AI in the &amp;ldquo;demo&amp;rdquo; mode and make it more true to the original 3D Maze screensaver, which has been my aim throughout the entire project.</description>
        <content:encoded>&lt;p&gt;&lt;img src=&#34;https://gal.vin/media/util-logos/3dmr-logo.webp&#34; alt=&#34;3D Maze Remix&#34; /&gt;&lt;/p&gt;
&lt;h3 id=&#34;update-v14&#34;&gt;Update v1.4&lt;/h3&gt;
&lt;p&gt;&lt;a href=&#34;https://mikegalvin.itch.io/3d-maze-remix&#34;&gt;Download from Itch.io, available for Windows, macOS, and Linux&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Once again, I&amp;rsquo;ve updated 3D Maze Remix with some new features that I&amp;rsquo;ve wanted to put in the game since I started developing it. I don&amp;rsquo;t consider this project &amp;ldquo;finished&amp;rdquo; just yet, as I&amp;rsquo;d like to improve the AI in the &amp;ldquo;demo&amp;rdquo; mode and make it more true to the original 3D Maze screensaver, which has been my aim throughout the entire project. So why am I releasing this if it&amp;rsquo;s not finished and needs refining? As I&amp;rsquo;m learning Unity and C#, I want to show the progress of my work at self-imposed milestones. 3D Maze Remix v1.1 is still available on the Microsoft Store and provides an interesting look back to the original version of the game.&lt;/p&gt;
&lt;h3 id=&#34;v14-change-log&#34;&gt;v1.4 Change Log&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added autonomous movement to the &amp;ldquo;rat&amp;rdquo; character.&lt;/li&gt;
&lt;li&gt;Added &amp;ldquo;demo&amp;rdquo; mode. Allowing the player character to move autonomously like the original screensaver.&lt;/li&gt;
&lt;li&gt;Added display resolution options.&lt;/li&gt;
&lt;li&gt;General clean up and optimisations.&lt;/li&gt;
&lt;/ul&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>3D Maze Remix</category>
            
          
            
              <category>Unity</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>3D Maze Remix Dev Diary #1</title>
        <link>https://gal.vin/posts/old/3d-maze-remix-dev-diary-1/</link>
        <pubDate>Tue, 14 Apr 2020 19:10:36 +0000</pubDate>
        
        <atom:modified>Tue, 14 Apr 2020 19:10:36 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/3d-maze-remix-dev-diary-1/</guid>
        <description>I&amp;rsquo;ve started work on 3D Maze Remix to add some features I&amp;rsquo;ve been wanting to figure out for a while. As I&amp;rsquo;m still learning C# and Unity the pretty simple sounding additions take longer than I initially thought. Here&amp;rsquo;s what I&amp;rsquo;ve been working on.
Adding autonomous movement to the rat entity Making the rat move and not clip through the walls, floor or ceiling meant adding collision to the rat but allowing the player and rat to pass through each other.</description>
        <content:encoded>&lt;p&gt;I&amp;rsquo;ve started work on 3D Maze Remix to add some features I&amp;rsquo;ve been wanting to figure out for a while. As I&amp;rsquo;m still learning C# and Unity the pretty simple sounding additions take longer than I initially thought. Here&amp;rsquo;s what I&amp;rsquo;ve been working on.&lt;/p&gt;
&lt;h3 id=&#34;adding-autonomous-movement-to-the-rat-entity&#34;&gt;Adding autonomous movement to the rat entity&lt;/h3&gt;
&lt;p&gt;Making the rat move and not clip through the walls, floor or ceiling meant adding collision to the rat but allowing the player and rat to pass through each other. So, I learned about and used Layer-based collision detection. &lt;a href=&#34;https://docs.unity3d.com/Manual/LayerBasedCollision.html&#34;&gt;https://docs.unity3d.com/Manual/LayerBasedCollision.html&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;fixing-various-visual-bugs&#34;&gt;Fixing various visual bugs&lt;/h3&gt;
&lt;p&gt;Spotted what appeared to be a weird visual bug when pausing or reaching the finish screen and attempted to fix. It turned out that it was due to me having the gismos enabled in the game view of Unity and it was the edge of the canvas. A few images appear to have additional partially transparent pixels in the backgrounds, but they do not appear in photoshop, only in the Unity editor. I&amp;rsquo;ll investigate further.&lt;/p&gt;
&lt;h3 id=&#34;add-autonomous-movement-for-the-player&#34;&gt;Add autonomous movement for the player&lt;/h3&gt;
&lt;p&gt;I want to add an option to have autonomous movement for the player character so the game can run without user interaction like the original screen saver. I am currently using the same script as with the rat and it works however movement is not ideal and when the player interacts with a pickup object and the camera rotates the “view” disconnects. This is probably due to a work around I introduced in an earlier version. I will work on finding a better workaround and fixing this issue.&lt;/p&gt;
&lt;h3 id=&#34;general-clean-up&#34;&gt;General clean up&lt;/h3&gt;
&lt;p&gt;I removed the point light from the player character as it didn&amp;rsquo;t serve much purpose except the add additional light to the pickup objects.&lt;/p&gt;
&lt;p&gt;The current version of 3D Maze Remix is available on &lt;a href=&#34;https://mikegalvin.itch.io/3d-maze-remix&#34;&gt;my itch.io page.&lt;/a&gt;&lt;/p&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>3D Maze Remix</category>
            
          
            
              <category>Unity</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Deploy Windows 10 2004 (20H1) Reference Image</title>
        <link>https://gal.vin/posts/old/deploy-windows-10-2004-20h1-reference-image/</link>
        <pubDate>Tue, 07 Apr 2020 14:41:32 +0000</pubDate>
        
        <atom:modified>Tue, 07 Apr 2020 14:41:32 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/deploy-windows-10-2004-20h1-reference-image/</guid>
        <description>News and Updates An essential update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released: This update fixes two issues around booting. Details on how to install it are on Michael Niehaus&#39; blog post here. and you can download the fix here. I will add installation instructions in the walkthrough below. NOTE: If you have existing shares you will need to copy the files from the extracted update to %DeployRoot%\Tools and overwrite the existing files in all shares.</description>
        <content:encoded>&lt;h3 id=&#34;news-and-updates&#34;&gt;News and Updates&lt;/h3&gt;
&lt;p&gt;An essential update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released: This update fixes two issues around booting. Details on how to install it are on &lt;a href=&#34;https://oofhours.com/2020/06/03/mdt-build-8456-needs-an-update-for-windows-10-2004/&#34;&gt;Michael Niehaus&#39; blog post here&lt;/a&gt;. and you can &lt;a href=&#34;https://support.microsoft.com/en-us/help/4564442/windows-10-deployments-fail-with-microsoft-deployment-toolkit&#34;&gt;download the fix here&lt;/a&gt;. I will add installation instructions in the walkthrough below. &lt;em&gt;NOTE:&lt;/em&gt; If you have existing shares you will need to copy the files from the extracted update to %DeployRoot%\Tools and overwrite the existing files in all shares. You will then need to update the deployment shares and regenerate the boot media.&lt;/p&gt;
&lt;p&gt;Lifecycle Support Notes from Microsoft: The Windows 10 Enterprise and Education 1709 support window has been extended six months to October 13th 2020 due to the COVID-19 pandemic. If you are using Enterprise or Education editions of Windows 10, from 1809 onwards the YY09 (YYH2) versions of Windows 10 will get 30 months of support and the YY03 versions will only get 18 months. So you may want to consider if you deploy the YY03 versions at all and focus on YY09 releases. Here&amp;rsquo;s the &lt;a href=&#34;https://support.microsoft.com/en-gb/help/13853/windows-lifecycle-fact-sheet&#34;&gt;official information from Microsoft here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This article is based on current information as of 2020-06-04. 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: &lt;a href=&#34;https://gal.vin/posts/old/build-and-capture-windows-10-2004-20h1-reference-image/&#34;&gt;Build and Capture Windows 10 2004 (20H1) 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 %ProgramFiles%\Microsoft Deployment Toolkit\Templates\Distribution\Tools replacing the existing files. If you have existing shares you will need to copy the files from the update to %DeployRoot%\Tools 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: E:\Deploy.&lt;/li&gt;
&lt;li&gt;Enter the Share name: Deploy$.&lt;/li&gt;
&lt;li&gt;Give the share a description.&lt;/li&gt;
&lt;li&gt;On the Options screen, accept the defaults as we can change them later.&lt;/li&gt;
&lt;li&gt;Complete the wizard to create the share.&lt;/li&gt;
&lt;li&gt;By default, the share permissions are set the local administrators group. We&amp;rsquo;ll revisit this later.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;add-an-operating-system&#34;&gt;Add an Operating System&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Go to Deployment Workbench &amp;gt; Operating Systems.&lt;/li&gt;
&lt;li&gt;Right click and select Import Operating System.&lt;/li&gt;
&lt;li&gt;In the wizard, select Custom image file and then navigate to the Captures folder of the Build Deployment Share as the Source file.&lt;/li&gt;
&lt;li&gt;When prompted to Specify operating system setup files, select Setup files are not needed.&lt;/li&gt;
&lt;li&gt;For the destination directory name enter a name that you want to use and complete the wizard.&lt;/li&gt;
&lt;li&gt;Go to the Operating Systems node and rename the reference image we just captured to something more readable.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;create-a-task-sequence&#34;&gt;Create a Task Sequence&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In Deployment Workbench, go to Task Sequences.&lt;/li&gt;
&lt;li&gt;Right click and select New Task Sequence.&lt;/li&gt;
&lt;li&gt;For the ID enter: W10-2004.&lt;/li&gt;
&lt;li&gt;Name it Deploy Windows 10 2004.&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 mdt_admin 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 mdt_admin 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 [Virtual Machine] 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 mdt_admin account to use as the account to join the device being imaged to the domain contoso.com.&lt;/p&gt;
&lt;p&gt;If you are following this guide to the letter, the mdt_admin 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. The other settings are location preferences relevant to the UK and resolution settings which prevent the finished device from defaulting to a resolution of 1024 x 768, and instead use the recommended resolution Windows receives from the display.&lt;/p&gt;
&lt;p&gt;On the Rules tab of the Deployment Share properties window, add the settings below.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;15
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;16
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;17
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;18
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;19
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;20
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;21
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;22
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;23
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;24
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;25
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;26
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;27
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;28
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;29
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;30
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;31
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;32
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;33
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;34
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;35
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;36
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;37
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;38
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;39
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;40
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;41
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;42
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;43
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;44
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;45
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;46
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;47
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;48
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;49
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;50
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;51
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Model, Default, SetOSD
Properties=OSDPrefix

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

[Default]
_SMSTSORGNAME=Deploy
_SMSTSPackageName=%TaskSequenceName%

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

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

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

; Other Settings
SkipUserData=YES
SkipDomainMembership=YES
SkipLocaleSelection=YES
SkipTimeZone=YES
SkipSummary=YES
SkipFinalSummary=YES
FinishAction=SHUTDOWN
WSUSServer=http://SERVER-NAME:8530
SLShare=\\SERVER-NAME\deploy$\Logs
EventService=http://SERVER-NAME:9800
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;We now need to create the boot media to boot the VM into the deployment environment.&lt;/p&gt;
&lt;h3 id=&#34;creating-the-boot-media&#34;&gt;Creating the Boot Media&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In Deployment Workbench, right click on the Deployment Share.&lt;/li&gt;
&lt;li&gt;Select Update Deployment Share.&lt;/li&gt;
&lt;li&gt;Select Completely regenerate the boot images.&lt;/li&gt;
&lt;li&gt;Complete the wizard. It will take some time to create the boot images.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;testing-the-task-sequence&#34;&gt;Testing the Task Sequence&lt;/h3&gt;
&lt;p&gt;To test everything, we need to copy the ISO file that we just generated. It is in the Boot folder in the Deployment Share. Go to the Server or PC that is hosting the deployment share and navigate to the boot folder. Inside there should be a file named LiteTouchPE_x64.iso. 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 -deploy to the name of this new ISO.&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 LiteTouchPE_x64-deploy.iso 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 LiteTouchPE_x64-deploy.iso 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. When the task sequence completes the VM will be shutdown. This completes the basic testing of the deployment task sequence. Now we&amp;rsquo;ll get into drivers and further configuration.&lt;/p&gt;
&lt;h3 id=&#34;setting-the-default-application-associations&#34;&gt;Setting the Default Application Associations&lt;/h3&gt;
&lt;p&gt;Here&amp;rsquo;s how to configure the default application associations in the deployment task sequence.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Using an existing Windows 10 install navigate to Settings &amp;gt; System &amp;gt; Default apps.&lt;/li&gt;
&lt;li&gt;Set the Default apps and any other file associations as required.&lt;/li&gt;
&lt;li&gt;Open Windows PowerShell (Admin) by right-clicking on the Windows/Start button or pressing Win + X.&lt;/li&gt;
&lt;li&gt;In the PowerShell window type the following and press enter: &lt;code&gt;Dism /Online /Export-DefaultAppAssociations:C:\AppAssoc.xml&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;After a few seconds you should see The operation completed successfully in the PowerShell window.&lt;/li&gt;
&lt;li&gt;Navigate to C:\ and copy AppAssoc.xml to your MDT deployment share: \\SERVER-NAME\Deploy$\_custom.&lt;/li&gt;
&lt;li&gt;Open the Deployment Workbench and go to Deployment Share &amp;gt; Task Sequences.&lt;/li&gt;
&lt;li&gt;Right click on the Task Sequence Deploy Windows 10 2004 and select Properties.&lt;/li&gt;
&lt;li&gt;Click on the Task Sequence tab and navigate to Postinstall &amp;gt; Configure.&lt;/li&gt;
&lt;li&gt;Click the Add button at the top of the Task Sequence actions view and go to General &amp;gt; Run Command Line.&lt;/li&gt;
&lt;li&gt;Enter Set Default App Associations in the Name field, and in the Command line field enter: &lt;code&gt;Dism.exe /Image:%OSDisk%\ /Import-DefaultAppAssociations:%DEPLOYROOT%\Applications\_scripts\AppAssoc.xml&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Click Apply to save the changes.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;driver-management&#34;&gt;Driver Management&lt;/h3&gt;
&lt;p&gt;Now we&amp;rsquo;re going to configure how drivers are installed for the physical devices we&amp;rsquo;re going to deploy Windows 10 to. There are a few ways to do this, here I&amp;rsquo;ll show the method I&amp;rsquo;ve been using which has worked very well for a variety of manufactures and models of devices.&lt;/p&gt;
&lt;p&gt;The first thing you&amp;rsquo;ll need is the model numbers for all the devices you want to roll out the image to. You can find this out by booting the device in to its current version of Windows or the deployment environment using the LiteTouch_x64.iso boot disc or PXE booting, which I haven&amp;rsquo;t covered in this post but here&amp;rsquo;s a previous post I wrote on how to setup PXE booting for MDT: &lt;a href=&#34;https://gal.vin/posts/old/pxe-booting-for-mdt/&#34;&gt;PXE Booting for Microsoft Deployment Toolkit&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When the device is booted into the deployment environment, press F8 to get a command prompt, and typing out the following command: &lt;code&gt;wmic computersystem get model&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The output of the command is the model number you&amp;rsquo;ll need. The next thing you&amp;rsquo;ll need is the drivers. I&amp;rsquo;ve found Windows 10 is good at installing missing drivers from Windows Update, but it can take some time and it would be better for the device to be running with all the drivers it needs once deployment has completed.&lt;/p&gt;
&lt;p&gt;Windows 10 tends to have some drivers built right in and I&amp;rsquo;ve found they are usually very usable, so generally I only add drivers to MDT that Windows 10 cannot find. Deploy the reference image to each type of device you have and use Device Manager to see what&amp;rsquo;s missing.&lt;/p&gt;
&lt;p&gt;If you are missing drivers, go to Settings &amp;gt; Windows Update and use Check online for updates from Microsoft Update which should find and install the relevant drivers. Then using the Update History and see what you need to find and import into MDT.&lt;/p&gt;
&lt;p&gt;Note: I recommend avoiding using WSUS to download and install drivers as it inflates the WSUS database, slowing WSUS down and making it difficult to manage.&lt;/p&gt;
&lt;p&gt;To import drivers into MDT you&amp;rsquo;ll need the INF files. Most large manufacturers do a decent job of providing drivers that can be used with MDT. Should you have difficulty with them you can use the &lt;a href=&#34;https://www.catalog.update.microsoft.com&#34;&gt;Microsoft Update Catalog&lt;/a&gt; to search for and download the specific drivers that Windows Update installs and use them with MDT.&lt;/p&gt;
&lt;p&gt;Once you have the drivers you require, we need to add them to MDT.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the Deployment Workbench.&lt;/li&gt;
&lt;li&gt;Navigate to Deployment Share &amp;gt; Out-of-Box Drivers.&lt;/li&gt;
&lt;li&gt;Right click and select New Folder, call the folder Windows 10 x64.&lt;/li&gt;
&lt;li&gt;Right click on the Windows 10 x64 folder and select New Folder.&lt;/li&gt;
&lt;li&gt;Name the folder a human readable name for the model of device you&amp;rsquo;ll be adding drivers for.&lt;/li&gt;
&lt;li&gt;Right click on the folder you just created and create folders for each driver type you&amp;rsquo;ll be adding, e.g. Graphics, Chipset, Bluetooth.&lt;/li&gt;
&lt;li&gt;Right click on a driver type folder and select Import Drivers.&lt;/li&gt;
&lt;li&gt;Enter the source directory of the drivers for that driver type.&lt;/li&gt;
&lt;li&gt;Check the Import drivers even if they are duplicates of an existing driver check box.&lt;/li&gt;
&lt;li&gt;Click Next and complete the wizard. The wizard will copy all the files needed to the driver type folder.&lt;/li&gt;
&lt;li&gt;Repeat steps 7-10 for each driver type required.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;We now need to edit the CustomSettings.ini to configure the driver location for each model.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to the Deployment Workbench and right click on the Deployment Share, select Properties.&lt;/li&gt;
&lt;li&gt;Go to the Rules tab in the Properties window.&lt;/li&gt;
&lt;li&gt;Enter the following text under the [Settings] section but after the Properties.&lt;/li&gt;
&lt;li&gt;Once you&amp;rsquo;ve added in all the models required, click Apply to save the changes.&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;4
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[MODEL-NUMBER]
DriverGroup001=Windows 10 x64\Human-Readable-Model-Number
DriverSelectionProfile=nothing
OSDPrefix=PC
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;You&amp;rsquo;ll need to enter the above text for each model. Below is an example of my CustomSettings.ini for reference.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;15
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;16
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;17
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;18
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;19
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;20
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;21
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;22
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;23
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;24
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;25
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;26
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Model, Default, SetOSD
Properties=OSDPrefix

[HP 250 G5 Notebook PC]
DriverGroup001=Windows 10 x64\HP 250 G3
DriverSelectionProfile=nothing
OSDPrefix=HP

[80J2]
DriverGroup001=Windows 10 x64\Lenovo E50
DriverSelectionProfile=nothing
OSDPrefix=LEN

[Virtual Machine]
DriverGroup001=Virtual Machine
DriverSelectionProfile=nothing
OSDPrefix=VM

[Default]
_SMSTSORGNAME=Deploy
_SMSTSPackageName=%TaskSequenceName%
UserDataLocation=NONE
ComputerBackupLocation=\\SERVER-NAME\Deploy$\Captures
OSDComputerName=%OSDPrefix%-%SerialNumber%
...
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;The Deploy deployment share is now configured to install drivers for the models specified. Boot the physical device into the deployment environment and run the Deploy Windows 10 2004. After it completes, check Device Manager and all devices should be successfully installed.&lt;/p&gt;
&lt;h3 id=&#34;adding-drivers-to-the-mdt-boot-image&#34;&gt;Adding Drivers to the MDT Boot Image&lt;/h3&gt;
&lt;p&gt;It may be necessary to add drivers to the MDT Boot Image for devices such as storage or network adaptors. To determine if drivers are required:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Boot the device in question into the deployment environment and press F8 to bring up a command prompt.&lt;/li&gt;
&lt;li&gt;Type ipconfig and if you have an IP address, you should not have to add network adaptor drivers&lt;/li&gt;
&lt;li&gt;Type diskpart, and when diskpart has loaded, type list disk. If the local hard drive is listed, you should not need to add storage drivers.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If you do need to add drivers to the boot image:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the Deployment Workbench, go to Deployment Share &amp;gt; Out-of-Box Drivers.&lt;/li&gt;
&lt;li&gt;Right click and select New Folder, call the folder WinPE x64.&lt;/li&gt;
&lt;li&gt;Right click on the WinPE x64 folder and select New Folder.&lt;/li&gt;
&lt;li&gt;Name the folder a suitable name for the model of device you&amp;rsquo;ll be adding drivers for.&lt;/li&gt;
&lt;li&gt;Right click on the folder you just created and create folders for each driver type you&amp;rsquo;ll be adding, e.g. Storage, Network.&lt;/li&gt;
&lt;li&gt;To import the drivers, right click on a driver type folder and select Import Drivers.&lt;/li&gt;
&lt;li&gt;Enter the source directory of the drivers and tick the Import drivers even if they are duplicates of an existing driver check box.&lt;/li&gt;
&lt;li&gt;Click Next and complete the wizard. The wizard will copy all the files needed to the driver type folder.&lt;/li&gt;
&lt;li&gt;Repeat steps 6-8 for each driver type required.&lt;/li&gt;
&lt;li&gt;Now we must create a Selection Profile for WinPE x64.&lt;/li&gt;
&lt;li&gt;Go to Advanced Configuration &amp;gt; Selection Profiles.&lt;/li&gt;
&lt;li&gt;Right click on Selection Profiles and select New Selection Profile.&lt;/li&gt;
&lt;li&gt;Enter WinPE x64 as the Selection profile name.&lt;/li&gt;
&lt;li&gt;In the folders list navigate to DS001:\ &amp;gt; Out-of-Box Drivers &amp;gt; WinPE x64 and check the box next to the folder.&lt;/li&gt;
&lt;li&gt;Click Next &amp;gt; Next &amp;gt; Finish to complete the wizard.&lt;/li&gt;
&lt;li&gt;Right click on the Deployment Share and select Properties.&lt;/li&gt;
&lt;li&gt;Go to the Windows PE tab and change the Platform drop down menu to x64.&lt;/li&gt;
&lt;li&gt;Go to the Drivers and Patches tab and change the Selection profile drop down menu to WinPE x64.&lt;/li&gt;
&lt;li&gt;Make sure that Include only drivers of the following types is selected and both Include all network drivers in the selection profile and Include all mass storage drivers in the selection profile are checked.&lt;/li&gt;
&lt;li&gt;Click Apply to save the changes, click OK to close the Properties window.&lt;/li&gt;
&lt;li&gt;Right click the Deployment Share and select Update Deployment Share.&lt;/li&gt;
&lt;li&gt;Select Completely regenerate the boot images, and then Next. The boot images will be regenerated with the drivers included.&lt;/li&gt;
&lt;li&gt;Click Finish to complete the wizard.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The MDT boot media should now have the network and/or storage drivers required.&lt;/p&gt;
&lt;p&gt;You now have a reference image for Windows 10 2004 which is ready to deploy.&lt;/p&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 10 2004 May 2020 Update (20H1)</category>
            
          
            
              <category>Hyper-V</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Build and Capture Windows 10 2004 (20H1) Reference Image</title>
        <link>https://gal.vin/posts/old/build-and-capture-windows-10-2004-20h1-reference-image/</link>
        <pubDate>Wed, 25 Mar 2020 13:01:12 +0000</pubDate>
        
        <atom:modified>Wed, 25 Mar 2020 13:01:12 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/build-and-capture-windows-10-2004-20h1-reference-image/</guid>
        <description>News and Updates An essential update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released: This update fixes two issues around booting. Details on how to install it are on Michael Niehaus&#39; blog post here. and you can download the fix here. I will add installation instructions in the walkthrough below. NOTE: If you have existing shares you will need to copy the files from the extracted update to %DeployRoot%\Tools and overwrite the existing files in all shares.</description>
        <content:encoded>&lt;h3 id=&#34;news-and-updates&#34;&gt;News and Updates&lt;/h3&gt;
&lt;p&gt;An essential update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released: This update fixes two issues around booting. Details on how to install it are on &lt;a href=&#34;https://oofhours.com/2020/06/03/mdt-build-8456-needs-an-update-for-windows-10-2004/&#34;&gt;Michael Niehaus&#39; blog post here&lt;/a&gt;. and you can &lt;a href=&#34;https://support.microsoft.com/en-us/help/4564442/windows-10-deployments-fail-with-microsoft-deployment-toolkit&#34;&gt;download the fix here&lt;/a&gt;. I will add installation instructions in the walkthrough below. &lt;em&gt;NOTE:&lt;/em&gt; If you have existing shares you will need to copy the files from the extracted update to %DeployRoot%\Tools and overwrite the existing files in all shares. You will then need to update the deployment shares and regenerate the boot media.&lt;/p&gt;
&lt;p&gt;Lifecycle Support Notes from Microsoft: The Windows 10 Enterprise and Education 1709 support window has been extended six months to October 13th 2020 due to the COVID-19 pandemic. If you are using Enterprise or Education editions of Windows 10, from 1809 onwards the YY09 (YYH2) versions of Windows 10 will get 30 months of support and the YY03 versions will only get 18 months. So you may want to consider if you deploy the YY03 versions at all and focus on YY09 releases. Here&amp;rsquo;s the &lt;a href=&#34;https://support.microsoft.com/en-gb/help/13853/windows-lifecycle-fact-sheet&#34;&gt;official information from Microsoft here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This article is based on current information as of 2020-06-04. I will update it in future as things progress.&lt;/p&gt;
&lt;p&gt;In this article as with my previous ones we will walk through installing and configuring Microsoft Deployment Toolkit to build and capture a reference image of Windows 10 2004 using a Hyper-V Virtual Machine. It&amp;rsquo;s assumed that you have a server or PC ready to install MDT and create a file share for MDT to build the image with, and finally we&amp;rsquo;ll be focusing on the 64-bit Enterprise edition of Windows 10. Here are the links to the software we&amp;rsquo;ll be using:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://developer.microsoft.com/en-us/windows/hardware/windows-assessment-deployment-kit&#34;&gt;Windows 10 2004 Assessment and Deployment Kit (ADK)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install&#34;&gt;Windows PE add-on for ADK 2004&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.microsoft.com/en-us/download/details.aspx?id=54259&#34;&gt;Microsoft Deployment Toolkit (8456)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://support.microsoft.com/en-us/help/4564442/windows-10-deployments-fail-with-microsoft-deployment-toolkit&#34;&gt;Microsoft Deployment Toolkit (8456) Update KB4564442&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Windows 10 2004 x64 | &lt;a href=&#34;https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewiso&#34;&gt;Windows Insider Preview ISO&lt;/a&gt; | &lt;a href=&#34;https://www.microsoft.com/Licensing/servicecenter/default.aspx&#34;&gt;Volume Licensing Service Center&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Additional software which may be useful:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://rufus.ie&#34;&gt;Rufus&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.microsoft.com/en-gb/download/details.aspx?id=45520&#34;&gt;Remote Server Administration Tools for Windows 10&lt;/a&gt; - Double check that you download the version of RSAT for the version of server you want to administer.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;installing-microsoft-deployment-toolkit-and-dependencies&#34;&gt;Installing Microsoft Deployment Toolkit and Dependencies&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;First, we&amp;rsquo;ll install the Windows 10 2004 ADK. During setup additional files will need to be downloaded, so it may take some time depending on your internet connection.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On the Select the features you want to install screen select:&lt;/p&gt;
&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;
&lt;p&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;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Now install MDT by running the setup file downloaded earlier. There is no specific configuration during the install wizard.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Finally, extract the files from MDT_KB4564442, and copy them to %ProgramFiles%\Microsoft Deployment Toolkit\Templates\Distribution\Tools replacing the existing files.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;creating-the-deployment-share&#34;&gt;Creating the Deployment Share&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Open the 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: E:\Build.&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;h3 id=&#34;adding-an-operating-system&#34;&gt;Adding an Operating System&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Mount the Windows 10 2004 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 10 2004 x64 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 10 2004 x64 and complete the wizard.&lt;/li&gt;
&lt;li&gt;Go to the Operating Systems/Windows 10 2004 x64 node and rename the new entries added to Windows 10 2004 Edition x64 for ease of use.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;creating-package-folder-for-future-updates&#34;&gt;Creating Package Folder for Future Updates&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Go to Deployment Workbench &amp;gt; Packages.&lt;/li&gt;
&lt;li&gt;Create a folder named Windows 10 2004 x64.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now we&amp;rsquo;ll create a selection profile so that the Task Sequence only attempts to install updates for Windows 10 2004 x64 that we make available through MDT.&lt;/p&gt;
&lt;h3 id=&#34;creating-a-selection-profile&#34;&gt;Creating A Selection Profile&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Expand the 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 10 2004 x64.&lt;/li&gt;
&lt;li&gt;On the Folders page, tick the Windows 10 2004 x64 folder under Packages and complete the wizard.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;importing-applications&#34;&gt;Importing Applications&lt;/h3&gt;
&lt;p&gt;In my previous articles I&amp;rsquo;ve covered how to add Microsoft Office 2016, in this one I&amp;rsquo;m going to omit the information as it is probably time to move to Office 2019/365 and they both install very differently from Office 2016. I have a separate article and YouTube video walk through on how to deploy Office 2019/365. Below are the silent installation commands for a few common applications that you may want to deploy with the image.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://www.microsoft.com/en-us/edge/business/download&#34;&gt;The New Microsoft Edge - Business Download&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;msiexec /i MicrosoftEdgeEnterpriseX64.msi /qn&lt;/code&gt;&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;h3 id=&#34;creating-a-task-sequence&#34;&gt;Creating a Task Sequence&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In Deployment Workbench, go to Task Sequences.&lt;/li&gt;
&lt;li&gt;Right click and select New Task Sequence.&lt;/li&gt;
&lt;li&gt;For the ID enter: W10-2004.&lt;/li&gt;
&lt;li&gt;Name it Build Windows 10 2004.&lt;/li&gt;
&lt;li&gt;Select Standard Client Task Sequence.&lt;/li&gt;
&lt;li&gt;Select the Operating System Windows 10 2004 x64.&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;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;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 10 2004 x64.&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 Microsoft Edge and change the name Install Applications to Microsoft Edge.&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;h3 id=&#34;blocking-internet-access-to-prevent-microsoft-store-app-updates&#34;&gt;Blocking Internet Access to prevent Microsoft Store App Updates&lt;/h3&gt;
&lt;p&gt;To block internet access to the VM whilst the image is building, we&amp;rsquo;ll use my &lt;a href=&#34;https://gal.vin/utils/internet-access-control-utility/&#34;&gt;Internet Access Control Utility&lt;/a&gt;. Running the script with the -disable switch will create a firewall rule that will block internet traffic on ports 80 and 443.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;First &lt;a href=&#34;https://github.com/Digressive/Internet-Access-Control&#34;&gt;download Internet Access Control Utility from GitHub&lt;/a&gt; and copy it to \\mdt-server\build-share\_custom.&lt;/li&gt;
&lt;li&gt;In the Task Sequence created above, we&amp;rsquo;ll add the items required to run the PowerShell script.&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;Go to State Restore and click on the Add button.&lt;/li&gt;
&lt;li&gt;Go to General &amp;gt; Run PowerShell Script.&lt;/li&gt;
&lt;li&gt;Name the new item PS Script - Disable Internet Access.&lt;/li&gt;
&lt;li&gt;Enter Z:\_custom\Internet-Access-Control.ps1.&lt;/li&gt;
&lt;li&gt;Add -Disable to the Parameters section.&lt;/li&gt;
&lt;li&gt;Scroll down the Task Sequence to just above the Imaging folder.&lt;/li&gt;
&lt;li&gt;Once again, add a new Run PowerShell Script item.&lt;/li&gt;
&lt;li&gt;Name it PS Script - Enable Internet Access.&lt;/li&gt;
&lt;li&gt;Again, enter Z:\_custom\Internet-Access-Control.ps1.&lt;/li&gt;
&lt;li&gt;Add -Enable to the Parameters section.&lt;/li&gt;
&lt;li&gt;Click Apply and OK to close the Task Sequence.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Next, we&amp;rsquo;ll create a domain user account for MDT for use as a service account.&lt;/p&gt;
&lt;h3 id=&#34;creating-a-service-account-for-mdt-in-active-directory&#34;&gt;Creating a service account for MDT in Active Directory&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Go to Active Directory Users and Computers.&lt;/li&gt;
&lt;li&gt;Create a user called mdt_admin 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 mdt_admin 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;h3 id=&#34;configuring-bootstrapini&#34;&gt;Configuring 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;span class=&#34;lnt&#34;&gt;7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;9
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Default
 
[Default]
DeployRoot=\\SERVER-NAME\Build$
UserDomain=contoso.com
UserID=mdt_admin
UserPassword=p@ssw0rd
SkipBDDWelcome=YES
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h3 id=&#34;configuring-customsettingsini&#34;&gt;Configuring CustomSettings.ini&lt;/h3&gt;
&lt;p&gt;On the 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;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Default
Properties=MyCustomProperty

[Default]
OSInstall=Y
SkipCapture=YES
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES
SkipLocaleSelection=YES
SkipTimeZone=YES
SkipDomainMembership=YES
SkipSummary=YES
SkipFinalSummary=YES
SkipComputerName=YES
SkipUserData=YES

_SMSTSORGNAME=Build Share
_SMSTSPackageName=%TaskSequenceName%
DoCapture=YES
ComputerBackupLocation=\\SERVER-NAME\Build$\Captures
BackupFile=%TaskSequenceID%_#year(date) &amp;amp; &amp;#34;-&amp;#34; &amp;amp; month(date) &amp;amp; &amp;#34;-&amp;#34; &amp;amp; day(date) &amp;amp; &amp;#34;-&amp;#34; &amp;amp; hour(time) &amp;amp; &amp;#34;-&amp;#34; &amp;amp; minute(time)#.wim
WSUSServer=http://WSUS-SERVER-NAME:8530
FinishAction=SHUTDOWN
SLShare=\\SERVER-NAME\Build$\Logs
EventService=http://SERVER-NAME:9800
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;We now need to create the boot media to boot the VM into the deployment environment.&lt;/p&gt;
&lt;h3 id=&#34;creating-the-boot-media&#34;&gt;Creating the Boot Media&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In 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-and-capturing-a-reference-image&#34;&gt;Testing and Capturing a Reference Image&lt;/h3&gt;
&lt;p&gt;To test everything, we need to copy the ISO file that we just generated. It is in the 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 LiteTouchPE_x64.iso. 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 LiteTouchPE_x64.iso 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 LiteTouchPE_x64.iso 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 10 version 20H2, update from the WSUS server, install the optional applications if you added them, and then run Windows Update from the WSUS server again. It will then run SysPrep and attempt to reboot back into the deployment environment from the local disk and send the image to the MDT server. However currently I have experienced issues when booting into WinPE from the disk. I have worked around this by booting from a LiteTouchPE_x64.iso to get into WinPE. The capture then runs as normal. Hopefully this will be fixed in a future update.&lt;/p&gt;
&lt;p&gt;When this process completes the VM will be shutdown and a file named W10-2004_YEAR_MONTH_DAY_HOUR_MINUTE.wim will be in the Captures folder in the Deployment Share.&lt;/p&gt;
&lt;p&gt;You now have a reference image for Windows 10 2004 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/old/deploy-windows-10-2004-20h1-reference-image/&#34;&gt;in this article&lt;/a&gt;.&lt;/p&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 10 2004 May 2020 Update (20H1)</category>
            
          
            
              <category>Hyper-V</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Log Manager Utility - Update 20.03.23</title>
        <link>https://gal.vin/posts/old/log-manager-utility-a-necessary-update/</link>
        <pubDate>Mon, 23 Mar 2020 11:33:38 +0000</pubDate>
        
        <atom:modified>Mon, 23 Mar 2020 11:33:38 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/log-manager-utility-a-necessary-update/</guid>
        <description>Flexible clean up and backup of log files A user reported an issue where wildcards would not work with the -LogsPath switch. This was due to me adding incorrect validation to that option. To fix this I have removed the validation and should now accept wildcards as before. Please accept my apologies for this error, it should have been caught during testing but I missed it. I&amp;rsquo;ll take steps in future to prevent this type of problem from occurring in future.</description>
        <content:encoded>&lt;h3 id=&#34;flexible-clean-up-and-backup-of-log-files&#34;&gt;Flexible clean up and backup of log files&lt;/h3&gt;
&lt;p&gt;A user reported an issue where wildcards would not work with the -LogsPath switch. This was due to me adding incorrect validation to that option. To fix this I have removed the validation and should now accept wildcards as before. Please accept my apologies for this error, it should have been caught during testing but I missed it. I&amp;rsquo;ll take steps in future to prevent this type of problem from occurring in future. Thanks to commenter Daniel who raised this issue.&lt;/p&gt;
&lt;h2 id=&#34;2020-03-23-version-200323&#34;&gt;2020-03-23: Version 20.03.23&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Fixed a user reported issue: wildcards in the -LogsPath switch no longer worked. They will now work.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;Log Manager Utility&lt;/em&gt; can also be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Log-Manager&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/Log-Manager&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/log-manager-utility/&#34;&gt;available here.&lt;/a&gt;&lt;/p&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>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>WSUS Maintenance Utility - Update 20.03.20</title>
        <link>https://gal.vin/posts/old/wsus-maintenance-utility-late-march-update/</link>
        <pubDate>Fri, 20 Mar 2020 17:41:38 +0000</pubDate>
        
        <atom:modified>Fri, 20 Mar 2020 17:41:38 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/wsus-maintenance-utility-late-march-update/</guid>
        <description>Clean up your WSUS I&amp;rsquo;ve overhauled WSUS Maintenance Utility and have added some new features which were long overdue. It also includes all the same improvements that the other refactored utilities have.
2020-03-20: Version 20.03.20  Added code contribution from ideas@habs.homelinux.net. Individual clean-up jobs now run separately. Improved reporting. Made slight improvements to documentation.  WSUS Maintenance Utility can also be downloaded from:
 The Microsoft PowerShell Gallery GitHub  See the full documentation available here.</description>
        <content:encoded>&lt;h3 id=&#34;clean-up-your-wsus&#34;&gt;Clean up your WSUS&lt;/h3&gt;
&lt;p&gt;I&amp;rsquo;ve overhauled WSUS Maintenance Utility and have added some new features which were long overdue. It also includes all the same improvements that the other refactored utilities have.&lt;/p&gt;
&lt;h3 id=&#34;2020-03-20-version-200320&#34;&gt;2020-03-20: Version 20.03.20&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added code contribution from &lt;a href=&#34;mailto:ideas@habs.homelinux.net&#34;&gt;ideas@habs.homelinux.net&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Individual clean-up jobs now run separately.&lt;/li&gt;
&lt;li&gt;Improved reporting.&lt;/li&gt;
&lt;li&gt;Made slight improvements to documentation.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;WSUS Maintenance Utility&lt;/em&gt; can also be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Wsus-Maintenance&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/WSUS-Maintenance&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/wsus-maint-utility/&#34;&gt;available here&lt;/a&gt;.&lt;/p&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>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>TechNet Gallery is being retired</title>
        <link>https://gal.vin/posts/old/technet-gallery-is-being-retired/</link>
        <pubDate>Fri, 20 Mar 2020 14:42:31 +0000</pubDate>
        
        <atom:modified>Fri, 20 Mar 2020 14:42:31 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/technet-gallery-is-being-retired/</guid>
        <description>Microsoft is finally retired the old TechNet Gallery - one of the websites where I&amp;rsquo;ve made my utilities available in the past. So, this is just a heads up that if you get my scripts from there, they will no longer be available in the near future. They will still be available on the Microsoft PowerShell Gallery and on my own GitHub. I&amp;rsquo;ve been expecting this as over the past few years some functionality of the site has been broken for months on end.</description>
        <content:encoded>&lt;p&gt;Microsoft is finally retired the old TechNet Gallery - one of the websites where I&amp;rsquo;ve made my utilities available in the past. So, this is just a heads up that if you get my scripts from there, they will no longer be available in the near future. They will still be available on the &lt;a href=&#34;https://www.powershellgallery.com/profiles/MikeGalvin&#34;&gt;Microsoft PowerShell Gallery&lt;/a&gt; and on &lt;a href=&#34;https://github.com/digressive&#34;&gt;my own GitHub&lt;/a&gt;. I&amp;rsquo;ve been expecting this as over the past few years some functionality of the site has been broken for months on end. I&amp;rsquo;ve been keeping my tools up to date on the site but not made any new ones available.&lt;/p&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>Personal</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Tech Tips for These Tumultuous Times</title>
        <link>https://gal.vin/posts/old/tech-tips-for-these-tumultuous-times/</link>
        <pubDate>Thu, 19 Mar 2020 14:52:18 +0000</pubDate>
        
        <atom:modified>Thu, 19 Mar 2020 14:52:18 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/tech-tips-for-these-tumultuous-times/</guid>
        <description>Hi all, In these interesting times I thought I&amp;rsquo;d create a round-up of some tips and recommendations for those of you who are looking to improve your technology - whatever your situation. It&amp;rsquo;s a grab bag of various items I&amp;rsquo;ve been collecting for a while but I hope some of these suggestions are useful to you. I usually write posts geared towards IT professionals but this post is aimed at people from all walks of life working from home with little IT assistance.</description>
        <content:encoded>&lt;p&gt;Hi all, In these interesting times I thought I&amp;rsquo;d create a round-up of some tips and recommendations for those of you who are looking to improve your technology - whatever your situation. It&amp;rsquo;s a grab bag of various items I&amp;rsquo;ve been collecting for a while but I hope some of these suggestions are useful to you. I usually write posts geared towards IT professionals but this post is aimed at people from all walks of life working from home with little IT assistance. If you have any suggestions for other software or tips, please put them in the comments below. ☺&lt;/p&gt;
&lt;h2 id=&#34;improving-your-internet-connection&#34;&gt;Improving Your Internet Connection&lt;/h2&gt;
&lt;p&gt;When it comes to networking, bandwidth isn&amp;rsquo;t everything. Reliability and latency are also required for it to be useful. It can sometimes be preferable to have less bandwidth available but achieve low latency and be reliable. There&amp;rsquo;s little point to having a 1Gbps that has a huge latency or hardly ever works. You can use the website &lt;a href=&#34;https://www.speedtest.net&#34;&gt;SpeedTest&lt;/a&gt; to test your internet connection bandwidth and latency. Here are some more points that you should consider: Wi-Fi is one of the biggest variables that can affect your connection. Wi-Fi is greatly affected by walls, ceilings, and other Wi-Fi signals and interference generated by electronic devices. The age and quality of the equipment used in your network can also affect the quality of your Wi-Fi signal and network in general. Connecting via an Ethernet cable will provide the most reliable connection; however, you should consider swapping out older cables for new ones as damage can occur over time and this will affect the quality of the connection. When troubleshooting network issues, it&amp;rsquo;s important to check every part of the connection. In some rare cases the network hardware itself on a device could have developed a fault and in the past, I&amp;rsquo;ve had the networking stack on Windows get corrupted. 😬 When experience internet issues, it&amp;rsquo;s important to investigate and find out if you are having networking issues in general within your home or whether it&amp;rsquo;s an external issue. An external issue will be something you need your ISP to investigate, internal network issues are something that you can do something about. 👍&lt;/p&gt;
&lt;h2 id=&#34;improving-your-dns-service&#34;&gt;Improving Your DNS Service&lt;/h2&gt;
&lt;p&gt;DNS is one of the most important parts of networking. There’s a reason it&amp;rsquo;s &lt;a href=&#34;https://twitter.com/mauilion/status/1089777486685122560&#34;&gt;a tech meme.&lt;/a&gt; You can control which DNS service provider you use either by changing it on your device (if you are on a network, I wouldn&amp;rsquo;t recommend this) or on your router or modem. If you change the DNS on your router it will affect all devices connected to it. Here are some DNS services that I can recommended. Both written and video Instruction for changing DNS settings are available on the sites below. &lt;em&gt;A note about IPv6&lt;/em&gt; - If you don&amp;rsquo;t know you need it you probably don&amp;rsquo;t, so don&amp;rsquo;t worry about it! 👍&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://developers.google.com/speed/public-dns&#34;&gt;Google DNS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;IP addresses: 8.8.8.8 and 8.8.4.4&lt;/p&gt;
&lt;p&gt;Google provide their own fast DNS service that is extremely popular. Just a quick reminder that before you use Google DNS, remember they are an advertising company and there are other very good alternatives.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://www.quad9.net&#34;&gt;Quad9&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Quad9 is focused on security and blocking threats at the DNS level. It’s also the best DNS service to say out loud in the mirror to yourself, in my opinion.&lt;/p&gt;
&lt;p&gt;IP addresses: 9.9.9.9 and 149.112.112.112&lt;/p&gt;
&lt;p&gt;IPv6 addresses: 2620:fe::fe and 2620:fe::9&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://1.1.1.1/dns&#34;&gt;CloudFlare DNS also known as 1.1.1.1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;CloudFlare DNS is geared towards being as fast as possible.&lt;/p&gt;
&lt;p&gt;IP addresses: 1.1.1.1 and 1.0.0.1&lt;/p&gt;
&lt;p&gt;IPv6 addresses: 2606:4700:4700::1111 and 2606:4700:4700::1001&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://adguard.com/en/adguard-dns/overview.html&#34;&gt;AdGuard DNS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As the name suggests AdGuard is focused on DNS level ad blocking and has the option to block adult sites. AdGuard provides a good level of ad blocking but it will not block ads from streaming services as those ads are provided by the same servers as the content you want to watch. To block those ads later in this article I cover ad blocking web browser extensions.&lt;/p&gt;
&lt;p&gt;For &amp;ldquo;Default&amp;rdquo; servers (basic ad blocking):&lt;/p&gt;
&lt;p&gt;IP addresses: 176.103.130.130 and 176.103.130.131&lt;/p&gt;
&lt;p&gt;IPv6 addresses: 2a00:5a60::ad1:0ff and 2a00:5a60::ad2:0ff&lt;/p&gt;
&lt;p&gt;For &amp;ldquo;Family protection&amp;rdquo; servers (basic adult site blocking):&lt;/p&gt;
&lt;p&gt;IP addresses: 176.103.130.132 and 176.103.130.134&lt;/p&gt;
&lt;p&gt;IPv6 addresses: 2a00:5a60::bad1:0ff and 2a00:5a60::bad2:0ff&lt;/p&gt;
&lt;p&gt;For &amp;ldquo;Non-filtering&amp;rdquo;:&lt;/p&gt;
&lt;p&gt;IP addresses: 176.103.130.136 and 176.103.130.137&lt;/p&gt;
&lt;p&gt;IPv6 addresses: 2a00:5a60::01:ff and 2a00:5a60::02:ff&lt;/p&gt;
&lt;h3 id=&#34;online-services-monitor&#34;&gt;Online Services Monitor&lt;/h3&gt;
&lt;p&gt;&lt;a href=&#34;https://downdetector.co.uk&#34;&gt;Down Detector&lt;/a&gt; is a great centralised resource for tracking every online service in existence and whether they are experiencing issues. A good way to know whether ‘it’s just you’ or not. Please bare in mind that online services are provided worldwide via various regional data centres so a service could be reported as being down in the US but be up in the UK or it could be down in the UK but due to the time-zone difference and a smaller population, it might not have been reported.&lt;/p&gt;
&lt;h2 id=&#34;remote-access-software&#34;&gt;Remote Access Software&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;https://anydesk.com&#34;&gt;AnyDesk&lt;/a&gt; AnyDesk is easy to setup and use, it doesn&amp;rsquo;t even need to be installed. It&amp;rsquo;s a lot like Team Viewer except with less popups and can be set up to provide secure, unattended access to a computer. Unattended access does require it to be installed, however.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://www.teamviewer.com&#34;&gt;Team Viewer&lt;/a&gt; Team Viewer is well known for many reasons (both good and bad), but much like AnyDesk it is easy to use and can provide unattended access to a computer.&lt;/p&gt;
&lt;h2 id=&#34;ad-blocking-browser-extensions&#34;&gt;Ad Blocking Browser Extensions&lt;/h2&gt;
&lt;p&gt;If you use a modern browser, it&amp;rsquo;s very likely it supports extensions. Here are some that will block ads, malware, and other dodgy software that can be loaded via the browser. Even if you keep your anti-virus software up to date, it&amp;rsquo;s still worth using an ad blocking extension. Layers of security are a good thing! You can easily disable it for specific pages if it blocks a web page element you require. These extensions will also block YouTube ads and other types of streaming media ads. Please consider using these extensions responsibly and allowing ads for specific sites and creators.&lt;/p&gt;
&lt;p&gt;Both AdBlock Plus and uBlock Origin are very good.&lt;/p&gt;
&lt;h2 id=&#34;ublock-origin&#34;&gt;uBlock Origin&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;https://addons.mozilla.org/en-GB/firefox/addon/ublock-origin&#34;&gt;Mozilla Firefox Extension&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://microsoftedge.microsoft.com/addons/detail/odfafepnkmbhccpbejgmiehpchacaeak&#34;&gt;The New Microsoft Edge Extension&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?h&#34;&gt;Google Chrome Extension&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;AdBlock Plus &lt;a href=&#34;https://addons.mozilla.org/en-GB/firefox/addon/adblock-plus&#34;&gt;Mozilla Firefox Extension&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://microsoftedge.microsoft.com/addons/detail/gmgoamodcdcjnbaobigkjelfplakmdhh?h&#34;&gt;The New Microsoft Edge Extension&lt;/a&gt;&lt;br /&gt;
&lt;a href=&#34;https://chrome.google.com/webstore/detail/adblock-plus-free-ad-bloc/cfhdojbkjhnklbpkdaibdccddilifddb&#34;&gt;Google Chrome Extension&lt;/a&gt;&lt;/p&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>Personal</category>
            
          
            
              <category>Windows Tweaks</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Internet Access Control Utility</title>
        <link>https://gal.vin/utils/internet-access-control-utility/</link>
        <pubDate>Tue, 17 Mar 2020 15:09:05 +0000</pubDate>
        
        <atom:modified>Tue, 17 Mar 2020 15:09:05 +0000</atom:modified>
        <guid>https://gal.vin/utils/internet-access-control-utility/</guid>
        <description>Control Internet access with Windows Firewall Internet Access Control Utility is available from:
 GitHub The Microsoft PowerShell Gallery  Please consider supporting my work:
 Support with a one-time donation using PayPal.  Please report any problems via the &amp;lsquo;issues&amp;rsquo; tab on GitHub.
Thanks
-Mike
Features and Requirements  It requires Windows Firewall to be active. The utility requires at least PowerShell 5.0. This utility has been tested on Windows 11 and Windows 10.</description>
        <content:encoded>&lt;h2 id=&#34;control-internet-access-with-windows-firewall&#34;&gt;Control Internet access with Windows Firewall&lt;/h2&gt;
&lt;p&gt;Internet Access Control Utility is available from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/Internet-Access-Control&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Internet-Access-Control&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&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;Please report any problems via the &amp;lsquo;issues&amp;rsquo; tab on GitHub.&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
&lt;h2 id=&#34;features-and-requirements&#34;&gt;Features and Requirements&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It requires Windows Firewall to be active.&lt;/li&gt;
&lt;li&gt;The utility requires at least PowerShell 5.0.&lt;/li&gt;
&lt;li&gt;This utility has been tested on Windows 11 and Windows 10.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;configuration&#34;&gt;Configuration&lt;/h2&gt;
&lt;p&gt;Here’s a list of all the command line switches and example configurations.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Command Line Switch&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;-Disable&lt;/td&gt;
&lt;td&gt;Block the internet. Create the firewall rule to block ports 80 and 443&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-Enable&lt;/td&gt;
&lt;td&gt;Allow the internet. Removes the firewall rule created, allowing the ports 80 and 443&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-L&lt;/td&gt;
&lt;td&gt;The path to output the log file to.&lt;/td&gt;
&lt;td&gt;[path]&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-LogRotate&lt;/td&gt;
&lt;td&gt;Remove logs produced by the utility older than X days&lt;/td&gt;
&lt;td&gt;[number]&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-NoBanner&lt;/td&gt;
&lt;td&gt;Use this option to hide the ASCII art title in the console.&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-Help&lt;/td&gt;
&lt;td&gt;Display usage information. No arguments also displays help.&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;example&#34;&gt;Example&lt;/h2&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-txt&#34; data-lang=&#34;txt&#34;&gt;[path\]Internet-Access-Control.ps1 -Disable
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;This will create a Windows Firewall rule to block internet access using ports 80 and 443.&lt;/p&gt;
&lt;h2 id=&#34;change-log&#34;&gt;Change Log&lt;/h2&gt;
&lt;h3 id=&#34;2023-04-28-version-230428&#34;&gt;2023-04-28: Version 23.04.28&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Cleaned up the output.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2022-06-14-version-220530&#34;&gt;2022-06-14: Version 22.05.30&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added checks and balances to help with configuration as I&amp;rsquo;m very aware that the initial configuration can be troublesome. Running the utility manually is a lot more friendly and step-by-step now.&lt;/li&gt;
&lt;li&gt;Added -Help to give usage instructions in the terminal. Running the script with no options will also trigger the -help switch.&lt;/li&gt;
&lt;li&gt;Cleaned user entered paths so that trailing slashes no longer break things or have otherwise unintended results.&lt;/li&gt;
&lt;li&gt;Added -LogRotate [days] to removed old logs created by the utility.&lt;/li&gt;
&lt;li&gt;Streamlined config report so non configured options are not shown.&lt;/li&gt;
&lt;li&gt;Added donation link to the ASCII banner.&lt;/li&gt;
&lt;li&gt;Cleaned up code, removed unneeded log noise.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2021-12-08-version-211208&#34;&gt;2021-12-08: Version 21.12.08&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Configured logs path now is created, if it does not exist.&lt;/li&gt;
&lt;li&gt;Added OS version info.&lt;/li&gt;
&lt;li&gt;Added Utility version info.&lt;/li&gt;
&lt;li&gt;Added Hostname info.&lt;/li&gt;
&lt;li&gt;Changed a variable to prevent conflicts with future PowerShell versions.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2020-03-18-version-200318-lock&#34;&gt;2020-03-18: Version 20.03.18 &amp;lsquo;Lock&amp;rsquo;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Improved feedback in the console and log.&lt;/li&gt;
&lt;li&gt;Improved documentation.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2020-03-17-version-200317-lock&#34;&gt;2020-03-17: Version 20.03.17 &amp;lsquo;Lock&amp;rsquo;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added logging.&lt;/li&gt;
&lt;li&gt;Added config report.&lt;/li&gt;
&lt;li&gt;Made available on PowerShell gallery.&lt;/li&gt;
&lt;li&gt;Refactored code.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>PowerShell</category>
            
          
            
              <category>PowerShell Utility</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows 11</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Remove Win10 Apps Utility - Update 20.03.13</title>
        <link>https://gal.vin/posts/old/remove-win10-apps-utility-major-update/</link>
        <pubDate>Fri, 13 Mar 2020 19:59:28 +0000</pubDate>
        
        <atom:modified>Fri, 13 Mar 2020 19:59:28 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/remove-win10-apps-utility-major-update/</guid>
        <description>Customisable Windows 10 app removal utility I&amp;rsquo;ve refactored my old Remove UWP script and renamed it to bring it in line with my recent utility updates.
Version 20.03.13 ‘Cool’  Refactored code. Backwards compatible. Added logging. Added config report when ran. Added ASCII banner art when run in the console. Added option to disable the ASCII banner art.  Remove Win10 Apps Utility can also be downloaded from:
 The Microsoft PowerShell Gallery GitHub  See the full documentation available here.</description>
        <content:encoded>&lt;h3 id=&#34;customisable-windows-10-app-removal-utility&#34;&gt;Customisable Windows 10 app removal utility&lt;/h3&gt;
&lt;p&gt;I&amp;rsquo;ve refactored my old Remove UWP script and renamed it to bring it in line with my recent utility updates.&lt;/p&gt;
&lt;h3 id=&#34;version-200313-cool&#34;&gt;Version 20.03.13 ‘Cool’&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Refactored code.&lt;/li&gt;
&lt;li&gt;Backwards compatible.&lt;/li&gt;
&lt;li&gt;Added logging.&lt;/li&gt;
&lt;li&gt;Added config report when ran.&lt;/li&gt;
&lt;li&gt;Added ASCII banner art when run in the console.&lt;/li&gt;
&lt;li&gt;Added option to disable the ASCII banner art.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Remove Win10 Apps Utility can also be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Remove-MS-Store-Apps&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/Remove-MS-Store-Apps&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/remove-ms-store-apps-utility/&#34;&gt;available here&lt;/a&gt;.&lt;/p&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>Microsoft Store Apps</category>
            
          
            
              <category>PowerShell Utility</category>
            
          
            
              <category>Windows 10</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Logon Audit Utility</title>
        <link>https://gal.vin/utils/logon-audit-utility/</link>
        <pubDate>Thu, 12 Mar 2020 16:05:25 +0000</pubDate>
        
        <atom:modified>Thu, 12 Mar 2020 16:05:25 +0000</atom:modified>
        <guid>https://gal.vin/utils/logon-audit-utility/</guid>
        <description>Really simple log on/off auditing utility Logon Audit Utility is available from:
 GitHub The Microsoft PowerShell Gallery  Please consider supporting my work:
 Support with a one-time donation using PayPal.  Please report any problems via the ‘issues’ tab on GitHub.
Thanks
-Mike
Features and Requirements  The utility should be run on a client machine. It is ideally triggered as a logon/logoff script by Group Policy. Any files that the script needs to access should be accessible from a client device.</description>
        <content:encoded>&lt;h2 id=&#34;really-simple-log-onoff-auditing-utility&#34;&gt;Really simple log on/off auditing utility&lt;/h2&gt;
&lt;p&gt;Logon Audit Utility is available from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/Logon-Audit&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Logon-Audit&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&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;Please report any problems via the ‘issues’ tab on GitHub.&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
&lt;h2 id=&#34;features-and-requirements&#34;&gt;Features and Requirements&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;The utility should be run on a client machine.&lt;/li&gt;
&lt;li&gt;It is ideally triggered as a logon/logoff script by Group Policy.&lt;/li&gt;
&lt;li&gt;Any files that the script needs to access should be accessible from a client device.&lt;/li&gt;
&lt;li&gt;It can be used to log to a file, send to a webhook or both.&lt;/li&gt;
&lt;li&gt;The utility requires at least PowerShell 5.0.&lt;/li&gt;
&lt;li&gt;Tested on Windows 11, Windows 10, Windows Server 2022, Windows Server 2019, Windows Server 2016 and Windows Server 2012 R2.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;configuration&#34;&gt;Configuration&lt;/h2&gt;
&lt;p&gt;Here’s a list of all the command line switches and example configurations.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Command Line Switch&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;-Logon&lt;/td&gt;
&lt;td&gt;Use this option to log a log on event.&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-Logoff&lt;/td&gt;
&lt;td&gt;Use this option to log a log off event.&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-Webhook&lt;/td&gt;
&lt;td&gt;The txt file containing the URI for a webhook to send the log file to.&lt;/td&gt;
&lt;td&gt;[path]webhook.txt&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-L&lt;/td&gt;
&lt;td&gt;The path to output the log file to.&lt;/td&gt;
&lt;td&gt;[path\logs]&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-Help&lt;/td&gt;
&lt;td&gt;Display usage information. No arguments also displays help.&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;example&#34;&gt;Example&lt;/h2&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-txt&#34; data-lang=&#34;txt&#34;&gt;[path\]Logon-Audit.ps1 -Logon -L [path]
&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 above command will record a logon event for the currently logged on user to the log file and also to Teams.&lt;/p&gt;
&lt;h2 id=&#34;change-log&#34;&gt;Change Log&lt;/h2&gt;
&lt;h3 id=&#34;2023-04-28-version-230428&#34;&gt;2023-04-28: Version 23.04.28&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Changed the -Teams switch to -Webhook to better represent it&amp;rsquo;s function.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2022-06-14-version-220530&#34;&gt;2022-06-14: Version 22.05.30&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added checks and balances to help with configuration as I&amp;rsquo;m very aware that the initial configuration can be troublesome. Running the utility manually is a lot more friendly and step-by-step now.&lt;/li&gt;
&lt;li&gt;Added -Help to give usage instructions in the terminal. Running the script with no options will also trigger the -help switch.&lt;/li&gt;
&lt;li&gt;Cleaned user entered paths so that trailing slashes no longer break things or have otherwise unintended results.&lt;/li&gt;
&lt;li&gt;Added -LogRotate [days] to removed old logs created by the utility.&lt;/li&gt;
&lt;li&gt;Streamlined config report so non configured options are not shown.&lt;/li&gt;
&lt;li&gt;Added donation link to the ASCII banner.&lt;/li&gt;
&lt;li&gt;Cleaned up code, removed unneeded log noise.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2021-12-08-version-211208&#34;&gt;2021-12-08: Version 21.12.08&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Configured logs path now is created, if it does not exist.&lt;/li&gt;
&lt;li&gt;Added OS version info.&lt;/li&gt;
&lt;li&gt;Added Utility version info.&lt;/li&gt;
&lt;li&gt;Added Hostname info.&lt;/li&gt;
&lt;li&gt;Changed a variable to prevent conflicts with future PowerShell versions.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2020-03-12-version-200312-chick&#34;&gt;2020-03-12: Version 20.03.12 &amp;lsquo;Chick&amp;rsquo;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added option to send an event to Microsoft Teams.&lt;/li&gt;
&lt;li&gt;Refactored code.&lt;/li&gt;
&lt;li&gt;Fully backwards compatible.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2019-09-28-v10&#34;&gt;2019-09-28 v1.0&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Initial public release.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Log Manager Utility - Update 20.03.11</title>
        <link>https://gal.vin/posts/old/log-manager-utility-a-minor-update-but-an-important-one/</link>
        <pubDate>Wed, 11 Mar 2020 12:43:18 +0000</pubDate>
        
        <atom:modified>Wed, 11 Mar 2020 12:43:18 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/log-manager-utility-a-minor-update-but-an-important-one/</guid>
        <description>Flexible clean up and backup of log files This is a minor update to my Log Manager Utility - there was a switch alias which was conflicting with a variable and preventing the utility from running correctly. The previous command line switch of -LogPath is now -LogsPath.
Version 20.03.11 &amp;lsquo;Cow&amp;rsquo;  The previous command line switch of -LogPath is now -LogsPath. This fixes an issue with a duplicate variable and switch alias preventing utility from running currently.</description>
        <content:encoded>&lt;h3 id=&#34;flexible-clean-up-and-backup-of-log-files&#34;&gt;Flexible clean up and backup of log files&lt;/h3&gt;
&lt;p&gt;This is a minor update to my Log Manager Utility - there was a switch alias which was conflicting with a variable and preventing the utility from running correctly. The previous command line switch of -LogPath is now -LogsPath.&lt;/p&gt;
&lt;h3 id=&#34;version-200311-cow&#34;&gt;Version 20.03.11 &amp;lsquo;Cow&amp;rsquo;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The previous command line switch of -LogPath is now -LogsPath. This fixes an issue with a duplicate variable and switch alias preventing utility from running currently.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;Log Manager Utility&lt;/em&gt; can also be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Log-Manager&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/Log-Manager&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/log-manager-utility/&#34;&gt;available here.&lt;/a&gt;&lt;/p&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>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Log Manager Utility - Update 20.03.06</title>
        <link>https://gal.vin/posts/old/log-manager-utility-major-update/</link>
        <pubDate>Mon, 09 Mar 2020 14:13:07 +0000</pubDate>
        
        <atom:modified>Mon, 09 Mar 2020 14:13:07 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/log-manager-utility-major-update/</guid>
        <description>Flexible clean up and backup of log files I&amp;rsquo;ve completed a lengthy and much needed overhaul of Log Manager Utility. I&amp;rsquo;ve added a few new features including one suggested from a user. Please be aware that this new version is not backwards compatible with the previous versions and you will need to reconfigure it before use.
2020-03-09: Version 20.03.06 &amp;lsquo;Fish&amp;rsquo;  Added custom name for zip file based on user feedback.</description>
        <content:encoded>&lt;h3 id=&#34;flexible-clean-up-and-backup-of-log-files&#34;&gt;Flexible clean up and backup of log files&lt;/h3&gt;
&lt;p&gt;I&amp;rsquo;ve completed a lengthy and much needed overhaul of Log Manager Utility. I&amp;rsquo;ve added a few new features including one suggested from a user. Please be aware that this new version is not backwards compatible with the previous versions and you will need to reconfigure it before use.&lt;/p&gt;
&lt;h3 id=&#34;2020-03-09-version-200306-fish&#34;&gt;2020-03-09: Version 20.03.06 &amp;lsquo;Fish&amp;rsquo;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added custom name for zip file based on user feedback.&lt;/li&gt;
&lt;li&gt;Added option to use 7-zip for zip file backup.&lt;/li&gt;
&lt;li&gt;Added time to keep backups for.&lt;/li&gt;
&lt;li&gt;Added config report.&lt;/li&gt;
&lt;li&gt;Added ASCII banner art when run in the console.&lt;/li&gt;
&lt;li&gt;Added option to disable the ASCII banner art.&lt;/li&gt;
&lt;li&gt;Refactored code.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;Log Manager Utility&lt;/em&gt; can also be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Log-Manager&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/Log-Manager&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/log-manager-utility/&#34;&gt;available here.&lt;/a&gt;&lt;/p&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>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>WSUS Maintenance Utility - Update 20.03.03</title>
        <link>https://gal.vin/posts/old/wsus-maintenance-utility-major-update/</link>
        <pubDate>Thu, 05 Mar 2020 18:48:44 +0000</pubDate>
        
        <atom:modified>Thu, 05 Mar 2020 18:48:44 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/wsus-maintenance-utility-major-update/</guid>
        <description>Clean up your WSUS
I&amp;rsquo;ve overhauled WSUS Maintenance Utility and have added some new features which were long overdue. It also includes all the same improvements that the other refactored utilities have.
2020-03-05: Version 20.03.03 ‘Burger’  Added SSL option for connecting to the WSUS server. Made the -Port switch optional. If it is not specified the default port is used. If -WsusSsl is specified, the default port for SSL is used.</description>
        <content:encoded>&lt;p&gt;&lt;em&gt;Clean up your WSUS&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve overhauled WSUS Maintenance Utility and have added some new features which were long overdue. It also includes all the same improvements that the other refactored utilities have.&lt;/p&gt;
&lt;h3 id=&#34;2020-03-05-version-200303-burger&#34;&gt;2020-03-05: Version 20.03.03 ‘Burger’&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added SSL option for connecting to the WSUS server.&lt;/li&gt;
&lt;li&gt;Made the -Port switch optional. If it is not specified the default port is used. If -WsusSsl is specified, the default port for SSL is used.&lt;/li&gt;
&lt;li&gt;Added config report.&lt;/li&gt;
&lt;li&gt;Added ASCII banner art when run in the console.&lt;/li&gt;
&lt;li&gt;Added option to disable the ASCII banner art.&lt;/li&gt;
&lt;li&gt;Refactored code.&lt;/li&gt;
&lt;li&gt;Fully backwards compatible.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;WSUS Maintenance Utility&lt;/em&gt; can also be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Wsus-Maintenance&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/WSUS-Maintenance&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/wsus-maint-utility/&#34;&gt;available here&lt;/a&gt;.&lt;/p&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>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Office Update Utility - Update 20.03.01</title>
        <link>https://gal.vin/posts/old/office-update-utility-major-update/</link>
        <pubDate>Tue, 03 Mar 2020 15:19:21 +0000</pubDate>
        
        <atom:modified>Tue, 03 Mar 2020 15:19:21 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/office-update-utility-major-update/</guid>
        <description>Office Update Manager for 365/2019 I&amp;rsquo;ve overhauled Office Update Utility and have improved the reporting. It also includes all the same improvements that the other refactored utilities have.
2020-03-03: Version 20.03.01 &amp;lsquo;Crosshair&amp;rsquo; New features:
 Refactored code. Fully backwards compatible. Added ASCII banner art when run in the console. Added option to disable the ASCII banner art. Config report matches design of Image Factory Utility.  Office Update Utility can be downloaded from:</description>
        <content:encoded>&lt;h3 id=&#34;office-update-manager-for-3652019&#34;&gt;Office Update Manager for 365/2019&lt;/h3&gt;
&lt;p&gt;I&amp;rsquo;ve overhauled Office Update Utility and have improved the reporting. It also includes all the same improvements that the other refactored utilities have.&lt;/p&gt;
&lt;h3 id=&#34;2020-03-03-version-200301-crosshair&#34;&gt;2020-03-03: Version 20.03.01 &amp;lsquo;Crosshair&amp;rsquo;&lt;/h3&gt;
&lt;p&gt;New features:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Refactored code.&lt;/li&gt;
&lt;li&gt;Fully backwards compatible.&lt;/li&gt;
&lt;li&gt;Added ASCII banner art when run in the console.&lt;/li&gt;
&lt;li&gt;Added option to disable the ASCII banner art.&lt;/li&gt;
&lt;li&gt;Config report matches design of Image Factory Utility.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;Office Update Utility&lt;/em&gt; can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Office-Update&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/Office-Update&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/office-update-utility/&#34;&gt;available here.&lt;/a&gt;&lt;/p&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>Microsoft 365 Apps</category>
            
          
            
              <category>Microsoft Office</category>
            
          
            
              <category>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Quick update: Windows 10 2004 (20H1)</title>
        <link>https://gal.vin/posts/old/quick-update-windows-10-2004-20h1/</link>
        <pubDate>Sun, 01 Mar 2020 00:14:31 +0000</pubDate>
        
        <atom:modified>Sun, 01 Mar 2020 00:14:31 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/quick-update-windows-10-2004-20h1/</guid>
        <description>Update 2020-06-13: An update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released. This update fixes the boot loop issue and replaces Johan&amp;rsquo;s workaround with an officially supported fix. Details on how to install it are on Michael Niehaus&#39; blog post here. and you can download the fix here. I will add installation instructions to the walkthrough here.
Hi all, So far I&amp;rsquo;ve had no success with building and capturing a Windows 10 2004 image with MDT and the 1903 ADK (including WinPE) or the pre-release ADK and WinPE.</description>
        <content:encoded>&lt;p&gt;Update 2020-06-13: An update for Microsoft Deployment Toolkit (MDT_KB4564442) has been released. This update fixes the boot loop issue and replaces Johan&amp;rsquo;s workaround with an officially supported fix. Details on how to install it are on &lt;a href=&#34;https://oofhours.com/2020/06/03/mdt-build-8456-needs-an-update-for-windows-10-2004/&#34;&gt;Michael Niehaus&#39; blog post here&lt;/a&gt;. and you can &lt;a href=&#34;https://support.microsoft.com/en-us/help/4564442/windows-10-deployments-fail-with-microsoft-deployment-toolkit&#34;&gt;download the fix here&lt;/a&gt;. I will add installation instructions to &lt;a href=&#34;https://gal.vin/posts/old/build-and-capture-windows-10-2004-20h1-reference-image/&#34;&gt;the walkthrough here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hi all, So far I&amp;rsquo;ve had no success with building and capturing a Windows 10 2004 image with MDT and the 1903 ADK (including WinPE) or the pre-release ADK and WinPE. Currently what happens is the image installs Windows without issue and run sysprep, but when booting into MDT&amp;rsquo;s WinPE to do the capture, it never gets to WinPE. It just boot cycles and then the VM turns off. Very strange. 🤔 If you have a similar experience or if you have been able to get Win 10 2004 to build and capture (and I&amp;rsquo;m just missing something), I&amp;rsquo;d very much like to hear from you. - please leave a comment. Thanks!&lt;/p&gt;
&lt;p&gt;-Mike&lt;/p&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Windows 10 2004 May 2020 Update (20H1)</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Hyper-V Backup Utility - Update 20.02.28</title>
        <link>https://gal.vin/posts/old/hyper-v-backup-utility-a-minor-update/</link>
        <pubDate>Fri, 28 Feb 2020 15:10:25 +0000</pubDate>
        
        <atom:modified>Fri, 28 Feb 2020 15:10:25 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/hyper-v-backup-utility-a-minor-update/</guid>
        <description>Flexible Hyper-V Backup Utility Just a minor update to fix a non-critical issue with the previous version and to bring it in line with the recent update of the Image Factory Utility.
2020-02-28: Version 20.02.28 ‘Artifact’  Fixed e-mail report extra line breaks in Outlook 365, Version 2001. Config report matches design of Image Factory Utility. Improved and simplified code.  Hyper-V Backup Utility can be downloaded from:
 The Microsoft PowerShell Gallery GitHub  See the full documentation available here.</description>
        <content:encoded>&lt;h3 id=&#34;flexible-hyper-v-backup-utility&#34;&gt;Flexible Hyper-V Backup Utility&lt;/h3&gt;
&lt;p&gt;Just a minor update to fix a non-critical issue with the previous version and to bring it in line with the recent update of the &lt;a href=&#34;https://gal.vin/utils/image-factory-utility/&#34;&gt;Image Factory Utility&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;2020-02-28-version-200228-artifact&#34;&gt;2020-02-28: Version 20.02.28 ‘Artifact’&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Fixed e-mail report extra line breaks in Outlook 365, Version 2001.&lt;/li&gt;
&lt;li&gt;Config report matches design of Image Factory Utility.&lt;/li&gt;
&lt;li&gt;Improved and simplified code.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hyper-V Backup Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Hyper-V-Backup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/hyperv-backup-utility/&#34;&gt;available here&lt;/a&gt;.&lt;/p&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>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Image Factory Utility - Update 20.02.24</title>
        <link>https://gal.vin/posts/old/image-factory-utility-major-update/</link>
        <pubDate>Thu, 27 Feb 2020 18:31:05 +0000</pubDate>
        
        <atom:modified>Thu, 27 Feb 2020 18:31:05 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/image-factory-utility-major-update/</guid>
        <description>Automate Creation of WIM Files I&amp;rsquo;ve just completed testing the new Image Factory Utility. It&amp;rsquo;s been completely overhauled and has some small new features added.
2020-02-27: Version 20.02.24 ‘Robot’ New features:
 Refactored code. Fully backwards compatible. Added ASCII banner art when run in the console. Added option to disable the ASCII banner art.  Image Factory Utility can also be downloaded from:
 The Microsoft PowerShell Gallery GitHub  See the full documentation available here.</description>
        <content:encoded>&lt;h3 id=&#34;automate-creation-of-wim-files&#34;&gt;Automate Creation of WIM Files&lt;/h3&gt;
&lt;p&gt;I&amp;rsquo;ve just completed testing the new Image Factory Utility. It&amp;rsquo;s been completely overhauled and has some small new features added.&lt;/p&gt;
&lt;h3 id=&#34;2020-02-27-version-200224-robot&#34;&gt;2020-02-27: Version 20.02.24 ‘Robot’&lt;/h3&gt;
&lt;p&gt;New features:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Refactored code.&lt;/li&gt;
&lt;li&gt;Fully backwards compatible.&lt;/li&gt;
&lt;li&gt;Added ASCII banner art when run in the console.&lt;/li&gt;
&lt;li&gt;Added option to disable the ASCII banner art.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;Image Factory Utility&lt;/em&gt; can also be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Image-Factory&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/Image-Factory&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/image-factory-utility/&#34;&gt;available here&lt;/a&gt;.&lt;/p&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>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Hyper-V Backup Utility - Update 20.02.14</title>
        <link>https://gal.vin/posts/old/hyper-v-backup-utility-major-update/</link>
        <pubDate>Tue, 18 Feb 2020 10:32:44 +0000</pubDate>
        
        <atom:modified>Tue, 18 Feb 2020 10:32:44 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/hyper-v-backup-utility-major-update/</guid>
        <description>Flexible Hyper-V Backup Utility I&amp;rsquo;ve spent the past week away from home, and so I&amp;rsquo;ve been working on refactoring my Hyper-V Backup Utility and adding new features requested by users.
Version 20.02.14 ‘Valentine’ Current known issues:
 The e-mail report has extra line breaks in Outlook 365, Version 2001.  New features:
 Refactored code. Fully backwards compatible. Added option to use a working directory to stage backups before moving them to final backup location.</description>
        <content:encoded>&lt;h3 id=&#34;flexible-hyper-v-backup-utility&#34;&gt;Flexible Hyper-V Backup Utility&lt;/h3&gt;
&lt;p&gt;I&amp;rsquo;ve spent the past week away from home, and so I&amp;rsquo;ve been working on refactoring my Hyper-V Backup Utility and adding new features requested by users.&lt;/p&gt;
&lt;p&gt;Version 20.02.14 ‘Valentine’ Current known issues:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The e-mail report has extra line breaks in Outlook 365, Version 2001.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;New features:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Refactored code.&lt;/li&gt;
&lt;li&gt;Fully backwards compatible.&lt;/li&gt;
&lt;li&gt;Added option to use a working directory to stage backups before moving them to final backup location.&lt;/li&gt;
&lt;li&gt;Added option to use 7-Zip for backup compression.&lt;/li&gt;
&lt;li&gt;Added ASCII banner art when run in the console.&lt;/li&gt;
&lt;li&gt;Added option to disable the ASCII banner art.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hyper-V Backup Utility can be downloaded from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Hyper-V-Backup&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/HyperV-Backup-Utility&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the full documentation &lt;a href=&#34;https://gal.vin/utils/hyperv-backup-utility/&#34;&gt;available here&lt;/a&gt;.&lt;/p&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>PowerShell Utility</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Windows 10: 5 Years Later</title>
        <link>https://gal.vin/posts/old/windows-10-5-years-later/</link>
        <pubDate>Mon, 27 Jan 2020 13:43:25 +0000</pubDate>
        
        <atom:modified>Mon, 27 Jan 2020 13:43:25 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/windows-10-5-years-later/</guid>
        <description>Windows 10 is five years old this year. In &amp;lsquo;old world&amp;rsquo; terms, it would be about time for a brand-new release around summer/autumn time but alas, this is no longer the case with the software-as-a-service model. With this year being such a milestone for Windows 10 and with the end of life of Windows 7 – Microsoft’s most popular OS in recent times, I thought it would be good to take a look back and review Windows 10’s progress these past few years.</description>
        <content:encoded>&lt;p&gt;Windows 10 is five years old this year. In &amp;lsquo;old world&amp;rsquo; terms, it would be about time for a brand-new release around summer/autumn time but alas, this is no longer the case with the software-as-a-service model. With this year being such a milestone for Windows 10 and with the end of life of Windows 7 – Microsoft’s most popular OS in recent times, I thought it would be good to take a look back and review Windows 10’s progress these past few years. I&amp;rsquo;m going to be a bit critical about a few things, but my criticisms are intended in the spirit of providing feedback and are only my opinion. My experiences and opinions won&amp;rsquo;t match others.&lt;/p&gt;
&lt;p&gt;I’m a long-time user and fan of Windows, as a consumer, enthusiast, and professional. During Windows 10’s lifetime there have been changes that no doubt have affected how the sausage and egg McMuffin that is Windows 10 is made (sorry, I&amp;rsquo;m really hungry). Not to mention all the feedback that MSFT are attempting to respond to, as well as developing Windows as a product in the direction that they want to as a corporation. Let&amp;rsquo;s start with the positives!&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Two releases, every year.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;A positive of this release schedule is that Windows is updated, and new features are added quickly. In the old days, when a new standard or feature became common place in the tech world, sometimes it could be added with a service pack, but often it was added to the next major release of Windows and you either had to make do without it, or use software from a third party which wasn’t always integrated into the system well, if at all.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The 2019 updates.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;After 2018 being a bit of a mess when it comes to the feature updates, I was glad to see that 2019 turned out much better. 1903 (19H1) introduced new features and 1909 (19H2) brought bug fixes and was otherwise a small and problem-free. There were no major bugs (like 1809’s file deletion bug) and if Microsoft can stay on this path, I’ll be happy as a consumer and an admin. I felt Microsoft had lost a lot of good will with Windows 10 updates in the past, but I think 2019 made up some ground. I hope it continues with the 2020 updates.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;A more transparent development process.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;With the Feedback app integrated into Windows 10, it’s easy to send feedback to Microsoft on any aspect of Windows and often see a response from the engineers. This is a huge change from old days where it was near impossible for normal users to send feedback to Microsoft. Also, with the Windows Insiders program it’s now easy to get work-in-progress builds of future releases and provide feedback on changes and new features that are being considered.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Modernisation.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Windows 10 has been a huge step in updating Windows and keeping it relevant to the world today. Over the years new icons and new UI designs (have been created, and the daunting task of migrating the old control panel to a new, more modern settings area was started. I can’t fault them for trying new things and taking a few risks. A few examples of modern features that I use every day is the emoji keyboard, of all things! Along with other typing and keyboard improvements. This is another good example. Are these critical to the function of Windows? No, but it’s great to have them introduced. Another example is the development of the Your Phone app and linking your mobile phone to your Windows device. I love seeing this type of new feature, even though some I never use myself I can see how others would benefit. There are more new features than I&amp;rsquo;m giving credit for, so &lt;a href=&#34;https://insider.windows.com/en-us/articles/the-last-5-years-in-feedback-driven-features/&#34;&gt;here&amp;rsquo;s a blog post from MSFT&lt;/a&gt; on some feedback-driven changes.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;IT Pro resources.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;There’s been a huge improvement in providing tools and documentation for IT pros in the last few years. Microsoft have been quietly working on building their docs pages, building new tools and supporting existing tools. Although Microsoft are focussed on the cloud, they&amp;rsquo;re at least still working to support hybrid and on premises configurations. &amp;ldquo;But for how long!?&amp;rdquo; I hear you say. True, but at least they&amp;rsquo;re not pulling an Apple and just saying &amp;ldquo;no&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Now on to my less positive points.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Inconsistent UI.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;During the lifetime of Windows 10 there have been a lot of work on updating and consolidating the Windows UI to a specific look and standard, but it has resulted in different areas of Windows and its in-box apps all looking different, almost stuck in various time capsules of this initiative as the UI design has been tweaked and changed along with the development of Windows, but independently. Windows has always had this problem to some extent, but with the increased speed of releases of Windows 10 it&amp;rsquo;s even more noticeable.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The Control Panel to Settings migration.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;After five years this appears to still be in progress. Not much seems to have happened with the migration in the past year or so - perhaps there’s a problem blocking them from moving forward with it, but nevertheless there are still many control panel applets that haven’t been moved over and it only adds to the impression that the core of Windows 10 is unfinished. This is perhaps the second most common criticism. I would imagine that maintaining compatibility is something which affects this, but it&amp;rsquo;s also been five years. It&amp;rsquo;s another big factor in the impression that the modernisation is only skin deep; only updating the aspects that the common user sees.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Where in the world did Start Menu search performance go?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;As of v1903 searching for programs using the Start Menu has returned to the same level of user experience as Windows 7 &amp;amp; 8.1. This is an &lt;em&gt;extremely welcome&lt;/em&gt; change; however, it shouldn’t have taken this long to be fixed as the feedback on this problem has been around for years, and with Windows now being software as a service, it should have been fixed sooner. Arguably the problem shouldn’t have existed in the first place. My theory is that integrating Cortana into Windows 10 initially caused the problem and it’s only now been fixed because Cortana is being &amp;ldquo;refocused&amp;rdquo; and has been separated from the system search. If this is true, I think this is a negative effect of not being afraid to try new things; drastic changes are made to a perfectly functional feature of the operating system because a new product is being pushed. I would give credit for going all in and making a serious attempt to make Cortana successful, but it shouldn’t have made a core feature worse.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Power Toys.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The new Power Toys are great, they add some very useful functionality, but these are the type of new features that should be added to Windows. According to Microsoft the Power Toys are for power users - which is great, but virtual desktops were added, and I would class this as a power user feature as well. So why are some power user features integrated into Windows and others only available via a separate download? Also, recently there&amp;rsquo;s been news that a future release of the Power Toys will have a new program launcher - Power Launcher, which again looks great. This type of new feature should be in a future Windows build though, also this would have been even better news if start menu search hadn&amp;rsquo;t just been fixed in 1903.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;In-box apps.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Over the years Windows 10 has introduced and improved on many apps included with it. Some intended to replace old apps and add new functionality and some entirely new apps. I’ve a few examples I want to examine. Groove Music was an excellent new app that had a lot of development, a passionate community and the app improved with every new version. It supported Microsoft’s streaming music service, allowed you to play your own music from OneDrive cloud storage and was focussed and performant. Then Microsoft killed off its music service and stopped development, and with a final update removed the functionality to play music from OneDrive and added an advert for Spotify. You hate to see it. This seems like a huge waste of time and effort. What a shame. On the flip side of the coin, Microsoft Photos is an app that I’m less positive about. In many ways it&amp;rsquo;s a great demo app to show off the then new features of UWP and demonstrate impressive animation and design, but fails as an everyday image viewing app, in the performance area. The performance when simply opening and displaying an image is not as good as the old Windows Photo Viewer or many third-party image viewers. The apps feature set appears to have been made to emulate Google’s long-dead Picasa photos application and although it has some good basic photo editing and video creation features, it seems like it should be an optional download or part of a “Windows 10 Plus Pack”, not the default image viewer for the OS. One entirely new app was Paint 3D. It was and still is a decent application, but it’s relevance to the Windows ecosystem is unclear. At the point it was released Microsoft was promoting its Windows Mixed Reality devices and software. Since then Mixed Reality appears to have quietly disappeared, or perhaps it&amp;rsquo;s been merged with HoloLens? In any case it&amp;rsquo;s a good app, but I&amp;rsquo;m not sure why it exists. Many of these new apps have obviously been created to modernise Windows and to replace old and out of date applications like Windows Photo Viewer and Windows Media Player. Quick side note, both these specific applications still work and can be enabled, but they’re a bit buggy and unsupported. I fully expect them to be entirely removed at some point.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;App updates attached to OS updates.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The old Edge browser had its updates tied to the release of a new Windows version. Even with the accelerated update cadence of Windows 10, it makes no sense to create a new modern browser and tie its updates to the operating system updates. One of the advertised features of the new Chromium based Edge browser is that it is being updated separately from Windows. I’m glad we got there eventually. A second example comes from &lt;a href=&#34;https://twitter.com/thurrott&#34;&gt;Paul Thurrott&lt;/a&gt; who recently &lt;a href=&#34;https://www.thurrott.com/windows/windows-10/228292/microsoft-updates-calculator-in-new-windows-10-fast-ring-build&#34;&gt;wrote about&lt;/a&gt; an update to the Calculator app that was released via an entire new Windows build in the Fast ring. The new feature was graphing, which is a welcome new feature for sure, but why is this update to the calculator application tied to an Insider build, shouldn’t it be pushed out through the store? The new Terminal isn&amp;rsquo;t tied to Windows releases and that&amp;rsquo;s a brand-new command line interface. If anything were to be tied to the OS, I would think that would be, not the calculator app. I understand that apps should be tested before being made generally available, but it is possible to push app updates out via the store only to specific rings and insider builds, because it&amp;rsquo;s been done before with the preview version of the Microsoft Photos app.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Wrapping it up.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;My impression of Windows 10 as a project is that it feels directionless. It appears like different teams responding to feedback and corporate mandate, but with constantly changing goals, like weekly. New features are added to builds that are pushed to millions, only for the features to be abandoned soon afterwards and never developed or spoken of again. I do think Windows 10 is a good operating system, every version has been an improvement over the previous one. Going back to Windows 7 now feels like going back in time in many ways. Professionally I didn’t consider Windows 10 good enough to begin broadly deploying until version 1607 and that was only because of the level of familiarity I had with the OS itself, the environment I worked in, and the users I worked with. My hope for 2020 is that Windows 10 development finds some kind of focus, maybe the 2019 updates where the beginning of it. In the future I’d like to see there be a focus on shipping features of higher quality initially, rather than taking months to make them usable. The in-box apps and non-system additional utilities such as Calculator can be updated and delivered via the store, or their own update mechanisms in the case of Chromium Edge. It’d be great to see a leader focus on a direction to take Windows in future. I look at the Xbox division under Phil Spencer (I hate to single out one person, but he has turned it around in many ways since he’s been in the role) and I’d like to think that Windows and the ecosystem can be hugely improved if it had that kind of leadership. I look forward to seeing what Windows has in store for 2020 and beyond, there&amp;rsquo;s lots of good work being done all over Microsoft and it would be good to see it all come together.&lt;/p&gt;
&lt;p&gt;I hope you found this useful, please consider supporting my work with &lt;a href=&#34;https://www.paypal.me/digressive&#34;&gt;PayPal.me&lt;/a&gt;. If you have any questions or comments, please leave them below.&lt;/p&gt;
&lt;p&gt;-Mike&lt;/p&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Windows 10</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>An explanation and changes ahead for the coming year.</title>
        <link>https://gal.vin/posts/old/an-explanation-and-changes-ahead-for-the-coming-year/</link>
        <pubDate>Wed, 22 Jan 2020 00:17:52 +0000</pubDate>
        
        <atom:modified>Wed, 22 Jan 2020 00:17:52 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/an-explanation-and-changes-ahead-for-the-coming-year/</guid>
        <description>Hi all,
You might have noticed some changes in the last few months to the site and the content - specifically that some posts go up with passwords on them initially and I want to explain why this is. I’ve decided to start a Patreon and also accept donations from anyone who is willing to &amp;ldquo;toss a coin to your Tech-Witcher&amp;rdquo;. One of the rewards to anyone who becomes a patron (at any level) is early access to articles on the site and videos on my new tech focussed YouTube channel.</description>
        <content:encoded>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;You might have noticed some changes in the last few months to the site and the content - specifically that some posts go up with passwords on them initially and I want to explain why this is. I’ve decided to start a Patreon and also accept donations from anyone who is willing to &amp;ldquo;toss a coin to your Tech-Witcher&amp;rdquo;. One of the rewards to anyone who becomes a patron (at any level) is early access to articles on the site and videos on my new tech focussed YouTube channel.&lt;/p&gt;
&lt;p&gt;I’m facilitating this by temporarily password protecting new posts for a few days. If you aren’t aware of Patreon, it’s a membership site where you can become a patron of creators and support them financially for the work that they do. My Patreon page currently has two tiers - the lowest one is $2/month and for that you will receive early access to content, exclusive posts, along with your name in the credits of my videos and on the site. The reason for this change is not that I’ve simply gotten greedy. I used to have a full-time sys admin job that I was very proud of and it paid well enough for my desired standard of living. Unfortunately, I no longer have that job and additionally I had some mental health problems. If you take nothing else away from this post, I’d like you to take away that IT workers need to take care of themselves just as much as anyone else. We have a weird job and it isn’t appreciated by most. A lot is expected of us and burn out or &amp;ldquo;crunch&amp;rdquo; (as the video game industry calls it) is very real - self-inflicted or otherwise. Even well-meaning managers and co-workers sometimes, inadvertently put impossible expectations on you. You owe it to yourself and the people who care about you as a person, to take care of yourself. I think it’s also important not to tie your career to your own sense of self-worth.&lt;/p&gt;
&lt;p&gt;In short, last year wasn’t a good one for me. I lost a lot of good stuff and have had to give myself a hard reset. I care about the work I’ve done on this site for the past 4 years and I want to continue to do it. To pull the curtain back a little, I&amp;rsquo;m fortunate that this site gets a lot of traffic. On a &lt;em&gt;bad&lt;/em&gt; day I get hundreds of unique visitors, and this is based on last year&amp;rsquo;s statistics which was my &amp;ldquo;worst&amp;rdquo; year yet. It&amp;rsquo;s an unrealistic comparison but if I somehow got paid £1 per unique visitor last year, I&amp;rsquo;d have been paid a lot more than I did for my full-time job.&lt;/p&gt;
&lt;p&gt;Looking ahead, I already have a road map laid out for future content. I’ll be writing more articles along with making videos for the YouTube channel. Future videos will have higher production values than the ones released in 2019. Additionally, I’m effectively a freelance worker now. If you’d like my services or want me to work with you on a project, please get in touch, I&amp;rsquo;d love to hear from you.&lt;/p&gt;
&lt;p&gt;Thanks so much for reading. As always if you have any questions, please leave a comment. Cheers.&lt;/p&gt;
&lt;p&gt;-Mike&lt;/p&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Personal</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Team Viewer Silent Install and Configuration</title>
        <link>https://gal.vin/posts/old/team-viewer-silent-install-and-configuration/</link>
        <pubDate>Tue, 21 Jan 2020 13:33:58 +0000</pubDate>
        
        <atom:modified>Tue, 21 Jan 2020 13:33:58 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/team-viewer-silent-install-and-configuration/</guid>
        <description>In order to make a recent Bash Bunny payload, I needed to investigate how to install and configure Team Viewer without user interaction. This post will go through how I achieved that.
My TeamViewer configuration was focussed around setting a personal password (a static password that can be used to access the computer) and installing TeamViewer as a service so the computer can be remotely controlled without a user being active.</description>
        <content:encoded>&lt;p&gt;In order to make a recent Bash Bunny payload, I needed to investigate how to install and configure Team Viewer without user interaction. This post will go through how I achieved that.&lt;/p&gt;
&lt;p&gt;My TeamViewer configuration was focussed around setting a personal password (a static password that can be used to access the computer) and installing TeamViewer as a service so the computer can be remotely controlled without a user being active. Team Viewer version: free edition 15.1.3937 Windows version: 64-bit 1909 OS Build 18363.592 I&amp;rsquo;ve uploaded some example files to &lt;a href=&#34;https://github.com/Digressive/Bash-Bunny-Payloads/tree/master/TeeVee&#34;&gt;my GitHub&lt;/a&gt;. These are aimed at the BashBunny payload, but the example-setting.reg file and PowerShell script may be of use to you.&lt;/p&gt;
&lt;h3 id=&#34;capturing-desired-configuration&#34;&gt;Capturing Desired Configuration&lt;/h3&gt;
&lt;p&gt;In order to capture your desired configuration, you’ll need to manually install TeamViewer and configure it on a test system. You’ll then need to export the settings to a .reg file. Important note: you must do this through the program itself. If you wish to set a personal password, don’t do it in TeamViewer as it will not import correctly.&lt;/p&gt;
&lt;p&gt;However, you’ll be able to set the password in the Export Options.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open TeamViewer&lt;/li&gt;
&lt;li&gt;Extras Menu &amp;gt; Options &amp;gt; Advanced &amp;gt;Show advanced options&lt;/li&gt;
&lt;li&gt;Scroll to the bottom &amp;gt; TeamViewer options&lt;/li&gt;
&lt;li&gt;Export options to a *.reg file&lt;/li&gt;
&lt;li&gt;Set location and name of reg file&lt;/li&gt;
&lt;li&gt;Select the sections to export. Important Note: I recommend selecting all sections, along with Export user specific settings as default for all users.&lt;/li&gt;
&lt;li&gt;Set the personal password you wish to use here.&lt;/li&gt;
&lt;li&gt;Export the settings.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;editing-captured-configuration-for-silent-import&#34;&gt;Editing Captured Configuration For Silent Import&lt;/h3&gt;
&lt;p&gt;In my testing, I could not get the settings to take effect if I simply imported the reg file via command line, PowerShell, or even just double clicking the reg file and importing via Windows. It would only work using the Import settings feature in TeamViewer. However, I discovered a way around this. We must add some additional settings to the reg file so it can be imported via script. If using 64-bit Windows, you must add WOW6432Node to all the registry paths in the reg file. For example, any path matching this:&lt;/p&gt;
&lt;p&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\TeamViewer]&lt;/p&gt;
&lt;p&gt;and this:&lt;/p&gt;
&lt;p&gt;[HKEY_CURRENT_USER\SOFTWARE\TeamViewer]&lt;/p&gt;
&lt;p&gt;Will need to be changed to:&lt;/p&gt;
&lt;p&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\TeamViewer]&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;[HKEY_CURRENT_USER\SOFTWARE\WOW6432Node\TeamViewer]&lt;/p&gt;
&lt;p&gt;Secondly, you’ll need to add this line to the end of the reg file:&lt;/p&gt;
&lt;p&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\TeamViewer\DefaultSettings]&lt;/p&gt;
&lt;p&gt;&amp;ldquo;Autostart_GUI&amp;rdquo;=dword:00000001&lt;/p&gt;
&lt;p&gt;Save the reg file.&lt;/p&gt;
&lt;h3 id=&#34;deploying-and-configuring-teamviewer-silently&#34;&gt;Deploying and Configuring TeamViewer Silently&lt;/h3&gt;
&lt;p&gt;Now we’ll create the script to install TeamViewer and import the settings. Below is a PowerShell script I created. Here’s what the script does:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Install TeamViewer silently and wait for the install to finish before continuing.&lt;/li&gt;
&lt;li&gt;Stop the TeamViewer service.&lt;/li&gt;
&lt;li&gt;Import the .reg file containing our edits.&lt;/li&gt;
&lt;li&gt;Start the TeamViewer service.&lt;/li&gt;
&lt;li&gt;Get the TeamViewer ID needed for connection and save it to a location. Name the file after the computer name.&lt;/li&gt;
&lt;li&gt;Remove the TeamViewer icon from the desktop.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;PowerShell Script:&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;/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;c&#34;&gt;# Vars&lt;/span&gt;
&lt;span class=&#34;nv&#34;&gt;$DestFile&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;$env:COMPUTERNAME-TV-ID.txt&amp;#34;&lt;/span&gt;
&lt;span class=&#34;nv&#34;&gt;$ToolPath&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;\\netlogon\software\TeamViewerSetup&amp;#34;&lt;/span&gt;
&lt;span class=&#34;nv&#34;&gt;$DestPath&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;\\server\share$\TeamViewerIDs&amp;#34;&lt;/span&gt;
&lt;span class=&#34;nv&#34;&gt;$Dest&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;$DestPath\$DestFile&amp;#34;&lt;/span&gt;
 
&lt;span class=&#34;c&#34;&gt;# Install Team Viewer&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Start-Process&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-wait&lt;/span&gt; &lt;span class=&#34;nv&#34;&gt;$ToolPath&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;TeamViewer_Setup&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;exe&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;S&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Start-Sleep&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Seconds&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;2&lt;/span&gt;
&lt;span class=&#34;n&#34;&gt;net&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;stop&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;teamviewer&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Start-Sleep&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Seconds&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;2&lt;/span&gt;
&lt;span class=&#34;n&#34;&gt;reg&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;import&lt;/span&gt; &lt;span class=&#34;nv&#34;&gt;$ToolPath&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;tv-settings&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;reg&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Start-Sleep&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Seconds&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;2&lt;/span&gt;
&lt;span class=&#34;n&#34;&gt;net&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;start &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;teamviewer&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Start-Sleep&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Seconds&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;2&lt;/span&gt;
&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;Get-ItemProperty&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Path&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;HKLM:\SOFTWARE\WOW6432Node\TeamViewer&amp;#39;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;ClientID&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;).&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ClientID&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&#34;nv&#34;&gt;$dest&lt;/span&gt;
&lt;span class=&#34;nb&#34;&gt;Remove-Item&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;$env:public\desktop\TeamViewer.lnk&amp;#34;&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;I hope you found this useful, please consider supporting my work with &lt;a href=&#34;https://www.paypal.me/digressive&#34;&gt;PayPal.me&lt;/a&gt;.&lt;/p&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>PowerShell</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Get Started with Windows Update for Business (WUfB)</title>
        <link>https://gal.vin/posts/old/get-started-with-windows-update-for-business/</link>
        <pubDate>Tue, 24 Dec 2019 01:48:36 +0000</pubDate>
        
        <atom:modified>Tue, 24 Dec 2019 01:48:36 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/get-started-with-windows-update-for-business/</guid>
        <description>You may have seen the option to use Windows Update for Business and wondering what it brings to the table when compared to WSUS and SCCM. Windows Update for Business (WUfB) is a good way of simplifying and automating the deployment of Windows Updates without using any on-premises infrastructure. The downside is that you do loose some control, but the benefits outweigh the drawbacks. As I always say, it does depend on your infrastructure and environment though.</description>
        <content:encoded>&lt;p&gt;You may have seen the option to use Windows Update for Business and wondering what it brings to the table when compared to WSUS and SCCM. Windows Update for Business (WUfB) is a good way of simplifying and automating the deployment of Windows Updates without using any on-premises infrastructure. The downside is that you do loose some control, but the benefits outweigh the drawbacks. As I always say, it does depend on your infrastructure and environment though. The biggest aspect of control that you lose is the ability to completely block an update. In WSUS you can just decline it and it will never deploy, but with Windows Update for Business you can only defer (delay) updates. The benefits of using Windows Update for Business are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;No need to manage the approval of individual updates.&lt;/li&gt;
&lt;li&gt;You don’t need to dedicate infrastructure to running Windows Server Update Services (WSUS).&lt;/li&gt;
&lt;li&gt;You can receive driver and other updates, without dedicating infrastructure to it – managing driver updates with WSUS is difficult and usually not recommended.&lt;/li&gt;
&lt;li&gt;It simplifies configuration of client devices receiving updates.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;creating-a-group-policy-object&#34;&gt;Creating a Group Policy Object&lt;/h3&gt;
&lt;p&gt;To get started using Windows Update for Business, we’re going to create a Group Policy to test it out and use an Active Directory group to limit the devices we move over to WUfB.&lt;/p&gt;
&lt;p&gt;Create a new GPO called: WUfB_Test Below I’ll list the settings to configure in the GPO and what effect they have.&lt;/p&gt;
&lt;h3 id=&#34;computer-configurationpoliciesadministrative-templateswindows-componentsdelivery-optimization&#34;&gt;Computer Configuration/Policies/Administrative Templates/Windows Components/Delivery Optimization&lt;/h3&gt;
&lt;p&gt;Download Mode - Enabled&lt;/p&gt;
&lt;p&gt;Download Mode: LAN (1)&lt;/p&gt;
&lt;p&gt;Explanation: This will enable your clients to provide updates to other clients on the local area network. This will help prevent all client devices from going to the internet to retrieve updates and saving on bandwidth usage.&lt;/p&gt;
&lt;h3 id=&#34;computer-configurationpoliciesadministrative-templateswindows-componentswindows-update&#34;&gt;Computer Configuration/Policies/Administrative Templates/Windows Components/Windows Update&lt;/h3&gt;
&lt;p&gt;Configure Automatic Updates - Enabled&lt;/p&gt;
&lt;p&gt;Configure automatic updating: 4 - Auto download and schedule the install&lt;/p&gt;
&lt;p&gt;Install during automatic maintenance: Un-checked&lt;/p&gt;
&lt;p&gt;Scheduled install day: 0 - Every day&lt;/p&gt;
&lt;p&gt;Scheduled install time: 03:00&lt;/p&gt;
&lt;p&gt;Every week: Checked&lt;/p&gt;
&lt;p&gt;Install updates for other Microsoft products: Un-checked&lt;/p&gt;
&lt;p&gt;Turn off auto-restart for updates during active hours - Enabled&lt;/p&gt;
&lt;p&gt;Active Hours Start: 8am Active Hours End: 5pm&lt;/p&gt;
&lt;p&gt;Explanation: With the settings above Windows will download and install updates automatically without user intervention. If an update requires a restart Windows will not do so during the active hours set.&lt;/p&gt;
&lt;h3 id=&#34;computer-configurationpoliciesadministrative-templateswindows-componentswindows-updatewindows-update-for-business&#34;&gt;Computer Configuration/Policies/Administrative Templates/Windows Components/Windows Update/Windows Update for Business&lt;/h3&gt;
&lt;p&gt;Manage preview builds - Enabled&lt;/p&gt;
&lt;p&gt;Set the behaviour for receiving preview builds: Disable preview builds&lt;/p&gt;
&lt;p&gt;Explanation: These settings prevent the preview builds of Windows 10 from installing.&lt;/p&gt;
&lt;p&gt;If you do want a collection of devices that install the Insider preview builds of Windows 10 for testing in your organisation, then you should create another GPO for that.&lt;/p&gt;
&lt;p&gt;Select when Preview Builds and Feature Updates are received - Enabled&lt;/p&gt;
&lt;p&gt;Select the Windows readiness level for the updates you want to receive: Semi-Annual Channel&lt;/p&gt;
&lt;p&gt;After a Preview Build or Feature Update is released, defer receiving it for this many days: 365&lt;/p&gt;
&lt;p&gt;Pause Preview Builds or Feature Updates starting: leave blank&lt;/p&gt;
&lt;p&gt;Explanation: This is where you select the update channel, which at this point in time only really matters if you are deploying preview Insider builds of Windows 10. There does appear to be a bug in the Group Policy Management console where it reports the channel as always being &amp;lsquo;Semi-Annual Channel (Targeted) for 1809 and below (Deprecated)&amp;rsquo;. The settings above will prevent Windows 10 from downloading and installing any of the major feature updates for one year. For example, when running Windows 10 v1903, it will not download the update to Windows 10 v1909 for one year (365 days).&lt;/p&gt;
&lt;p&gt;Select when Quality Updates are received - Enabled&lt;/p&gt;
&lt;p&gt;After a quality update is released, defer receiving it for this many days: 7&lt;/p&gt;
&lt;p&gt;Pause Quality Updates starting: leave blank&lt;/p&gt;
&lt;p&gt;Explanation: These settings control when the quality updates can be installed. The quality updates are the monthly updates released for Windows 10. You may want to defer these for a week or two just in case there are any issues with them.&lt;/p&gt;
&lt;p&gt;Now we&amp;rsquo;re going to use an Active Directory group ensure that this GPO only applies to the clients we want it to.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create a group in Active Directory called: WUfB_Test.&lt;/li&gt;
&lt;li&gt;Add in the computer accounts you want to use to test Windows Update for Business.&lt;/li&gt;
&lt;li&gt;Using Group Policy Management, go to Group Policy Objects &amp;gt; WUfB_Test.&lt;/li&gt;
&lt;li&gt;Click on the GPO and select the Scope tab in the larger right-hand pane&lt;/li&gt;
&lt;li&gt;Under the Security Filtering section, remove the Authenticated Users group and add the WUfB_Test group.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;All we need to do now is link the GPO to an OU that contains the devices we want to test WUfB with.&lt;/p&gt;
&lt;h3 id=&#34;final-thoughts-and-recommendations&#34;&gt;Final Thoughts and Recommendations&lt;/h3&gt;
&lt;p&gt;Something I haven’t covered in this post is how to get telemetry on the status of updates across the devices in your organisation and that’s because to be honest, I haven’t been able to get it working yet. According to Microsoft’s documentation, it is available via a free service in Azure, but I haven’t been able to find it yet let alone enable it. I’ll keep you posted. There are two Group Policy settings that don’t appear to have any effect on Windows 10 or Windows Server 2016+ devices. If your experience if different, please let me and others know in the comments.&lt;/p&gt;
&lt;p&gt;Install updates for other Microsoft products - This used to effect Windows 7 and possibly Windows 8, but these days it doesn’t appear to do anything. It may take some effect on older or slightly obscure pieces of software, however.&lt;/p&gt;
&lt;p&gt;Install during automatic maintenance - This setting only appears to take effect on Windows Server 2012 R2 devices. As I mentioned earlier in the post, I would suggest that depending on your environment you might want to set up a couple of different GPOs so you could have a testing group and then a production group for updates. You could also configure a GPO to enable the deployment of Windows Insider builds within your organisation to test software as well as deployment. You could also use WUfB for servers as well. WSUS was first released during the Windows XP and Windows Server 2003 timeframe and back then it was a godsend. Over the years as Windows has changed, WSUS has had more and more added to it and these days it feels very much like part of the legacy and on-prem suite of products that aren’t going to get any updates in future. We can debate on whether this is a good thing or not in the comments section and on Twitter, but hopefully this post helps bring awareness to Windows Update for Business and how you might be able to use it.&lt;/p&gt;
&lt;p&gt;I hope you found this post useful in some way, please consider supporting my future work by checking out my &lt;a href=&#34;https://www.paypal.me/digressive&#34;&gt;PayPal&lt;/a&gt;. If you are unable or prefer not to use either of those methods, no problem - sharing my work and following me on social media is a huge help. Thanks!&lt;/p&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 Update</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>App Spotlight: Directory Opus</title>
        <link>https://gal.vin/posts/old/app-spotlight-directory-opus/</link>
        <pubDate>Sat, 21 Dec 2019 21:27:20 +0000</pubDate>
        
        <atom:modified>Sat, 21 Dec 2019 21:27:20 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/app-spotlight-directory-opus/</guid>
        <description>Directory Opus is a file manager – remember those? I haven&amp;rsquo;t thought about them for years. DOpus (as it’s known for short) has a long history starting on the Commodore Amiga where in later versions it was available as a Workbench (the Amiga&amp;rsquo;s operating system) replacement. I only used Directory Opus version 4 on the Amiga, but it was a great file manager and was a great tool to have back then.</description>
        <content:encoded>&lt;p&gt;Directory Opus is a file manager – remember those? I haven&amp;rsquo;t thought about them for years. DOpus (as it’s known for short) has a long history starting on the Commodore Amiga where in later versions it was available as a Workbench (the Amiga&amp;rsquo;s operating system) replacement. I only used Directory Opus version 4 on the Amiga, but it was a great file manager and was a great tool to have back then.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://gal.vin/media/dopus4.webp&#34; alt=&#34;Directory Opus 4 on the Commodore Amiga&#34; /&gt;&lt;/p&gt;
&lt;p&gt;Directory Opus became available on Windows in the early 2000’s and is now up to version 12. I’ve been using it non-stop over the last few weeks to do a lot of file management where it’s really helped provide more features over standard Windows file explorer. DOpus is incredibly configurable. Almost everything about the program can be customised, even the visual aspects of the program, down to the icons. There is an active community around the program providing user created themes as well as advice and support. Support is also available from the developers. DOpus can be used as a separate program or as a complete Windows explorer replacement, much like the old Amiga versions of the program could be used to fully replace the OS. Even though there are plenty of free Windows file managers, Directory Opus is fully featured and, in my opinion, worth the $90 Australian. That is a one-time payment for the current version and all updates to the next major version. Looking back at the release history, major versions come out every few years and upgrade prices are discounted. You can run the program in evaluation mode for up to 60 days and see if it suits your needs. I highly recommend Directory Opus. It handles millions of files, complex operations and can help make heavy file management tasks much more manageable. You can check out Directory Opus at GPSoft&amp;rsquo;s website here: &lt;a href=&#34;https://www.gpsoft.com.au&#34;&gt;https://www.gpsoft.com.au&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please note: This post is not sponsored content. I purchased Directory Opus with my own funds.&lt;/p&gt;
&lt;p&gt;If you would like to support me with a one-time donation then please use &lt;a href=&#34;https://www.paypal.me/digressive&#34;&gt;PayPal&lt;/a&gt;. If you are unable to or prefer not to support me monetarily, no problem! Sharing my work and following me on social media would be a huge help. Thanks!&lt;/p&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>Spotlight</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>The New Microsoft Edge - The Microsoft Alternative To Chrome</title>
        <link>https://gal.vin/posts/old/the-new-microsoft-edge/</link>
        <pubDate>Sun, 15 Dec 2019 16:00:35 +0000</pubDate>
        
        <atom:modified>Sun, 15 Dec 2019 16:00:35 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/the-new-microsoft-edge/</guid>
        <description>Microsoft have been developing an all new version of their web browser Edge and will release it in early 2020. If you are familiar with the existing Edge browser, it’s the same in name only - the new Microsoft Edge is vastly improved in many ways. The new Edge is now based on Chromium, the same project that Google&amp;rsquo;s Chrome browser is based on. So, this new version of Edge will share all the compatibility that Chromium based browsers have.</description>
        <content:encoded>&lt;p&gt;Microsoft have been developing an all new version of their web browser Edge and will release it in early 2020. If you are familiar with the existing Edge browser, it’s the same in name only - the new Microsoft Edge is vastly improved in many ways. The new Edge is now based on Chromium, the same project that Google&amp;rsquo;s Chrome browser is based on. So, this new version of Edge will share all the compatibility that Chromium based browsers have. The new Edge shares a lot of features with Google Chrome; however, Microsoft have ported across the unique features from old Edge, with more to come. Both Google Chrome and the new Microsoft Edge are based on the open source Chromium project and Microsoft are making contributions back to the project, rather than developing their own browser in parallel. This new version of Edge is cross compatible with macOS, Windows 7, 8, 8.1, and 10 as well as server versions 2008 R2, 2012 R2, 2016, 2019 and above. The new Edge is independent of the Windows and is updated through its own update process, like Google Chrome. The browser is currently available to test in three channels:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Beta - updates every 6 weeks&lt;/li&gt;
&lt;li&gt;Dev - weekly updates&lt;/li&gt;
&lt;li&gt;Canary - daily updates&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can find out more and download it for yourself here: &lt;a href=&#34;https://www.microsoftedgeinsider.com&#34;&gt;https://www.microsoftedgeinsider.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can download offline deployment packages and group policy templates here: &lt;a href=&#34;https://www.microsoftedgeinsider.com/enterprise&#34;&gt;https://www.microsoftedgeinsider.com/enterprise&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please consider supporting me with &lt;a href=&#34;https://www.paypal.me/digressive&#34;&gt;PayPal&lt;/a&gt;. If you are unable to or prefer not to support me monetarily, no problem! Sharing my work and following me on social media would be a huge help. Thanks!&lt;/p&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>Personal</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Microsoft Deployment Toolkit for the Enthusiast, Home or Small Business</title>
        <link>https://gal.vin/posts/old/microsoft-deployment-toolkit-for-the-enthusiast-home-or-small-business/</link>
        <pubDate>Thu, 05 Dec 2019 17:49:42 +0000</pubDate>
        
        <atom:modified>Thu, 05 Dec 2019 17:49:42 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/microsoft-deployment-toolkit-for-the-enthusiast-home-or-small-business/</guid>
        <description>This article is directed towards enthusiasts, IT professional&amp;rsquo;s for small businesses, or anyone who wants to create custom images and doesn&amp;rsquo;t have volume licensing, an Active Directory domain, or a lot of server infrastructure. I hope this article is useful to you, if it is please consider supporting my work with PayPal. In this walkthrough we&amp;rsquo;re going to cover:
 Installing Microsoft Deployment Toolkit and its dependencies on Windows 10 Home/Pro Edition.</description>
        <content:encoded>&lt;p&gt;This article is directed towards enthusiasts, IT professional&amp;rsquo;s for small businesses, or anyone who wants to create custom images and doesn&amp;rsquo;t have volume licensing, an Active Directory domain, or a lot of server infrastructure. I hope this article is useful to you, if it is please consider supporting my work with &lt;a href=&#34;https://www.paypal.me/digressive&#34;&gt;PayPal&lt;/a&gt;. In this walkthrough we&amp;rsquo;re going to cover:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Installing Microsoft Deployment Toolkit and its dependencies on Windows 10 Home/Pro Edition.&lt;/li&gt;
&lt;li&gt;Creating a Task Sequence to create a custom Windows 10 Home/Pro Edition image.&lt;/li&gt;
&lt;li&gt;Creating a bootable USB drive containing the custom Windows 10 image.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;What you&amp;rsquo;ll need:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A PC running at least Windows 10 Home Edition.&lt;/li&gt;
&lt;li&gt;A Virtual Machine to create the custom image.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;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://developer.microsoft.com/en-us/windows/hardware/windows-assessment-deployment-kit&#34;&gt;Windows 10 1903 Assessment and Deployment Kit (ADK)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://go.microsoft.com/fwlink/?linkid=2095334&#34;&gt;Windows System Image Manager (WSIM) 1903 update&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install&#34;&gt;Windows PE add-on for the ADK&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 (Build 8456)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Windows 10 1909 x64 ISO from the &lt;a href=&#34;https://go.microsoft.com/fwlink/?LinkId=691209&#34;&gt;Media Creation Tool&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/MDT-Files&#34;&gt;Some of my customised MDT files to help you get started.&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;installing-microsoft-deployment-toolkit-and-dependencies&#34;&gt;Installing Microsoft Deployment Toolkit and Dependencies&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;First, we&amp;rsquo;ll install the Windows 10 1903 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 Select the features you want to install screen select:
&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;Install WinPE by running the adkwinpesetup.exe. There is no specific configuration during the install wizard.&lt;/li&gt;
&lt;li&gt;Install MDT by running the MicrosoftDeploymentToolkit_x64.msi. There is no specific configuration during the install wizard.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;install-the-windows-system-image-manager-update&#34;&gt;Install the Windows System Image Manager Update&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Unzip the archive containing the WSIM 1903 fix.&lt;/li&gt;
&lt;li&gt;Copy the two files: ImageCat.exe and ImgMgr.exe to the location the ADK is installed to. The default location is: C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\WSIM.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;creating-the-deployment-share&#34;&gt;Creating the Deployment Share&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Open the 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;Under Deployment share path enter the path: C:\DeploymentShare&lt;/li&gt;
&lt;li&gt;Under Share name, you can leave it as DeploymentShare, just remove the &amp;lsquo;$&amp;rsquo; on the end so the share is not hidden.&lt;/li&gt;
&lt;li&gt;Enter a description in the Deployment share description text field.&lt;/li&gt;
&lt;li&gt;On the Options screen, accept the defaults as we&amp;rsquo;ll change them later.&lt;/li&gt;
&lt;li&gt;Complete the wizard to create the share.&lt;/li&gt;
&lt;li&gt;Browse to C:\DeploymentShare and right-click on the folder and go to Properties &amp;gt; Sharing &amp;gt; Advanced Sharing &amp;gt; Permissions.&lt;/li&gt;
&lt;li&gt;Add the Administrators and Users groups and check Allow Full Control permissions.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;obtaining-the-windows-10-iso&#34;&gt;Obtaining the Windows 10 ISO&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Run the Media Creation Tool that we downloaded earlier.&lt;/li&gt;
&lt;li&gt;After accepting the EULA, choose the Create installation media for another PC option.&lt;/li&gt;
&lt;li&gt;Choose the language, edition and architecture of Windows to download.&lt;/li&gt;
&lt;li&gt;On the Choose with media to use screen, choose ISO.&lt;/li&gt;
&lt;li&gt;Browse to the location where you wish to save the ISO. Give it a descriptive name.&lt;/li&gt;
&lt;li&gt;The ISO will download.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;converting-the-esd-to-a-wim&#34;&gt;Converting the ESD to a WIM&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Mount the Windows 10 ISO in File Explorer.&lt;/li&gt;
&lt;li&gt;Create a folder on the root of the C:\ drive called w10-src and copy all the files from the ISO to it.&lt;/li&gt;
&lt;li&gt;Open up an elevated command prompt.&lt;/li&gt;
&lt;li&gt;Change directory to the sources directory of the Windows 10 files: cd C:\w10-src\sources&lt;/li&gt;
&lt;li&gt;Now we&amp;rsquo;re going to convert the install.esd file to a WIM file as ESD files are not compatible with MDT.&lt;/li&gt;
&lt;li&gt;But first we need to know which index to export. To do this run the following command in the elevated command prompt: dism /Get-WimInfo /WimFile:install.esd&lt;/li&gt;
&lt;li&gt;A list of Windows 10 editions will be displayed, each with their own index number. Choose which one you want and make a note of the index number.&lt;/li&gt;
&lt;li&gt;Now we&amp;rsquo;re going to convert the ESD to a WIM. Run the following command, but substitute the index number for the edition you wish to install: dism /export-image /SourceImageFile:install.esd /SourceIndex:[x] /DestinationImageFile:install.wim /Compress:max /CheckIntegrity&lt;/li&gt;
&lt;li&gt;We now have a WIM file for MDT to work with.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;adding-an-operating-system-to-mdt&#34;&gt;Adding an Operating System to MDT&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 Full set of source files and then enter the folder that we copied the Windows 10 files to from the ISO - in this case it was: C:\w10-src\ as the Source directory.&lt;/li&gt;
&lt;li&gt;For the destination directory name enter Windows 10 and complete the wizard.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;importing-applications&#34;&gt;Importing Applications&lt;/h3&gt;
&lt;p&gt;If you want to add some applications to be a part of your custom image, here I&amp;rsquo;ll cover how to add them into MDT.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download or copy the files needed for installation. For an example, let&amp;rsquo;s use &lt;a href=&#34;https://www.videolan.org&#34;&gt;VLC.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Using File Explorer browse to C:\DeploymentShare\Applications.&lt;/li&gt;
&lt;li&gt;Create a folder called VLC and copy the installation file to it.&lt;/li&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 without source files.&lt;/li&gt;
&lt;li&gt;Give the application the name: VLC.&lt;/li&gt;
&lt;li&gt;For the Command line enter the exact name including the extension of the VLC installation file, and then add a /S for a silent install. Make sure it is a capital S. For example: vlc-3.0.8-win64.exe /S&lt;/li&gt;
&lt;li&gt;In the Working directory text box, enter: .\Applications\VLC&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;p&gt;This will create an application entry for VLC, which will silently install VLC using the command line that we entered. You will need to do this for each application you want to install. Different applications have different &amp;lsquo;silent&amp;rsquo; or &amp;lsquo;quiet&amp;rsquo; install methods. They can be found online. Here&amp;rsquo;s are some command lines for other software:&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;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;msiexec /I googlechromestandaloneenterprise64.msi /qn
&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;a href=&#34;https://get.adobe.com/uk/reader/enterprise/&#34;&gt;Adobe Reader - Enterprise Installer&lt;/a&gt;&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;AdobeReaderDC.exe /sAll
&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;creating-a-task-sequence&#34;&gt;Creating 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 an ID such as: W10-1909-H.&lt;/li&gt;
&lt;li&gt;Name it Build Windows 10 1909 x64 Edition.&lt;/li&gt;
&lt;li&gt;Select Standard Client Task Sequence.&lt;/li&gt;
&lt;li&gt;Select the Operating System Windows 10 1909 x64 Edition.&lt;/li&gt;
&lt;li&gt;Select Do not specify a product key at this time.&lt;/li&gt;
&lt;li&gt;Enter a Name and Organization.&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 and add applications.&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;Go to the Task Sequence tab on the Properties window of the Task Sequence.&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;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 an application from the list and change the name Install Applications to something more descriptive.&lt;/li&gt;
&lt;li&gt;To install other Applications, copy and paste the Install Applications item and repeat the previous steps.&lt;/li&gt;
&lt;li&gt;Click Apply and close the task sequence.&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. You can get my example files I made for the YouTube video &lt;a href=&#34;https://github.com/Digressive/MDT-Files/tree/master/YouTube-Tutorial-Files&#34;&gt;from my GitHub.&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;configuring-bootstrapini&#34;&gt;Configuring Bootstrap.ini&lt;/h3&gt;
&lt;p&gt;This configuration will setup the WinPE deployment environment to automatically login. For the UserID and UserPassword you should use a user on the PC that is hosting the deployment share. You&amp;rsquo;ll also need to change the DeployRoot and UserDomain based on your PC name.&lt;/p&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=\\PC-NAME\DeploymentShare
UserDomain=PC-NAME
UserID=user1
UserPassword=pass1
SkipBDDWelcome=YES
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h3 id=&#34;configuring-customsettingsini&#34;&gt;Configuring CustomSettings.ini&lt;/h3&gt;
&lt;p&gt;The settings below automate MDT to build an image for capture. This enables you to use the resulting image as a custom install. On the Rules tab of the Deployment Share properties window, add the settings below. You&amp;rsquo;ll need to change some settings based on your PC name.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;15
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;16
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;17
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;18
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;19
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;20
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;21
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;22
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;23
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;24
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;25
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;26
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=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 Image
_SMSTSPackageName=%TaskSequenceName%
DoCapture=YES
ComputerBackupLocation=\\PC-NAME\DeploymentShare\Captures
BackupFile=Captured-Image.wim
FinishAction=SHUTDOWN
SLShare=\\PC-NAME\DeploymentShare\Logs
&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 in order to boot the Virtual Machine into WinPE for deployment.&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 located in the Boot folder in the Deployment Share. Copy the LiteTouchPE_x64.iso file to a location where the virtual machine will be able to access it. Create a new virtual machine 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;2x vCPUs&lt;/li&gt;
&lt;li&gt;4GB of RAM&lt;/li&gt;
&lt;li&gt;Network Adapter with access the local network.&lt;/li&gt;
&lt;li&gt;Virtual Hard Drive of at least 40GB, preferably on an SSD.&lt;/li&gt;
&lt;li&gt;Boot from CD using the LiteTouchPE_x64.iso from MDT.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;Start the VM and it will boot from the LiteTouchPE_x64.iso into WinPE.&lt;/li&gt;
&lt;li&gt;You will be presented with a screen with the name of the task sequence we created earlier. Select the Task Sequence and click Next.&lt;/li&gt;
&lt;li&gt;Click Next and the task sequence will begin.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The task sequence will install Windows 10, run Windows Update and install the applications we put in the task sequence. When this process completes the image will be captured and the VM will shut down. Once we have a final WIM file, we need to create an ISO from it.&lt;/p&gt;
&lt;h3 id=&#34;creating-an-iso-from-a-captured-wim&#34;&gt;Creating an ISO From A Captured WIM&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Create a new copy of the win10-src files that we created at the beginning of this walkthrough. For example, I&amp;rsquo;ll create a new copy in a folder called win10-src-new.&lt;/li&gt;
&lt;li&gt;Navigate to C:\DeploymentShare\Captures and copy the WIM file to the root of the C:\ drive.&lt;/li&gt;
&lt;li&gt;Rename the WIM file to install.wim and move it to C:\win10-src-new\sources. Overwrite any old install.wim files.&lt;/li&gt;
&lt;li&gt;You can safely delete the old install.esd if it is still in the source folder.&lt;/li&gt;
&lt;li&gt;To create the ISO, we must first run a BAT file. In an elevated command line, run the following command, including the quotes: &amp;ldquo;C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\DandISetEnv.bat&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Now run the following command, please be aware that you must change some of the paths to reflect your own file system:&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;/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;oscdimg.exe -m -o -u2 -udfver102 -bootdata:2#p0,e,bC:\Win10-src-new\boot\etfsboot.com#pEF,e,bC:\Win10-src-new\efi\microsoft\boot\efisys.bin C:\Win10-src-new\ C:\win10-custom.iso
&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 this command completes, you should have a new ISO file in the root of your C:\ drive called win10-custom.iso. You can now use a tool such as the &lt;a href=&#34;https://www.microsoft.com/en-us/download/details.aspx?id=56485&#34;&gt;Windows USB/DVD tool&lt;/a&gt; to make a bootable USB drive from the ISO and install your own custom Windows 10 image.&lt;/p&gt;
&lt;p&gt;If you have any questions or comments, please leave them below. I hope this article is useful to you, as I said at the beginning of the article, please consider supporting my work with &lt;a href=&#34;https://www.paypal.me/digressive&#34;&gt;PayPal&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;-Mike&lt;/p&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Windows 10 1909 November 2019 Update (19H2)</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Remove MS Store Apps Utility</title>
        <link>https://gal.vin/utils/remove-ms-store-apps-utility/</link>
        <pubDate>Wed, 04 Dec 2019 15:25:17 +0000</pubDate>
        
        <atom:modified>Wed, 04 Dec 2019 15:25:17 +0000</atom:modified>
        <guid>https://gal.vin/utils/remove-ms-store-apps-utility/</guid>
        <description>Customisable Windows 10/11 Microsoft Store App removal utility, previously known as Remove-Win10-Apps Remove MS Store Apps Utility is available from:
 GitHub The Microsoft PowerShell Gallery  Please consider supporting my work:
 Support with a one-time donation using PayPal.  Please report any problems via the ‘issues’ tab on GitHub.
Thanks
-Mike
Features and Requirements  Remove specified apps for the current logged on user. Remove specified apps from the system for all users.</description>
        <content:encoded>&lt;h2 id=&#34;customisable-windows-1011-microsoft-store-app-removal-utility-previously-known-as-remove-win10-apps&#34;&gt;Customisable Windows 10/11 Microsoft Store App removal utility, previously known as Remove-Win10-Apps&lt;/h2&gt;
&lt;p&gt;Remove MS Store Apps Utility is available from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/Digressive/Remove-MS-Store-Apps&#34;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.powershellgallery.com/packages/Remove-MS-Store-Apps&#34;&gt;The Microsoft PowerShell Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&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;Please report any problems via the ‘issues’ tab on GitHub.&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
&lt;h2 id=&#34;features-and-requirements&#34;&gt;Features and Requirements&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Remove specified apps for the current logged on user.&lt;/li&gt;
&lt;li&gt;Remove specified apps from the system for all users.&lt;/li&gt;
&lt;li&gt;Can be used for imaging and OS deployment, as well as individual user.&lt;/li&gt;
&lt;li&gt;Can be used on an offline Windows image.&lt;/li&gt;
&lt;li&gt;Requires a text file with a list of the apps to remove.&lt;/li&gt;
&lt;li&gt;Tested on Windows 10 and Windows 11.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;how-to-get-a-list-of-apps-to-remove&#34;&gt;How to get a list of apps to remove&lt;/h2&gt;
&lt;p&gt;To create a text file with a list of the apps to remove, run the following and copy and paste the app names you wish to remove into a txt file and save it.&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-MS&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;-Store-Apps&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ps1&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-PCApps&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 get a list of apps that are installed for the current user, use this 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;Remove-MS&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;-Store-Apps&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ps1&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-UserApps&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;how-to-find-the-index-number-of-the-image-in-the-wim-file&#34;&gt;How to find the index number of the image in the wim file&lt;/h2&gt;
&lt;p&gt;Run the following command to find out how many images are present in the wim file:&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;p&#34;&gt;[&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;path&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;\]&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;install&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;wim&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;h2 id=&#34;app-names-table&#34;&gt;App Names Table&lt;/h2&gt;
&lt;p&gt;Here is a table of app names in PowerShell and what they relate to in Windows.&lt;/p&gt;
&lt;h3 id=&#34;windows-11-apps&#34;&gt;Windows 11 Apps&lt;/h3&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;PowerShell Display Name&lt;/th&gt;
&lt;th&gt;App name&lt;/th&gt;
&lt;th&gt;Notes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Clipchamp.Clipchamp&lt;/td&gt;
&lt;td&gt;Clipchamp&lt;/td&gt;
&lt;td&gt;New in 22H2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.549981C3F5F10&lt;/td&gt;
&lt;td&gt;Cortana&lt;/td&gt;
&lt;td&gt;No change&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;td&gt;No change&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;td&gt;No change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.DesktopAppInstaller&lt;/td&gt;
&lt;td&gt;winget&lt;/td&gt;
&lt;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.HEVCVideoExtension&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;td&gt;New in 22H2&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.RawImageExtension&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;td&gt;New in 22H2&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.ZuneMusic&lt;/td&gt;
&lt;td&gt;Media Player&lt;/td&gt;
&lt;td&gt;No change&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;td&gt;No change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MicrosoftCorporationII.QuickAssist&lt;/td&gt;
&lt;td&gt;Quick Assist&lt;/td&gt;
&lt;td&gt;New in 22H2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MicrosoftTeams&lt;/td&gt;
&lt;td&gt;Microsoft Teams&lt;/td&gt;
&lt;td&gt;No change&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;td&gt;No change&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;windows-10-apps&#34;&gt;Windows 10 Apps&lt;/h3&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;PowerShell Display Name&lt;/th&gt;
&lt;th&gt;App name&lt;/th&gt;
&lt;th&gt;Notes&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;td&gt;New in 2004&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;td&gt;No change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.DesktopAppInstaller&lt;/td&gt;
&lt;td&gt;winget&lt;/td&gt;
&lt;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.Messaging&lt;/td&gt;
&lt;td&gt;Messaging&lt;/td&gt;
&lt;td&gt;Removed in 2004&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.Microsoft3DViewer&lt;/td&gt;
&lt;td&gt;3D Viewer&lt;/td&gt;
&lt;td&gt;No change&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;td&gt;New in 21H1&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.MixedReality.Portal&lt;/td&gt;
&lt;td&gt;Mixed Reality Portal&lt;/td&gt;
&lt;td&gt;No change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.MSPaint&lt;/td&gt;
&lt;td&gt;Paint 3D&lt;/td&gt;
&lt;td&gt;No change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.Office.OneNote&lt;/td&gt;
&lt;td&gt;OneNote&lt;/td&gt;
&lt;td&gt;No change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.OneConnect&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;td&gt;Removed in 2004&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;td&gt;No change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.Print3D&lt;/td&gt;
&lt;td&gt;Print 3D&lt;/td&gt;
&lt;td&gt;Removed in 2004&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;td&gt;No change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.SkypeApp&lt;/td&gt;
&lt;td&gt;Skype&lt;/td&gt;
&lt;td&gt;No change&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;td&gt;No change&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;td&gt;New in 2004&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;td&gt;No change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.Wallet&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft.XboxApp&lt;/td&gt;
&lt;td&gt;Xbox Console Companion&lt;/td&gt;
&lt;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&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;td&gt;No change&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;configuration&#34;&gt;Configuration&lt;/h2&gt;
&lt;p&gt;Here’s a list of all the command line switches and example configurations.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Command Line Switch&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;-List&lt;/td&gt;
&lt;td&gt;The full path to the txt file listing the apps to remove.&lt;/td&gt;
&lt;td&gt;[path]apps.txt&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-Wim&lt;/td&gt;
&lt;td&gt;The full path to the wim file to remove the apps from.&lt;/td&gt;
&lt;td&gt;[path]install.wim&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-WimIndex&lt;/td&gt;
&lt;td&gt;The index number of the image to operate on.&lt;/td&gt;
&lt;td&gt;[number]&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-WimMountPath&lt;/td&gt;
&lt;td&gt;The full path to a folder that the wim file should be mounted to. If you do not configure this temp dir will be used.&lt;/td&gt;
&lt;td&gt;[path]&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-PCApps&lt;/td&gt;
&lt;td&gt;List apps that are currently installed on the system.&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-UserApps&lt;/td&gt;
&lt;td&gt;List apps that are currently installed for the user.&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-L&lt;/td&gt;
&lt;td&gt;The path to output the log file to.&lt;/td&gt;
&lt;td&gt;[path]&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-Uno&lt;/td&gt;
&lt;td&gt;Changes the script to remove all apps NOT listed in the apps.txt file.&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-PCOnly&lt;/td&gt;
&lt;td&gt;Only remove provisioned apps, does not take any action on the current users apps.&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-LogRotate&lt;/td&gt;
&lt;td&gt;Remove logs produced by the utility older than X days&lt;/td&gt;
&lt;td&gt;[number]&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-NoBanner&lt;/td&gt;
&lt;td&gt;Use this option to hide the ASCII art title in the console.&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-Help&lt;/td&gt;
&lt;td&gt;Display usage information. No arguments also displays help.&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;example&#34;&gt;Example&lt;/h2&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-txt&#34; data-lang=&#34;txt&#34;&gt;[path\]Remove-MS-Store-Apps.ps1 -List [path\]apps-to-remove.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;This will remove the apps in the txt file from your Windows installation for all users.&lt;/p&gt;
&lt;h2 id=&#34;change-log&#34;&gt;Change Log&lt;/h2&gt;
&lt;h3 id=&#34;2024-11-09-version-241109&#34;&gt;2024-11-09: Version 24.11.09&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added new &amp;lsquo;-Uno&amp;rsquo; option which removes ALL apps not in the specified text file. The text file becomes an &amp;ldquo;apps to keep&amp;rdquo; list, instead of an &amp;ldquo;apps to remove&amp;rdquo; list.&lt;/li&gt;
&lt;li&gt;Added new &amp;lsquo;-PCOnly&amp;rsquo; option which removes provisioned apps only. This will leave the apps for the current user untouched.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2023-04-28-version-230428&#34;&gt;2023-04-28: Version 23.04.28&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Minor improvement to update checker. If the internet is not reachable it silently errors out.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2023-04-24-version-230424&#34;&gt;2023-04-24: Version 23.04.24&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added script update checker - shows if an update is available in the log and console.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2022-06-14-version-220530&#34;&gt;2022-06-14: Version 22.05.30&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added checks and balances to help with configuration as I&amp;rsquo;m very aware that the initial configuration can be troublesome. Running the utility manually is a lot more friendly and step-by-step now.&lt;/li&gt;
&lt;li&gt;Added -Help to give usage instructions in the terminal. Running the script with no options will also trigger the -help switch.&lt;/li&gt;
&lt;li&gt;Cleaned user entered paths so that trailing slashes no longer break things or have otherwise unintended results.&lt;/li&gt;
&lt;li&gt;Added -LogRotate [days] to removed old logs created by the utility.&lt;/li&gt;
&lt;li&gt;Streamlined config report so non configured options are not shown.&lt;/li&gt;
&lt;li&gt;Added donation link to the ASCII banner.&lt;/li&gt;
&lt;li&gt;Cleaned up code, removed unneeded log noise.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2022-04-26-version-220426&#34;&gt;2022-04-26: Version 22.04.26&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added -PCApps switch to list all MS Store apps on the system.&lt;/li&gt;
&lt;li&gt;Added -UserApps switch to list all MS Store apps installed for the user.&lt;/li&gt;
&lt;li&gt;Added -Help to give usage instructions in the terminal. Also running the script with no options will also trigger the -help switch.&lt;/li&gt;
&lt;li&gt;Streamlined config report so non configured options are not shown.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2022-04-22-version-220422&#34;&gt;2022-04-22: Version 22.04.22&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;If the -WimMountPath is not configured by the user then the default Windows temp folder will be used instead.&lt;/li&gt;
&lt;li&gt;If the -WimMountPath is configured by the user but the path does not exist, it will be created.&lt;/li&gt;
&lt;li&gt;Added a -LogRotate option to delete logs older than X number of days.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2022-03-27-version-220327&#34;&gt;2022-03-27: Version 22.03.27&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Utility now ignores blanks lines in Apps list file.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2021-12-08-version-211208&#34;&gt;2021-12-08: Version 21.12.08&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Configured logs path now is created, if it does not exist.&lt;/li&gt;
&lt;li&gt;Added OS version info.&lt;/li&gt;
&lt;li&gt;Added Utility version info.&lt;/li&gt;
&lt;li&gt;Added Hostname info.&lt;/li&gt;
&lt;li&gt;Changed a variable to prevent conflicts with future PowerShell versions.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2021-09-07-version-070921&#34;&gt;2021-09-07: Version 07.09.21&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added ability to remove apps from offline images.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2020-03-13-version-200313-cool&#34;&gt;2020-03-13: Version 20.03.13 ‘Cool’&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Refactored code.&lt;/li&gt;
&lt;li&gt;Backwards compatible.&lt;/li&gt;
&lt;li&gt;Added logging.&lt;/li&gt;
&lt;li&gt;Added config report when ran.&lt;/li&gt;
&lt;li&gt;Added ASCII banner art when run in the console.&lt;/li&gt;
&lt;li&gt;Added option to disable the ASCII banner art.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2019-12-03-v20&#34;&gt;2019-12-03 v2.0&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;First public release.&lt;/li&gt;
&lt;/ul&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Microsoft Store Apps</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>PowerShell Utility</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows 11</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>The Tale of the Fail of Google Stadia</title>
        <link>https://gal.vin/posts/old/the-tale-of-the-fail-of-google-stadia/</link>
        <pubDate>Wed, 27 Nov 2019 12:12:38 +0000</pubDate>
        
        <atom:modified>Wed, 27 Nov 2019 12:12:38 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/the-tale-of-the-fail-of-google-stadia/</guid>
        <description>Disclaimer: This isn&amp;rsquo;t my personal experience with Stadia as I&amp;rsquo;ve haven&amp;rsquo;t tried it myself, either during it&amp;rsquo;s beta phase or in its current state.
xCloud and Stadia comparisons: xCloud currently only streams to phones and tablets running Android and is in a preview phase. Stadia has had a preview phase, which was available as an invite-only beta, using Google Chrome and playing Ubisoft&amp;rsquo;s Assassin’s Creed Odyssey, and is now a released product and service.</description>
        <content:encoded>&lt;p&gt;Disclaimer: This isn&amp;rsquo;t my personal experience with Stadia as I&amp;rsquo;ve haven&amp;rsquo;t tried it myself, either during it&amp;rsquo;s beta phase or in its current state.&lt;/p&gt;
&lt;p&gt;xCloud and Stadia comparisons: xCloud currently only streams to phones and tablets running Android and is in a preview phase. Stadia has had a preview phase, which was available as an invite-only beta, using Google Chrome and playing Ubisoft&amp;rsquo;s Assassin’s Creed Odyssey, and is now a released product and service. In summary the problem with Stadia is that:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Google charged money.&lt;/li&gt;
&lt;li&gt;Over promised and under delivered.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;When I watched the &lt;a href=&#34;https://youtu.be/nUih5C5rOrA&#34;&gt;Google Stadia announcement&lt;/a&gt; I have to admit I was sceptical but hopeful. As with most technology press conferences it was extremely well polished, clean and full of promise. What was announced didn&amp;rsquo;t necessarily seem out of reach in the near future to those with enough bandwidth, but it did seem unclear who exactly the service was for in the here and now. To me, it felt like Google setting themselves up for the future. They certainly understand infrastructure (and advertising, for that matter) but they aren&amp;rsquo;t generally associated with the video game industry. The launch of Stadia looked from the outside to be muddled and unclear. The initial list of games available at launch was small, but it appears that &lt;a href=&#34;https://www.pocketgamer.biz/news/72006/google-stadia-launches-today/&#34;&gt;at the last minute a few more to the list.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The early backers of the service &lt;a href=&#34;https://www.theverge.com/2019/11/19/20973139/google-stadia-launch-codes-founder-unique-name-cloud-gaming&#34;&gt;weren&amp;rsquo;t getting their emails with codes or controllers&lt;/a&gt; on the day of launch despite pre-ordering, and then others who ordered more recently were getting theirs. Google were quite boastful about the capabilities of Stadia at launch, but since then &lt;a href=&#34;https://www.forbes.com/sites/paultassi/2019/11/14/google-stadia-sure-is-launching-without-a-whole-lot-of-features-or-games/#1ff227e6424d&#34;&gt;a lot of features have been pushed back&lt;/a&gt; to &amp;lsquo;shortly after launch&amp;rsquo; or 2020 and the current games don&amp;rsquo;t appear to be performing as well or looking as good as Google said they would.&lt;/p&gt;
&lt;p&gt;Recently Google released &lt;a href=&#34;https://www.eurogamer.net/articles/2019-11-25-google-issues-statement-after-stadia-owners-say-it-broke-promises-over-game-performance&#34;&gt;a statement commenting on this&lt;/a&gt; and putting the responsibility of this on the developers, which seems like a bit of a backstab to the devs who are supporting the platform at launch. The free version of Stadia is going to be available later in 2020. I feel Google are using this time as a beta phase, and charging people for the opportunity to be testers. I think Stadia might well be worth waiting for and trying out for free, although that only means no monthly subscription, you&amp;rsquo;ll still have to buy games individually and separately, unless they make some changes. Google are not a small start-up (remember &lt;a href=&#34;https://en.wikipedia.org/wiki/OnLive&#34;&gt;OnLive&lt;/a&gt;?) and haven&amp;rsquo;t been for well over a decade now, and yet they (and other large corporations worth billions of dollars) still behave and launch products like they are &amp;lsquo;a scrappy start-up&amp;rsquo; and &amp;lsquo;still figuring things out&amp;rsquo;. Game streaming tech &lt;em&gt;is&lt;/em&gt; new and I fully believe they are still figuring it out, and that&amp;rsquo;s fine in itself. The only comparison between xCloud and Stadia that I&amp;rsquo;m going to make here is that xCloud didn&amp;rsquo;t go and boast about how amazing and revolutionary it is and charge money for the privilege of helping them figure it out and test it.&lt;/p&gt;
&lt;p&gt;Hopefully Stadia does become something great and introduce new people to gaming, but &lt;a href=&#34;https://killedbygoogle.com/&#34;&gt;Google&amp;rsquo;s track record on supporting products isn&amp;rsquo;t great.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;-Mike&lt;/p&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Personal</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Installing Microsoft Deployment Toolkit and Deploying Windows 10 - From Scratch!</title>
        <link>https://gal.vin/posts/old/installing-microsoft-deployment-toolkit-and-deploying-windows-10-from-scratch/</link>
        <pubDate>Mon, 25 Nov 2019 20:46:34 +0000</pubDate>
        
        <atom:modified>Mon, 25 Nov 2019 20:46:34 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/installing-microsoft-deployment-toolkit-and-deploying-windows-10-from-scratch/</guid>
        <description>If you&amp;rsquo;ve read my other posts you&amp;rsquo;ll know that usually I make a post focusing on building a reference image and then another post on deploying that image.
This post is very similar but I&amp;rsquo;m going to streamline things by just covering the installation of MDT, and deploying Windows 10 1909. I have also recently published a video walkthrough covering this.
What you&amp;rsquo;ll need:
 A server to host the MDT share.</description>
        <content:encoded>&lt;p&gt;If you&amp;rsquo;ve read my other posts you&amp;rsquo;ll know that usually I make a post focusing on building a reference image and then another post on deploying that image.&lt;/p&gt;
&lt;p&gt;This post is very similar but I&amp;rsquo;m going to streamline things by just covering the installation of MDT, and deploying Windows 10 1909. I have also recently published &lt;a href=&#34;https://youtu.be/IRBOqPEPmLw&#34;&gt;a video walkthrough&lt;/a&gt; covering this.&lt;/p&gt;
&lt;p&gt;What you&amp;rsquo;ll need:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A server to host the MDT share.&lt;/li&gt;
&lt;li&gt;A client PC, or the MDT server above to install the tools.&lt;/li&gt;
&lt;li&gt;A VM to test the install task sequence.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This walkthrough will cover installing the tools on a client PC and then the MDT deployment share will be hosted on a server. 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://developer.microsoft.com/en-us/windows/hardware/windows-assessment-deployment-kit&#34;&gt;Windows 10 1903 Assessment and Deployment Kit (ADK)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://go.microsoft.com/fwlink/?linkid=2095334&#34;&gt;Windows System Image Manager (WSIM) 1903 update&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install&#34;&gt;Windows PE add-on for the ADK&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;Windows 10 1909 x64 ISO &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;h3 id=&#34;installing-microsoft-deployment-toolkit-and-dependencies&#34;&gt;Installing Microsoft Deployment Toolkit and Dependencies&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;First we&amp;rsquo;ll install the Windows 10 1903 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 Select the features you want to install screen select:
&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;Install WinPE by running the adkwinpesetup.exe. There is no specific configuration during the install wizard.&lt;/li&gt;
&lt;li&gt;Install MDT by running the MicrosoftDeploymentToolkit_x64.msi. There is no specific configuration during the install wizard.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;install-the-windows-system-image-manager-update&#34;&gt;Install the Windows System Image Manager Update&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Unzip the archive containing the WSIM 1903 fix.&lt;/li&gt;
&lt;li&gt;Copy the two files: ImageCat.exe and ImgMgr.exe to the location the ADK is installed to. The default location is: C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\WSIM.&lt;/li&gt;
&lt;li&gt;After installation you will still not be able to access WSIM through MDT. You will need to load WSIM from the Start Menu then open the XML file for the Operating System you wish to change. The XML answer file will be located in \\server\deploymentshare$\Control\Task-Sequence-ID\Unattend.xml.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;creating-the-deployment-share&#34;&gt;Creating the Deployment Share&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Go to the server that will host the deployment share.&lt;/li&gt;
&lt;li&gt;Create a folder called DeploymentShare.&lt;/li&gt;
&lt;li&gt;Share the folder by right-clicking on the folder and go to Properties &amp;gt; Sharing &amp;gt; Advanced Sharing.&lt;/li&gt;
&lt;li&gt;Tick the Share this folder check box.&lt;/li&gt;
&lt;li&gt;Enter DeploymentShare$ as the Share name. We do this so the share is hidden.&lt;/li&gt;
&lt;li&gt;Go to Permissions, remove Everyone.&lt;/li&gt;
&lt;li&gt;Add Domain Users and leave the permissions as Allow Read. Add Domain Admins and check Allow Full Control permissions.&lt;/li&gt;
&lt;li&gt;Go back on the client PC where the MDT tools installed.&lt;/li&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;Under Deployment share path enter the UNC path: \\server\DeploymentShare$&lt;/li&gt;
&lt;li&gt;Enter a description in the Deployment share description text field.&lt;/li&gt;
&lt;li&gt;On the Options screen, accept the defaults as we&amp;rsquo;ll change them later.&lt;/li&gt;
&lt;li&gt;Complete the wizard to create the share.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;adding-an-operating-system&#34;&gt;Adding an Operating System&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Mount the Windows 10 1909 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 10 1909 x64 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 10 1909 x64 and complete the wizard.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;adding-packages&#34;&gt;Adding Packages&lt;/h3&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 10 1909 x64.&lt;/li&gt;
&lt;li&gt;Go to the website &lt;a href=&#34;https://www.catalog.update.microsoft.com&#34;&gt;catalog.update.microsoft.com&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Search for Windows 10 version 1909.&lt;/li&gt;
&lt;li&gt;Download the latest Cumulative Update for Windows 10 1909 x64.&lt;/li&gt;
&lt;li&gt;Download the latest Servicing Stack Update for Windows 10 x64.&lt;/li&gt;
&lt;li&gt;Create a folder and put both update files in the folder.&lt;/li&gt;
&lt;li&gt;Go to Deployment Workbench &amp;gt; Packages.&lt;/li&gt;
&lt;li&gt;Right-click on the folder Windows 10 1909 x64.&lt;/li&gt;
&lt;li&gt;Select Import Packages.&lt;/li&gt;
&lt;li&gt;In the Package source directory enter the path to the new folder we created containing the updates.&lt;/li&gt;
&lt;li&gt;Click Next and complete the wizard.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now we&amp;rsquo;ll create a selection profile so that the task sequence only installs updates for Windows 10 1909 x64.&lt;/p&gt;
&lt;h3 id=&#34;creating-a-selection-profile&#34;&gt;Creating A Selection Profile&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Expand the 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 10 1909 x64.&lt;/li&gt;
&lt;li&gt;On the Folders page, tick the Windows 10 1909 x64 folder under Packages and complete the wizard.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;importing-applications&#34;&gt;Importing Applications&lt;/h3&gt;
&lt;p&gt;Here I&amp;rsquo;m going to cover how to add Microsoft Office 2016, but the method is the same for all applications.&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: Microsoft Office 2016.&lt;/li&gt;
&lt;li&gt;Enter the Source directory of the installation files.&lt;/li&gt;
&lt;li&gt;Enter the Destination directory: Microsoft Office 2016.&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;h3 id=&#34;configuring-microsoft-office-2016-in-mdt&#34;&gt;Configuring Microsoft Office 2016 in MDT&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Right click on Microsoft Office 2016, go to the Office Products Tab.&lt;/li&gt;
&lt;li&gt;Choose the desired Office Product to Install from the drop down menu.&lt;/li&gt;
&lt;li&gt;Check the desired Office language.&lt;/li&gt;
&lt;li&gt;Enter a product key, unless you will be activating Office via KMS in which case leave the Product Key option unchecked.&lt;/li&gt;
&lt;li&gt;Check the Customer name option and enter the desired information.&lt;/li&gt;
&lt;li&gt;Check the Display level option and select None in the drop down menu.&lt;/li&gt;
&lt;li&gt;Check the Accept EULA option.&lt;/li&gt;
&lt;li&gt;Check the Always suppress reboot option.&lt;/li&gt;
&lt;li&gt;Click Apply.&lt;/li&gt;
&lt;li&gt;Go to the Details tab and the Quiet install command should now read:&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;/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;setup.exe /config proplus.ww\config.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;Microsoft Office is now set up to be installed silently by a task sequence. This process can also be done for Microsoft Visio and Project 2016. If you wish to customise the installation to a greater degree, the Office Customization Tool can be launched from the Office Products tab. This only works with the Office 2016 family of products. Office 365 and 2019 do not support this method and should be installed like a regular application. To customise Office 365 and 2019, check out my post: &lt;a href=&#34;https://gal.vin/posts/old/deploying-office-2019-office-365/&#34;&gt;Deploying Office 2019 or Office 365.&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;adding-third-party-applications&#34;&gt;Adding Third-party Applications&lt;/h3&gt;
&lt;p&gt;To add other popular third party software, you&amp;rsquo;ll need to repeat the steps above with the relevant Command line to execute a silent install. You&amp;rsquo;ll also need to fill in the Working directory: .\Applications\App-name&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;&lt;a href=&#34;https://www.videolan.org&#34;&gt;VLC Player&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;VLC.exe /S&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://www.7-zip.org/&#34;&gt;7-Zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;msiexec.exe /i 7zip.msi /qn&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;We now need to create a new task sequence to deploy Windows 10 along with the applications.&lt;/p&gt;
&lt;h3 id=&#34;creating-a-task-sequence&#34;&gt;Creating a Task Sequence&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In Deployment Workbench, go to Task Sequences.&lt;/li&gt;
&lt;li&gt;Right click and select New Task Sequence.&lt;/li&gt;
&lt;li&gt;For the ID enter: W10-1909-A.&lt;/li&gt;
&lt;li&gt;Name it Deploy Windows 10 1909 x64 Edition.&lt;/li&gt;
&lt;li&gt;Select Standard Client Task Sequence.&lt;/li&gt;
&lt;li&gt;Select the Operating System Windows 10 1909 x64 Edition.&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;Go to the Task Sequence tab on the Properties window of the Task Sequence.&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;Expand the Preinstall folder, and select the Apply Patches item.&lt;/li&gt;
&lt;li&gt;Change the Selection Profile to Windows 10 1909 x64.&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;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 Microsoft Office 2016 and change the name Install Applications to Microsoft Office 2016.&lt;/li&gt;
&lt;li&gt;To install other Applications, copy and paste the Install Applications item and repeat the previous steps.&lt;/li&gt;
&lt;li&gt;Click Apply and close the task sequence.&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 login and skip the welcome screen, so these should only be used for lab or closed development environments.&lt;/p&gt;
&lt;h3 id=&#34;configuring-bootstrapini&#34;&gt;Configuring Bootstrap.ini&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;In 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\DeploymentShare$
SkipBDDWelcome=YES
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h3 id=&#34;configuring-customsettingsini&#34;&gt;Configuring CustomSettings.ini&lt;/h3&gt;
&lt;p&gt;The settings below need some explanation. The [Virtual Machine] section is regarding driver installs which we&amp;rsquo;ll cover later in this post.&lt;/p&gt;
&lt;p&gt;The JoinDomain= section is important. Here I&amp;rsquo;ve put the account sysadmin to use as the account to join the device being imaged to the domain contoso.com. The account entered here must have the relevant permissions to join a device to the domain.&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 using the recommended resolution Windows receives from the display. 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;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Model, Default, SetOSD
Properties=OSDPrefix
 
[Virtual Machine]
DriverGroup001=Virtual Machine
DriverSelectionProfile=nothing
OSDComputerName=%TaskSequenceID%
 
[Default]
_SMSTSORGNAME=Deployment Share
_SMSTSPackageName=%TaskSequenceName%
 
OSInstall=Y
SkipCapture=YES
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES
 
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
 
JoinDomain=contoso.com
DomainAdminDomain=contoso.com
DomainAdmin=sysadmin
DomainAdminPassword=lamepassword
MachineObjectOU=OU=PCs,DC=contoso,DC=com
 
SkipUserData=YES
SkipDomainMembership=YES
SkipLocaleSelection=YES
SkipTimeZone=YES
SkipSummary=YES
SkipFinalSummary=YES
FinishAction=SHUTDOWN
WSUSServer=http://SERVER-NAME:8530
SLShare=\\SERVER-NAME\DeploymentShare$\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 in order to boot the VM into WinPE for deployment.&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 located in the Boot folder in the Deployment Share. Go to the server that is hosting the deployment share and navigate to the boot folder. Inside there should be a file named LiteTouchPE_x64.iso. Copy this file to a location where a virtual machine will be able to access it. Create a new VM 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;2x vCPUs&lt;/li&gt;
&lt;li&gt;4GB of RAM&lt;/li&gt;
&lt;li&gt;Network Adapter with access the local network.&lt;/li&gt;
&lt;li&gt;Virtual Hard Drive of at least 40GB, preferably on an SSD.&lt;/li&gt;
&lt;li&gt;Boot from CD using the LiteTouchPE_x64.iso from MDT.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;Start the VM and it will boot from the LiteTouchPE_x64.iso into WinPE.&lt;/li&gt;
&lt;li&gt;You will be presented with a login screen. Here you should login with Active Directory credentials that have access to the deployment share.&lt;/li&gt;
&lt;li&gt;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.&lt;/li&gt;
&lt;li&gt;You&amp;rsquo;ll be prompted to enter a Computer Name.&lt;/li&gt;
&lt;li&gt;Click Next and the task sequence will begin.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The task sequence will install Windows 10 1909. Windows Update will run and install updates from the WSUS server and the VM will be added to the Active Directory domain. When this process completes the VM will shut down. Boot up the VM and check to see if it has successfully joined the domain and has all the applications installed.&lt;/p&gt;
&lt;h3 id=&#34;driver-management&#34;&gt;Driver Management&lt;/h3&gt;
&lt;p&gt;In this section we&amp;rsquo;re going to configure how drivers are managed during deployment. There are a few ways to do this, here I&amp;rsquo;ll show the method I&amp;rsquo;ve been using which has worked very well for a variety of manufactures and models of devices.&lt;/p&gt;
&lt;p&gt;The first thing you&amp;rsquo;ll need is the model numbers for all the devices you want to deploy to. You can find this out by booting the device in to its current version of Windows or the deployment environment using the LiteTouch_x64.iso boot disc or PXE booting. I haven&amp;rsquo;t covered PXE booting in this post but here&amp;rsquo;s a previous post I wrote on how to setup PXE booting for MDT: &lt;a href=&#34;https://gal.vin/posts/old/pxe-booting-for-mdt/&#34;&gt;PXE Booting for Microsoft Deployment Toolkit&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When the device is booted into WinPE, press F8 to get a command prompt, and type out the following 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-text&#34; data-lang=&#34;text&#34;&gt;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 command is the model number you&amp;rsquo;ll need.&lt;/p&gt;
&lt;p&gt;The next thing you&amp;rsquo;ll need is the drivers. I&amp;rsquo;ve found Windows 10 is good at installing missing drivers from Windows Update, but it can take some time and it would be better for the device to be running with all the drivers it needs once deployment has completed.&lt;/p&gt;
&lt;p&gt;Windows 10 tends to have some drivers built right in and I&amp;rsquo;ve found they are usually very stable, so I only add drivers to MDT that Windows 10 cannot find. Deploy the image to each type of device you have and use Device Manager to see what&amp;rsquo;s missing.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;re missing drivers, go to Settings &amp;gt; Windows Update and use Check online for updates from Microsoft Update which should find and install the relevant drivers. Then using the Update History and see what you need to find and import into MDT.&lt;/p&gt;
&lt;p&gt;Note: I recommend to avoid using WSUS to download and install drivers as it inflates the WSUS database, slowing WSUS down and making it difficult to manage.&lt;/p&gt;
&lt;p&gt;To import drivers into MDT you&amp;rsquo;ll need the INF files. Most large manufacturers do a decent job of providing drivers that can be used with MDT. Should you have difficulty with them you can use the &lt;a href=&#34;https://www.catalog.update.microsoft.com&#34;&gt;Microsoft Update Catalog&lt;/a&gt; to search for and download the specific drivers that Windows Update installs and use them with MDT. I use this method myself and although it can be time consuming, the results are worth it.&lt;/p&gt;
&lt;p&gt;Once you have the drivers you require, we need to add them to MDT.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the Deployment Workbench.&lt;/li&gt;
&lt;li&gt;Navigate to Deployment Share &amp;gt; Out-of-Box Drivers.&lt;/li&gt;
&lt;li&gt;Right click and select New Folder, call the folder Windows 10 x64.&lt;/li&gt;
&lt;li&gt;Right click on the Windows 10 x64 folder and select New Folder.&lt;/li&gt;
&lt;li&gt;Name the folder a human readable name for the model of device you&amp;rsquo;ll be adding drivers for.&lt;/li&gt;
&lt;li&gt;Right click on the folder you just created and create folders for each driver type you&amp;rsquo;ll be adding, e.g. Graphics, Chipset, Bluetooth.&lt;/li&gt;
&lt;li&gt;Right click on a driver type folder and select Import Drivers.&lt;/li&gt;
&lt;li&gt;Enter the source directory of the drivers for that driver type.&lt;/li&gt;
&lt;li&gt;Check the Import drivers even if they are duplicates of an existing driver check box.&lt;/li&gt;
&lt;li&gt;Click Next and complete the wizard. The wizard will copy all the files needed to the driver type folder.&lt;/li&gt;
&lt;li&gt;Repeat steps 7-10 for each driver type required.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;We now need to edit the CustomSettings.ini to configure the driver location for each model.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to the Deployment Workbench and right click on the Deployment Share, select Properties.&lt;/li&gt;
&lt;li&gt;Go to the Rules tab in the Properties window.&lt;/li&gt;
&lt;li&gt;Enter the text below under the [Settings] section but after the Properties.&lt;/li&gt;
&lt;li&gt;Once you&amp;rsquo;ve added in all the models required, click Apply to save the changes.&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;4
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[MODEL-NUMBER]
DriverGroup001=Windows 10 x64\Human-Readable-Model-Number
DriverSelectionProfile=nothing
OSDPrefix=PC
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;You&amp;rsquo;ll need to enter the above text for each model. Below is an example of my CustomSettings.ini for reference.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;15
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;16
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;17
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;18
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;19
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;20
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;21
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;22
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;23
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;24
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;25
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;26
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;[Settings]
Priority=Model, Default, SetOSD
Properties=OSDPrefix
 
[HP 250 G5 Notebook PC]
DriverGroup001=Windows 10 x64\HP 250 G3
DriverSelectionProfile=nothing
OSDPrefix=HP
 
[80J2]
DriverGroup001=Windows 10 x64\Lenovo E50
DriverSelectionProfile=nothing
OSDPrefix=LEN
 
[Virtual Machine]
DriverGroup001=Virtual Machine
DriverSelectionProfile=nothing
OSDPrefix=VM
 
[Default]
_SMSTSORGNAME=Deploy
_SMSTSPackageName=%TaskSequenceName%
UserDataLocation=NONE
ComputerBackupLocation=\\SERVER-NAME\Deploy$\Captures
OSDComputerName=%OSDPrefix%-%SerialNumber%
...
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;The deployment share is now configured to install drivers for the models specified.&lt;/p&gt;
&lt;p&gt;Boot the physical device into WinPE and run the task sequence. After it completes, check Device Manager and all devices should be successfully installed.&lt;/p&gt;
&lt;h3 id=&#34;adding-drivers-to-the-winpe-boot-media&#34;&gt;Adding Drivers to the WinPE Boot Media&lt;/h3&gt;
&lt;p&gt;It may be necessary to add drivers to the WinPE boot media for devices such as storage or network adaptors.&lt;/p&gt;
&lt;p&gt;To determine if drivers are required:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Boot the device in question into the deployment environment and press F8 to bring up a command prompt.&lt;/li&gt;
&lt;li&gt;Type ipconfig and if you have an IP address, you should not have to add network adaptor drivers&lt;/li&gt;
&lt;li&gt;Type diskpart, and when diskpart has loaded, type list disk. If the local hard drive is listed, you should not need to add storage drivers.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If you do need to add drivers to the boot image:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the Deployment Workbench, go to Deployment Share &amp;gt; Out-of-Box Drivers.&lt;/li&gt;
&lt;li&gt;Right click and select New Folder, call the folder WinPE x64.&lt;/li&gt;
&lt;li&gt;Right click on the WinPE x64 folder and select New Folder.&lt;/li&gt;
&lt;li&gt;Name the folder a suitable name for the model of device you&amp;rsquo;ll be adding drivers for.&lt;/li&gt;
&lt;li&gt;Right click on the folder you just created and create folders for each driver type you&amp;rsquo;ll be adding, e.g. Storage, Network.&lt;/li&gt;
&lt;li&gt;To import the drivers, right click on a driver type folder and select Import Drivers.&lt;/li&gt;
&lt;li&gt;Enter the source directory of the drivers and tick the Import drivers even if they are duplicates of an existing driver check box.&lt;/li&gt;
&lt;li&gt;Click Next and complete the wizard. The wizard will copy all the files needed to the driver type folder.&lt;/li&gt;
&lt;li&gt;Repeat steps 6-8 for each driver type required.&lt;/li&gt;
&lt;li&gt;Now we must create a Selection Profile for WinPE x64.&lt;/li&gt;
&lt;li&gt;Go to Advanced Configuration &amp;gt; Selection Profiles.&lt;/li&gt;
&lt;li&gt;Right click on Selection Profiles and select New Selection Profile.&lt;/li&gt;
&lt;li&gt;Enter WinPE x64 as the Selection profile name.&lt;/li&gt;
&lt;li&gt;In the folders list navigate to DS001:\ &amp;gt; Out-of-Box Drivers &amp;gt; WinPE x64 and check the box next to the folder.&lt;/li&gt;
&lt;li&gt;Click Next &amp;gt; Next &amp;gt; Finish to complete the wizard.&lt;/li&gt;
&lt;li&gt;Right click on the Deployment Share and select Properties.&lt;/li&gt;
&lt;li&gt;Go to the Windows PE tab and change the Platform drop down menu to x64.&lt;/li&gt;
&lt;li&gt;Go to the Drivers and Patches tab, and change the Selection profile drop down menu to WinPE x64.&lt;/li&gt;
&lt;li&gt;Make sure that Include only drivers of the following types is selected and both Include all network drivers in the selection profile and Include all mass storage drivers in the selection profile are checked.&lt;/li&gt;
&lt;li&gt;Click Apply to save the changes, click OK to close the Properties window.&lt;/li&gt;
&lt;li&gt;Right click the Deployment Share and select Update Deployment Share.&lt;/li&gt;
&lt;li&gt;Select Completely regenerate the boot images, and then Next. The boot images will be regenerated with the drivers included.&lt;/li&gt;
&lt;li&gt;Click Finish to complete the wizard.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The WinPE boot media should now have the network and/or storage drivers required.&lt;/p&gt;
&lt;p&gt;I take great care to test my ideas and make sure my articles are accurate before posting, however mistakes do slip through sometimes. If you have any questions or comments, please leave them below.&lt;/p&gt;
&lt;p&gt;I hope this article is useful to you. Please consider supporting my work with &lt;a href=&#34;https://www.paypal.me/digressive&#34;&gt;paypal&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;-Mike&lt;/p&gt;
</content:encoded>
        
        
        
        
        
          
            
              <category>Windows 10 1909 November 2019 Update (19H2)</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>First Impressions with Project xCloud Preview</title>
        <link>https://gal.vin/posts/old/first-impressions-with-project-xcloud-preview/</link>
        <pubDate>Sun, 24 Nov 2019 15:10:52 +0000</pubDate>
        
        <atom:modified>Sun, 24 Nov 2019 15:10:52 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/first-impressions-with-project-xcloud-preview/</guid>
        <description>For the last couple of days I&amp;rsquo;ve been trying out Microsoft&amp;rsquo;s Project xCloud game streaming service which is currently in preview. You can sign up to try it out yourself here. To get straight to it, the service has worked well for me. There have been some audio glitches, and in some situations - like scrolling around a world map, compression artifacts are very visible, but none of these issues have persisted.</description>
        <content:encoded>&lt;p&gt;For the last couple of days I&amp;rsquo;ve been trying out Microsoft&amp;rsquo;s Project xCloud game streaming service which is currently in preview. You can sign up to &lt;a href=&#34;https://www.xbox.com&#34;&gt;try it out yourself here&lt;/a&gt;. To get straight to it, the service has worked well for me. There have been some audio glitches, and in some situations - like scrolling around a world map, compression artifacts are very visible, but none of these issues have persisted. Input lag is almost invisible but I felt it whilst playing. I would say it felt like playing on a TV with game mode disabled. I had more trouble playing games due to the small screen of my phone (compared to the TV I usually play on) than due to the input lag. Here&amp;rsquo;s some background on the environment I&amp;rsquo;ve been testing with:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Internet connection: consumer Virgin Media fibre. 200 Mbps down, 20 Mbps up.&lt;/li&gt;
&lt;li&gt;Router: Netgear XR500.&lt;/li&gt;
&lt;li&gt;Wi-Fi connection: 5GHz with WPA2 encryption.&lt;/li&gt;
&lt;li&gt;Device: Samsung Galaxy S10+&lt;/li&gt;
&lt;li&gt;During testing streamed a 720p 60fps video from YouTube on another device.&lt;/li&gt;
&lt;li&gt;Some Wi-Fi interference around me.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To set up xCloud as an existing Xbox user it was very straight forward. I downloaded the Xbox Game Streaming Preview app from the Google Play store and paired my bluetooth Xbox One controller to my phone. I opened the app, signed in with my account and opened Hitman (2016) from the provided library of games. It took about 30 seconds to start the stream, the game then loaded, my saves synced and I was continuing my progress in the game. Really cool and straightforward. Here&amp;rsquo;s &lt;a href=&#34;https://youtu.be/euNSv4lDDtE&#34;&gt;video of my second session playing Forza Horizon 4.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Some background on me and my gaming preferences - I really don&amp;rsquo;t like input lag and so I prefer framerate over resolution or visual fidelity. I play on PC and Xbox One X. On the console I always set the game settings to performance over resolution when possible. I also have &amp;lsquo;game mode&amp;rsquo; enabled on my TV to reduce the input lag. For my initial tests I played Hitman (2016) and Forza Horizon 4. FH4 I&amp;rsquo;ve only played on Xbox One X at high frame rate, and Hitman (2016) I&amp;rsquo;ve been playing through again recently on Xbox One X, again at high frame rate settings. Both of these games ran well and were very playable. As I mentioned above I did feel some minor input lag but it was consistent. I haven&amp;rsquo;t tested using 4G yet, but I will update this article when I have.&lt;/p&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>Xbox</category>
            
          
        
        
        
      </item>
      

    
  </channel>
</rss>