<?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>Group Policy on gal.vin</title>
    <link>https://gal.vin/tags/group-policy/</link>
    <description>Recent content in Group Policy on gal.vin</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>&amp;copy;{year}, All Rights Reserved</copyright>
    <lastBuildDate>Tue, 14 Dec 2021 01:49:09 +0000</lastBuildDate>
    <sy:updatePeriod>daily</sy:updatePeriod>
    
        <atom:link href="https://gal.vin/tags/group-policy/index.xml" rel="self" type="application/rss+xml" />
    

      
      <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>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>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>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>Managing Windows Updates with Group Policy</title>
        <link>https://gal.vin/posts/old/managing-windows-updates-with-group-policy/</link>
        <pubDate>Thu, 26 Sep 2019 11:54:52 +0000</pubDate>
        
        <atom:modified>Thu, 26 Sep 2019 11:54:52 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/managing-windows-updates-with-group-policy/</guid>
        <description>In this post I&amp;rsquo;ll walk through how I manage and test the delivery of Windows Updates to all my clients and servers. I&amp;rsquo;ll also go through how I manage essential servers like Domain Controllers, Hyper-V hosts and I&amp;rsquo;ll touch on getting started with Cluster-Aware Updating. We&amp;rsquo;re going to group our machines into Clients and Servers, and then group each of those groups into Ring 1 and Ring 2. If you want, you can create more rings for more control, but generally I find two rings are sufficient.</description>
        <content:encoded>&lt;p&gt;In this post I&amp;rsquo;ll walk through how I manage and test the delivery of Windows Updates to all my clients and servers. I&amp;rsquo;ll also go through how I manage essential servers like Domain Controllers, Hyper-V hosts and I&amp;rsquo;ll touch on getting started with Cluster-Aware Updating. We&amp;rsquo;re going to group our machines into Clients and Servers, and then group each of those groups into Ring 1 and Ring 2. If you want, you can create more rings for more control, but generally I find two rings are sufficient.&lt;/p&gt;
&lt;h2 id=&#34;ring-1-testing&#34;&gt;Ring 1 Testing&lt;/h2&gt;
&lt;p&gt;Updates are initially approved here and installed on specially selected machines that you have chosen. For clients I&amp;rsquo;d suggest a cross section of users, preferably who are communicative and easy to work with. I find it helps if they have volunteered to begin your &lt;em&gt;victims&lt;/em&gt; beta testers. For servers, you&amp;rsquo;ll want a selection of non-critical servers running a variety of services.&lt;/p&gt;
&lt;h2 id=&#34;ring-2-general-availability&#34;&gt;Ring 2 General Availability&lt;/h2&gt;
&lt;p&gt;When updates have passed testing, they can be approved for general availability and installed on all clients and servers.&lt;/p&gt;
&lt;h2 id=&#34;special-note&#34;&gt;Special Note&lt;/h2&gt;
&lt;p&gt;I know that a lot of people have the viewpoint that they &amp;ldquo;&lt;em&gt;shouldn&amp;rsquo;t have to be testing Microsoft&amp;rsquo;s updates for them&lt;/em&gt;&amp;rdquo; and I can understand this frustration, but the reality is that currently the updates coming out have issues that aren&amp;rsquo;t being picked up by internal testing. So to look at it from a slightly different perspective; you&amp;rsquo;re not testing &lt;em&gt;for&lt;/em&gt; Microsoft, you&amp;rsquo;re doing your due diligence, testing for your systems to maximise up time and also reduce the stress and extra work that you and/or your team have to cope with.&lt;/p&gt;
&lt;h2 id=&#34;getting-started&#34;&gt;Getting Started&lt;/h2&gt;
&lt;p&gt;To put this all in place we need to create some Group Policy Objects, Active Directory groups and make some changes to WSUS. To Install and configure Active Directory Domain Controllers, &lt;a href=&#34;https://gal.vin/domain-controller-windows-server-core-walkthrough/&#34;&gt;click here.&lt;/a&gt; To install and configure WSUS, &lt;a href=&#34;https://gal.vin/wsus-windows-server-core-walkthrough/&#34;&gt;click here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Create the following Group Policy Objects:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;WSUS_General&lt;/li&gt;
&lt;li&gt;WSUS_Clients_Ring1&lt;/li&gt;
&lt;li&gt;WSUS_Servers_Ring1&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Create the following Active Directory groups:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;WSUS_Clients_Ring1&lt;/li&gt;
&lt;li&gt;WSUS_Clients_Ring2&lt;/li&gt;
&lt;li&gt;WSUS_Servers_Ring1&lt;/li&gt;
&lt;li&gt;WSUS_Servers_Ring2&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Create the follow computer groups in WSUS:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Clients - Ring 1&lt;/li&gt;
&lt;li&gt;Clients - Ring 2&lt;/li&gt;
&lt;li&gt;Servers - Ring 1&lt;/li&gt;
&lt;li&gt;Servers - Ring 2&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You&amp;rsquo;ll also need to change some options in WSUS: Under the Options node, go to Computers and select Use Group Policy or registry settings on computers.&lt;/p&gt;
&lt;h2 id=&#34;group-policy-object-settings&#34;&gt;Group Policy Object Settings&lt;/h2&gt;
&lt;p&gt;The WSUS_General GPO is where we will configure core settings that we want to apply to all computers regardless of which ring they will be in. Configure the following settings:&lt;/p&gt;
&lt;h2 id=&#34;computer-configurationpoliciesadministrative-templateswindows-componentsdelivery-optimization&#34;&gt;Computer Configuration/Policies/Administrative Templates/Windows Components/Delivery Optimization&lt;/h2&gt;
&lt;p&gt;&lt;em&gt;Download Mode&lt;/em&gt; &amp;gt; Enabled - Lan (1)&lt;/p&gt;
&lt;p&gt;Explanation: Enable the above setting to allow your clients and servers to download updates from each other. They will still only download and install updates that have been approved for their group, but it will lighten the load on your WSUS server.&lt;/p&gt;
&lt;h2 id=&#34;computer-configurationpoliciesadministrative-templateswindows-componentswindows-update&#34;&gt;Computer Configuration/Policies/Administrative Templates/Windows Components/Windows Update&lt;/h2&gt;
&lt;p&gt;&lt;em&gt;Specify intranet Microsoft update service location&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Set the intranet update service for detecting updates&lt;/em&gt; &amp;gt; &lt;code&gt;http://wsus.contoso.com:8530&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Set the intranet statistics server&lt;/em&gt; &amp;gt; &lt;code&gt;http://wsus.contoso.com:8530&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Set the alternate download server&lt;/em&gt; &amp;gt; &lt;code&gt;http://wsus.contoso.com:8530&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Download files with no Url in the metadata if alternate download server is set&lt;/em&gt; &amp;gt; Disabled&lt;/p&gt;
&lt;h2 id=&#34;client-group-policy-object-settings&#34;&gt;Client Group Policy Object Settings&lt;/h2&gt;
&lt;p&gt;We&amp;rsquo;re now going to configure the WSUS_Clients_Ring1 GPO. We&amp;rsquo;re going to use this GPO as a template for the other client ring GPOs too. The reason we&amp;rsquo;re not putting all these common settings in the general GPO above, is because these settings control the installation of updates and if we need to tweak them in future, we can test the settings first using the ring system.&lt;/p&gt;
&lt;p&gt;Configure the settings in the WSUS_Clients_Ring1 GPO as below:&lt;/p&gt;
&lt;p&gt;Computer Configuration/Policies/Administrative Templates/Windows Components/Windows Update&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Automatic Updates detection frequency&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Check for updates at the following interval (hours)&lt;/em&gt; &amp;gt; 4&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Configure Automatic Updates&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Configure automatic updating&lt;/em&gt; &amp;gt; 4 - Auto download and schedule the install&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Install during automatic maintenance&lt;/em&gt; &amp;gt; Disabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Scheduled install day&lt;/em&gt; &amp;gt; 0 - Every day&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Scheduled install time&lt;/em&gt; &amp;gt; 17:00&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Every week&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Install updates for other Microsoft products&lt;/em&gt; &amp;gt; Disabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Configure auto-restart reminder notifications for updates&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Specify the period for auto-restart reminder notifications&lt;/em&gt; &amp;gt; 60&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Enable client-side targeting&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Target group name for this computer&lt;/em&gt; &amp;gt; Clients - Ring 1&lt;/p&gt;
&lt;p&gt;&lt;em&gt;No auto-restart with logged on users for scheduled automatic updates installations&lt;/em&gt; &amp;gt; Disabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Specify deadline before auto-restart for update installation&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Specify the number of days before a pending restart will automatically be executed outside of active hours:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Quality Updates (days)&lt;/em&gt; &amp;gt; 7&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Feature Updates (days)&lt;/em&gt; &amp;gt; 7&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Turn off auto-restart for updates during active hours&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Active Hours Start&lt;/em&gt; &amp;gt; 8 AM&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Active Hours End&lt;/em&gt; &amp;gt; 5 PM&lt;/p&gt;
&lt;p&gt;Explanation: With the settings above, this should provide a good balance of getting updates installed without interrupting users. The active hours ensure that automatic reboots will not happen during these hours. Now we&amp;rsquo;re going to ensure that this GPO only applies to the clients we want it to by using Active Directory groups and Security Filtering on the GPO.&lt;/p&gt;
&lt;p&gt;Using Group Policy Management, go to Group Policy Objects &amp;gt; WSUS_Clients_Ring1 and click on the GPO.&lt;/p&gt;
&lt;p&gt;Select the Scope tab in the larger right hand pane, and under the Security Filtering section, remove the Authenticated Users group and add the WSUS_Clients_Ring1 group we created earlier.&lt;/p&gt;
&lt;p&gt;You might be wondering why we didn&amp;rsquo;t create the WSUS_Clients_Ring2 GPO above. We&amp;rsquo;re going to copy the WSUS_Clients_Ring1 and use it as a template.&lt;/p&gt;
&lt;p&gt;To copy the Group Policy, right-click on the WSUS_Clients_Ring1 and select Copy, then right-click on the Group Policy Objects node in the left hand side of the Group Policy Management console and select Paste.&lt;/p&gt;
&lt;p&gt;Specify the permissions for the new GPO and then click on OK.&lt;/p&gt;
&lt;p&gt;You will now have a GPO called Copy of WSUS_Clients_Ring1. Rename the GPO to WSUS_Clients_Ring2 and then edit it and change the setting below:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Target group name for this computer&lt;/em&gt; &amp;gt; Clients - Ring 2&lt;/p&gt;
&lt;h2 id=&#34;server-group-policy-object-settings&#34;&gt;Server Group Policy Object Settings&lt;/h2&gt;
&lt;p&gt;We&amp;rsquo;re now going to setup the WSUS_Servers_Ring1. Like the client GPO this as a template for the other server ring GPOs too. The reason we&amp;rsquo;re not putting all these common settings in the general GPO, is because these settings control the installation of updates and if we need to tweak them in future, we can test the settings first.&lt;/p&gt;
&lt;p&gt;Configure the settings in the WSUS_Servers_Ring1 GPO as below.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Allow Automatic Updates immediate installation&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Automatic Updates detection frequency&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Check for updates at the following interval (hours)&lt;/em&gt; &amp;gt; 4&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Configure Automatic Updates&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Configure automatic updating&lt;/em&gt; &amp;gt; 4 - Auto download and schedule the install&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Install during automatic maintenance&lt;/em&gt; &amp;gt; Disabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Scheduled install day&lt;/em&gt; &amp;gt; 0 - Every day&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Scheduled install time&lt;/em&gt; &amp;gt; 06:00&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Every week&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Install updates for other Microsoft products&lt;/em&gt; &amp;gt; Disabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Enable client-side targeting&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Target group name for this computer&lt;/em&gt; &amp;gt; Servers - Ring 1&lt;/p&gt;
&lt;p&gt;&lt;em&gt;No auto-restart with logged on users for scheduled automatic updates installations&lt;/em&gt; &amp;gt; Disabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Turn off auto-restart for updates during active hours&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Active Hours Start&lt;/em&gt; &amp;gt; 6AM&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Active Hours End&lt;/em&gt; &amp;gt; 11PM&lt;/p&gt;
&lt;p&gt;Explanation: With the settings above, the servers should reboot only when an update requires it and only outside of the active hours configured. It&amp;rsquo;s important to note that the Active Hours can only have a maximum range of 18 hours.&lt;/p&gt;
&lt;p&gt;Now just like the clients GPO we&amp;rsquo;re going to set up this GPO so it only applies to the servers we want it to by using Active Directory groups and Security Filtering on the GPO.&lt;/p&gt;
&lt;p&gt;Using Group Policy Management, go to Group Policy Objects &amp;gt; WSUS_Servers_Ring1 and click on the GPO. Select the Scope tab in the larger right hand pane, and under the Security Filtering section, remove the Authenticated Users group and add the WSUS_Servers_Ring1 group we created earlier.&lt;/p&gt;
&lt;p&gt;We&amp;rsquo;re now going to copy the WSUS_Servers_Ring1 and use it as a template for the ring 2 GPO. To copy the Group Policy, right-click on the WSUS_Servers_Ring1 and select Copy, then right-click on the Group Policy Objects node in the left hand side of the Group Policy Management console and select Paste.&lt;/p&gt;
&lt;p&gt;Specify the permissions for the new GPO and then click on OK. You will now have a GPO called Copy of WSUS_Servers_Ring1. Rename the GPO to WSUS_Servers_Ring2 and then edit it and change the setting below:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Target group name for this computer&lt;/em&gt; &amp;gt; Servers - Ring 2&lt;/p&gt;
&lt;h2 id=&#34;putting-it-all-together&#34;&gt;Putting It All Together&lt;/h2&gt;
&lt;p&gt;In Active Directory, find the computer accounts you want to use for testing updates and add them to the group WSUS_Clients_Ring1. Add all the other computer accounts to the WSUS_Clients_Ring2 group.&lt;/p&gt;
&lt;p&gt;Next add the servers that you are going top test updates on to the WSUS_Servers_Ring1 group, and the other servers to the WSUS_Servers_Ring2 group.&lt;/p&gt;
&lt;p&gt;Do not add Domain Controllers, Hyper-V hosts or servers that are in clusters, we&amp;rsquo;ll cover how to manage updates for these later on.&lt;/p&gt;
&lt;p&gt;Link the WSUS_General GPO to the most top level Organisational Unit(s) you can that contains the computer accounts you want to receive the settings.&lt;/p&gt;
&lt;p&gt;Now link the WSUS_Clients_Ring1 GPO to the OU(s). Only the computer accounts that are in the WSUS_Clients_Ring1 group will receive the settings.&lt;/p&gt;
&lt;p&gt;Repeat these steps for the WSUS_Clients_Ring2 GPO and the WSUS_Servers_Ring_1 &amp;amp; 2 GPOs.&lt;/p&gt;
&lt;p&gt;Over time (a reboot may be required for the settings to fully take effect) the clients and servers should begin to appear in the WSUS console under the Computers node in the configured groups.&lt;/p&gt;
&lt;h2 id=&#34;domain-controllers&#34;&gt;Domain Controllers&lt;/h2&gt;
&lt;p&gt;I separate domain controllers from the other servers because they need to have a staggered reboot from each other. If they reboot at the same time the whole domain goes down, and this is a bad thing not desirable. To do this I create GPOs for each DC, with different install times and I put the DCs in ring 2, so they only install updates which have been tested.&lt;/p&gt;
&lt;p&gt;Here are the settings for the WSUS_DC01_Ring2 GPO:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Allow Automatic Updates immediate installation&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Automatic Updates detection frequency&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Check for updates at the following interval (hours)&lt;/em&gt; &amp;gt; 4&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Configure Automatic Updates&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Configure automatic updating&lt;/em&gt; &amp;gt; 4 - Auto download and schedule the install&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Install during automatic maintenance&lt;/em&gt; &amp;gt; Disabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Scheduled install day&lt;/em&gt; &amp;gt; 0 - Every day&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Scheduled install time&lt;/em&gt; &amp;gt; 01:00&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Every week&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Install updates for other Microsoft products&lt;/em&gt; &amp;gt; Disabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Enable client-side targeting&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Target group name for this computer&lt;/em&gt; &amp;gt; Servers - Ring 2&lt;/p&gt;
&lt;p&gt;&lt;em&gt;No auto-restart with logged on users for scheduled automatic updates installations&lt;/em&gt; &amp;gt; Disabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Turn off auto-restart for updates during active hours&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Active Hours Start&lt;/em&gt; &amp;gt; 6 AM&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Active Hours End&lt;/em&gt; &amp;gt; 11 PM&lt;/p&gt;
&lt;p&gt;The GPO settings for WSUS_DC02_Ring2 are the same, except I set a different install time:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Scheduled install time&lt;/em&gt; &amp;gt; 02:00&lt;/p&gt;
&lt;p&gt;This gives DC01 an hour to install, restart and stabilize before DC02 installs its updates and restarts. We now need to link the GPOs to the DCs. One way we can accomplish this is by linking the GPOs to the Domain Controllers OU and set security filtering on the GPOs for each DC.&lt;/p&gt;
&lt;p&gt;So WSUS_DC01_Ring2 would have Authenticated Users removed from security filtering and the DC01$ computer account would be in its place.&lt;/p&gt;
&lt;p&gt;However, I&amp;rsquo;ve had trouble getting this to work recently. So, I&amp;rsquo;ve taken to creating an OU for each DC, and then linking the GPO to the OU and leaving Authenticated Users in the security filtering. See below:&lt;/p&gt;
&lt;p&gt;[&lt;img src=&#34;https://gal.vin/media/GPO-WSUS-Ring.webp&#34; alt=&#34;Group Policy for DCs&#34; /&gt;&lt;/p&gt;
&lt;p&gt;This may not be the best way to do it, but for a small number of DCs, I think it&amp;rsquo;s &lt;em&gt;good enough&lt;/em&gt;. For larger numbers of DCs (more than four I&amp;rsquo;d say), I&amp;rsquo;d recommend creating groups, and grouping up the DCs, as with running more than four DCs rebooting a couple at the same time shouldn&amp;rsquo;t be an issue.&lt;/p&gt;
&lt;h2 id=&#34;hyper-v-hosts&#34;&gt;Hyper-V Hosts&lt;/h2&gt;
&lt;p&gt;Like with Domain Controllers, I separate the Hyper-V hosts if they are not in a cluster. For the Hyper-V hosts I copy the WSUS_Servers_Ring2 GPO and set the install time setting to something that doesn&amp;rsquo;t conflict with the DCs or the other servers.&lt;/p&gt;
&lt;p&gt;Since Windows Server 2012 R2 there&amp;rsquo;s been a setting for updates to &lt;em&gt;Install during automatic maintenance&lt;/em&gt;. This sounds like a good idea as it installs updates and restarts at a random point within a period of time that you can set. Unfortunately, I&amp;rsquo;ve never been able to get it to work reliably on Windows Server 2016 and 2019, so I don&amp;rsquo;t use it.&lt;/p&gt;
&lt;p&gt;Here are the settings for my WSUS_VS01_Ring2 GPO:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Allow Automatic Updates immediate installation&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Automatic Updates detection frequency&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Check for updates at the following interval (hours)&lt;/em&gt; &amp;gt; 4&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Configure Automatic Updates&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Configure automatic updating&lt;/em&gt; &amp;gt; 4 - Auto download and schedule the install&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Install during automatic maintenance&lt;/em&gt; &amp;gt; Disabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Scheduled install day&lt;/em&gt; &amp;gt; 0 - Every day&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Scheduled install time&lt;/em&gt; &amp;gt; 03:00&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Every week&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Install updates for other Microsoft products&lt;/em&gt; &amp;gt; Disabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Enable client-side targeting&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Target group name for this computer&lt;/em&gt; &amp;gt; Servers - Ring 2&lt;/p&gt;
&lt;p&gt;&lt;em&gt;No auto-restart with logged on users for scheduled automatic updates installations&lt;/em&gt; &amp;gt; Disabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Turn off auto-restart for updates during active hours&lt;/em&gt; &amp;gt; Enabled&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Active Hours Start&lt;/em&gt; &amp;gt; 6 AM&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Active Hours End&lt;/em&gt; &amp;gt; 11 PM&lt;/p&gt;
&lt;p&gt;I don&amp;rsquo;t configure security filtering on this GPO, leaving Authenticated Users in place.&lt;/p&gt;
&lt;h2 id=&#34;cluster-aware-updating-cau&#34;&gt;Cluster-Aware Updating (CAU)&lt;/h2&gt;
&lt;p&gt;Cluster-Aware Updating is entirely different and doesn&amp;rsquo;t use Group Policy at all, except to disable Windows managing updates itself. To use Cluster-Aware Updating, open the application named Cluster-Aware Updating in the Windows Administration Tools and connect to the failover cluster you wish to manage.&lt;/p&gt;
&lt;p&gt;Once connected you can configure how you want updates to be installed and when just like with Group Policy, except CAU manages the installs and reboots for each node in a cluster, making sure the cluster stays up. One change you have to make when setting up Cluster-Aware Updating is disabling Windows from managing updates using GPO. To achieve this, it&amp;rsquo;s best if you have an Organisation Unit setup for each cluster, and all the AD objects for that cluster inside the OU. We&amp;rsquo;ll create a GPO named WSUS_Disabled_CAU and disable Automatic Updates entirely.&lt;/p&gt;
&lt;p&gt;Computer Configuration/Policies/Administrative Templates/Windows Components/Windows Update&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Configure Automatic Updates&lt;/em&gt; &amp;gt; Disable&lt;/p&gt;
&lt;p&gt;Link this GPO to the OU containing the cluster objects and now the cluster should install updates as configured in the Cluster-Aware Updating tool.&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>Windows Update</category>
            
          
            
              <category>Group Policy</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Cluster-Aware Updating</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Delving Into Disabling OneDrive</title>
        <link>https://gal.vin/posts/old/delving-into-disabling-onedrive/</link>
        <pubDate>Wed, 17 May 2017 13:57:58 +0000</pubDate>
        
        <atom:modified>Wed, 17 May 2017 13:57:58 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/delving-into-disabling-onedrive/</guid>
        <description>UPDATE 2017-11-07 After testing the method below on Windows 10 1703, I found that it wasn&amp;rsquo;t working as it did with 1607. To disable One Drive and remove the One Drive folder from the Navigation Pane of Windows Explorer, enable the group policy item: Computer Configuration/Policies/Administrative Templates/Windows Components/OneDrive/Prevent Usage of OneDrive for file storage and also set the following registry key from 1 to 0:
1 2  HKEY\_CLASSES\_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6} &amp;#34;System.IsPinnedToNameSpaceTree&amp;#34;=dword:00000000   Please note that the registry key must be set on a per user basis.</description>
        <content:encoded>&lt;h2 id=&#34;update-2017-11-07&#34;&gt;UPDATE 2017-11-07&lt;/h2&gt;
&lt;p&gt;After testing the method below on Windows 10 1703, I found that it wasn&amp;rsquo;t working as it did with 1607. To disable One Drive and remove the One Drive folder from the Navigation Pane of Windows Explorer, enable the group policy item: Computer Configuration/Policies/Administrative Templates/Windows Components/OneDrive/Prevent Usage of OneDrive for file storage and also set the following registry key from 1 to 0:&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;HKEY\_CLASSES\_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}
&amp;#34;System.IsPinnedToNameSpaceTree&amp;#34;=dword:00000000
&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 that the registry key must be set on a per user basis. You can set it via a log in script. For my environment, I customise the Default Profile, so I edit the registry in the Task Sequence which sets the option for all future profiles created after deployment.&lt;/p&gt;
&lt;h2 id=&#34;original-post&#34;&gt;Original post&lt;/h2&gt;
&lt;p&gt;Disabling OneDrive for Windows 10 (and previous versions for that matter) is a relatively easy task to accomplish, but if you&amp;rsquo;re doing some profile customisation and setting the &amp;ldquo;CopyProfile&amp;rdquo; option in the Unattend.xml then you&amp;rsquo;ll need to do some extra work to make sure that it&amp;rsquo;s disabled, and hidden as expected. The first thing to do is to set the Group Policy option to disable OneDrive. It&amp;rsquo;s a computer only option which you&amp;rsquo;ll find under &lt;code&gt;Computer Configuration/Policies/Administrative Templates/Windows Components/OneDrive/Prevent Usage of OneDrive for file storage&lt;/code&gt; you&amp;rsquo;ll need to set the option to enabled.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://gal.vin/media/disable-onedrive.webp&#34; alt=&#34;Disable OneDrive&#34; /&gt;&lt;/p&gt;
&lt;p&gt;If your Windows 10 user profiles are created from the standard default profile then OneDrive should be disabled. When you logon you may see the OneDrive entry in the Navigation pane of Windows Explorer for a short time, but it should disappear eventually. If you are employing a different method creating profiles, either from a custom default profile being created and then copied via the CopyProfile setting in the Unattend.xml or another way, then you will need to make sure that the OneDrive first run setup is being run on login as the Group Policy setting only takes effect properly (removing the OneDrive entry from the Navigation bar) when this is done. For my environment I chose to do this during the deploy Task Sequence in MDT, after the Application Installs. I added the lines below into a batch script which I use to do a few small final tasks.&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;REG LOAD &amp;#34;hku\Default&amp;#34; &amp;#34;C:\Users\Default\NTUSER.DAT&amp;#34;
REG ADD HKU\Default\Software\Microsoft\Windows\CurrentVersion\Run /v OneDriveSetup /t REG\_SZ /d &amp;#34;C:\Windows\SysWOW64\OneDriveSetup.exe /thfirstsetup&amp;#34;
REG UNLOAD &amp;#34;hku\\Default&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 reason I&amp;rsquo;ve chosen to do this like is because during my build task sequence, options are set for the Administrator user, which when the image is captured and then deployed, the CopyProfile option copies the Administrator users profile and uses it for as the template for user profiles afterwards. The OneDrive setup first run  doesn&amp;rsquo;t carry over because it&amp;rsquo;s already run as the Administrator, so you have to restore it. I attempted to just enter the reg key during the very end of the build Task Sequence but it didn&amp;rsquo;t work. Only after setting it as in the batch file above, during the final steps or the deploy sequence did it work as intended. This is an oddly specific problem that I faced, hopefully my sharing it will help others.&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>Microsoft Deployment Toolkit</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
            
              <category>Windows Tweaks</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Customising the Start Menu and Taskbar with Windows 10 all versions incl. 1903/1909</title>
        <link>https://gal.vin/posts/old/customising-the-start-menu-and-taskbar-with-windows-10-1607/</link>
        <pubDate>Mon, 06 Feb 2017 23:57:52 +0000</pubDate>
        
        <atom:modified>Mon, 06 Feb 2017 23:57:52 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/customising-the-start-menu-and-taskbar-with-windows-10-1607/</guid>
        <description>This week I&amp;rsquo;ve gone pretty deep down the rabbit hole of automating the Start Menu and Taskbar layouts during an MDT Task Sequence.
Update 2017-05-02 This also works with Windows 10 1703 (Creators Update) As every device I&amp;rsquo;m deploying will have the same customisation I wanted to automate it during the build or deploy Task Sequence, rather than applying it via domain Group Policy to reduce limited network bandwidth, keep Group Policy as light as possible and reduce login times as much as possible.</description>
        <content:encoded>&lt;p&gt;This week I&amp;rsquo;ve gone pretty deep down the rabbit hole of automating the Start Menu and Taskbar layouts during an MDT Task Sequence.&lt;/p&gt;
&lt;h2 id=&#34;update-2017-05-02&#34;&gt;Update 2017-05-02&lt;/h2&gt;
&lt;p&gt;This also works with Windows 10 1703 (Creators Update) As every device I&amp;rsquo;m deploying will have the same customisation I wanted to automate it during the build or deploy Task Sequence, rather than applying it via domain Group Policy to reduce limited network bandwidth, keep Group Policy as light as possible and reduce login times as much as possible.&lt;/p&gt;
&lt;p&gt;Update to this post:&lt;a href=&#34;https://gal.vin/posts/old/w10-1607-start-menu-customisation-update/&#34;&gt;How to partially lock down the Start Menu.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A new and extremely welcome feature of Windows 10 1607 is the ability to customise the Taskbar layout, there&amp;rsquo;s a very good post &lt;a href=&#34;https://docs.microsoft.com/en-gb/windows/configuration/configure-windows-10-taskbar&#34;&gt;about it here.&lt;/a&gt; With this post in mind, I used one of my reference images and customised the Start Menu layout and exported it via everyone&amp;rsquo;s favourite 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;Export-StartLayout&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;StartLayout&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;As the TechNet post says, you can add the extra xml data necessary to configure the Taskbar layout, although in the end I did just write my own xml file from scratch.&lt;/p&gt;
&lt;p&gt;When deploying the customisation you may have missing icons, for example the Internet Explorer icon may be missing. This is most likely due to the location of the Internet Explorer.lnk file being a part of the users profile - customisation is applied before the file exists, so it&amp;rsquo;s removed. To work around this I recommend copying the Internet Explorer.lnk file to the %alluserprofile% Start Menu as part of your deployment and (as above) editing the StartLayout.xml file to reference the new location of the file. I recommend doing this for any .lnk files that aren&amp;rsquo;t in a public/all users location.&lt;/p&gt;
&lt;p&gt;If you intend on deploying this Start Menu/Taskbar layout customisation during the image build process via the Import-StartMenu PowerShell commandlet, then you may, as I did, encounter a problem. One of the final things my image build task sequence does is apply customisation to the Administrator users profile, which is then copied for use as the Default profile during the deploy Task Sequence, using the CopyProfile unattend.xml option. The problem is that by using the Import-StartLayout command, this only sets the layout for the Start Menu and Taskbar for new profiles created from that point on wards.&lt;/p&gt;
&lt;p&gt;The CopyProfile option does not set the Start Menu/Taskbar layout, as it&amp;rsquo;s not a part of the Administrators profile. So what do we do? Well, you can just set it via GPO and call it a day, but I absolutely wanted it to be a part of the image, so I looked into setting it as a local group policy option during the image build task sequence. This also failed to take effect when deploying the image. I&amp;rsquo;m led to believe (as silly as this might sound) that the reason for this is that the StartMenuLayout.xml that the group policy was configured to use needs to be newer than the OS deployment, as in the date stamp needs to be after. So what I finally did was copy the StartMenuLayout.xml file and set the local group policy option late during the deployment Task Sequence, thus the .xml file is &amp;ldquo;newer&amp;rdquo; than the OS install and the local group policy option ensures that the setting it applied for every user than logs on, without hitting domain Group Policy.&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>Microsoft Deployment Toolkit</category>
            
          
            
              <category>PowerShell</category>
            
          
            
              <category>Guide</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>Windows 10 1607 (Anniversary Update) opens msn.com at login and how to stop it.</title>
        <link>https://gal.vin/posts/old/windows-10-opens-msn-com-at-login/</link>
        <pubDate>Thu, 12 Jan 2017 22:01:34 +0000</pubDate>
        
        <atom:modified>Thu, 12 Jan 2017 22:01:34 +0000</atom:modified>
        <guid>https://gal.vin/posts/old/windows-10-opens-msn-com-at-login/</guid>
        <description>I thought about trying to find a better name for this post and this issue, but this is all I could come up with.
Update 2017-10-16: A few people have contacted me and made me aware that doing the reg hack below can prevent users from using Microsoft Office Clipart, so you should be aware of that before proceeding. Additionally, I&amp;rsquo;ve found that with Windows 10 1703 (Creators Update), allowing access to http://www.</description>
        <content:encoded>&lt;p&gt;I thought about trying to find a better name for this post and this issue, but this is all I could come up with.&lt;/p&gt;
&lt;p&gt;Update 2017-10-16: A few people have contacted me and made me aware that doing the reg hack below can prevent users from using Microsoft Office Clipart, so you should be aware of that before proceeding. Additionally, I&amp;rsquo;ve found that with Windows 10 1703 (Creators Update), allowing access to &lt;code&gt;http://www.msftconnecttest.com/redirect&lt;/code&gt; through your firewall/proxy will achieve the same thing without the reg hack and without preventing access to Microsoft Office Clipart. Please note though, it does not work with 1607.&lt;/p&gt;
&lt;p&gt;Original Post ANYWAY, I finally tracked down how to stop Windows 10 1607 (Anniversary Update) from opening the default browser with msn.com. There are no startup or login registry entries, Group Policy settings, Scheduled Tasks, or even programs in the Start Menu startup folder. This is *something* that Windows is doing itself. I&amp;rsquo;ve only encountered this issue on corporate networks, not on my home network, so I knew that some sort of authentication/proxy/filtering/firewall thing. I&amp;rsquo;ve also only had this issue with Windows 10 1607 (Anniversary Update), not 1511 (November Update) or 1507 (RTM).&lt;/p&gt;
&lt;p&gt;It seems that Windows 10 is probing the network to get out to the internet, hitting some sort of issue (I&amp;rsquo;m guessing that it&amp;rsquo;s authentication in my case) and then opening up the default browser and browsing to a Microsoft owned address that results in a redirect to &lt;code&gt;http://www.msn.com&lt;/code&gt;. In my case no authentication dialogue box pops up, it just browses to the site and appears to be happy with that. Weird. If it were only happening to &amp;ldquo;Admin&amp;rdquo; users I wouldn&amp;rsquo;t worry about it, but it happens to everyone! So, although not a cause for major concern or enough to halt my roll out of Windows 10 1607, I still wanted to fix it, if possible.&lt;/p&gt;
&lt;p&gt;After some research it appears a similar issue to this occurred with Windows 8. I never had this issue during my roll out of Windows 8 but the resolution appears to work for Windows 10 1607 as well. At this stage I don&amp;rsquo;t know if making this change causes any unforeseen problems, but I&amp;rsquo;ll add to this post if I see anything. Here&amp;rsquo;s how to prevent it. Using the registry editor, navigate to the location below, and change the &amp;ldquo;1&amp;rdquo; (enabled) to a &amp;ldquo;0&amp;rdquo; (disabled).&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\CurrentControlSet\Services\NlaSvc\Parameters\Internet\EnableActiveProbing
&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 should stop the browser from opening at login but Internet access should still be available. I hope this helps. If you&amp;rsquo;ve already done this and it&amp;rsquo;s caused another issue, please let me know in the comments or tweet me! You&amp;rsquo;ll probably want to roll this out to your Windows 10 clients, of course you can do it via Group Policy but as it&amp;rsquo;s a one time setting I would suggest adding it to the Task Sequence that builds your reference image.&lt;/p&gt;
&lt;h3 id=&#34;adding-the-registry-change-to-group-policy&#34;&gt;Adding the registry change to Group Policy&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Open Group Policy Management&lt;/li&gt;
&lt;li&gt;Navigate to Group Policy Objects&lt;/li&gt;
&lt;li&gt;Right click and Create or edit your Group Policy for your Windows 10 Clients&lt;/li&gt;
&lt;li&gt;Navigate to Computer Configuration &amp;gt; Preferences &amp;gt; Windows Settings &amp;gt; Registry&lt;/li&gt;
&lt;li&gt;Right click and go to New &amp;gt; Registry Item&lt;/li&gt;
&lt;li&gt;Under Key Path enter SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet&lt;/li&gt;
&lt;li&gt;Under Value name enter EnableActiveProbing&lt;/li&gt;
&lt;li&gt;The Value type should be REG_DWORD&lt;/li&gt;
&lt;li&gt;The Value data should be set to 00000000 - that&amp;rsquo;s six zeros for a Hexadecimal Base or you can just enter one zero for Decimal Base.&lt;/li&gt;
&lt;li&gt;Click OK to save the changes.&lt;/li&gt;
&lt;li&gt;If you created a new Group Policy Object, you will need to link it to an OU that contains the clients you want the GPO to affect. To do this right click the OU and select Link an existing Group Policy&amp;hellip; and then select the Group Policy you created earlier.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;adding-the-registry-change-to-a-task-sequence&#34;&gt;Adding the registry change to a Task Sequence&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Open Notepad and paste the following into it:&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;Windows Registry Editor Version 5.00
 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet]
&amp;#34;EnableActiveProbing&amp;#34;=dword:00000000
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;Save the file with any name you like, but it must have the extension .reg&lt;/li&gt;
&lt;li&gt;Copy the .reg file to your Deployment server. It needs to be accessible by the Task Sequence, so I put mine in E:\DeploymentShare\Applications\&lt;/li&gt;
&lt;li&gt;In the Task Sequence, you&amp;rsquo;ll want to add it before the Windows Update (Pre-Application Installation) item, so select that item first.&lt;/li&gt;
&lt;li&gt;Click the Add button at the top of the sequence, and go to General &amp;gt; Run Command Line.&lt;/li&gt;
&lt;li&gt;Select the new Run Command Line item and click the Up button at the top of the sequence to move it above the Windows Update (Pre-Application Installation) item.&lt;/li&gt;
&lt;li&gt;On the right hand side of the window, under Name, enter whatever you want, I called mine cmd - disable active probing&lt;/li&gt;
&lt;li&gt;Under Command Line enter REG IMPORT Z:\Applications\ActiveProbing.reg&lt;/li&gt;
&lt;li&gt;Click OK to save and close the Task Sequence and you&amp;rsquo;re done!&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;When you run the Task Sequence to create a reference image, the registry will be edited and during your build phase you won&amp;rsquo;t get any browser windows opening on login.&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>Windows 10 1607 Anniversary Update</category>
            
          
            
              <category>Group Policy</category>
            
          
            
              <category>Microsoft Deployment Toolkit</category>
            
          
            
              <category>Windows 10</category>
            
          
            
              <category>Windows Deployment</category>
            
          
            
              <category>Windows Tweaks</category>
            
          
        
        
        
      </item>
      

    
  </channel>
</rss>