<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Tips and Lessons From the Field</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/tips_and_lessons_from_field/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/tips_and_lessons_from_field/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:34:58 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Operations Manager 2012 R2 Agent on Domain Controllers cannot report to Management Server</title>
      <link>https://docs.microsoft.com/archive/blogs/tips_and_lessons_from_field/operations-manager-2012-r2-agent-on-domain-controllers-cannot-report-to-management-server</link>
      <pubDate>Sat, 02 May 2015 00:16:50 GMT</pubDate>
      <dc:creator><![CDATA[Henry_W]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/tips_and_lessons_from_field/2015/05/02/operations-manager-2012-r2-agent-on-domain-controllers-cannot-report-to-management-server/</guid>
      <description><![CDATA[One of my customers is working on a project to monitor all Active Directory domain controllers using...]]></description>
      <content:encoded><![CDATA[<p><strong>One of my customers is working on a project to monitor all Active Directory domain controllers using System Center 2012 R2 Operations Manager. He uses push installation to deploy Operations Manager 2012 R2 agent to all domain controllers. The agent installation is completed successfully, but the agent stays in &quot;Installation in Progress&quot; under Pending Management. I am able to reproduce the problem in my testing environment. Here is what it looks like. 
</strong></p><p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/metablogapi/050215_0730_OperationsM1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34-metablogapi/050215_5F00_0730_5F00_OperationsM1.png" alt=" " />
	</p><p>
 </p><p><strong>Event ID 20071 and 21016 are logged on the domain controller, complaining that it cannot communicate to the management server. 
</strong></p><p>
 </p><p><em>Log Name:      Operations Manager
</em></p><p><em>Source:        OpsMgr Connector
</em></p><p><em>Date:          5/2/2015 2:33:14 PM
</em></p><p><em>Event ID:      20071
</em></p><p><em>Task Category: None
</em></p><p><em>Level:         Error
</em></p><p><em>Keywords:      Classic
</em></p><p><em>User:          N/A
</em></p><p><em>Computer:      SG1DC02.contoso.azure
</em></p><p><em>Description:
</em></p><p><em>The OpsMgr Connector connected to OM12R2DEV02.contoso.azure, but the connection was closed immediately without authentication taking place.  The most likely cause of this error is a failure to authenticate either this agent or the server .  Check the event log on the server and on the agent for events which indicate a failure to authenticate.
</em></p><p>
 </p><p><em>Log Name:      Operations Manager
</em></p><p><em>Source:        OpsMgr Connector
</em></p><p><em>Date:          5/2/2015 2:33:19 PM
</em></p><p><em>Event ID:      21016
</em></p><p><em>Task Category: None
</em></p><p><em>Level:         Error
</em></p><p><em>Keywords:      Classic
</em></p><p><em>User:          N/A
</em></p><p><em>Computer:      SG1DC02.contoso.azure
</em></p><p><em>Description:
</em></p><p><em>OpsMgr was unable to set up a communications channel to OM12R2DEV02.contoso.azure and there are no failover hosts.  Communication will resume when OM12R2DEV02.contoso.azure is available and communication from this computer is allowed.
</em></p><p>
 </p><p>
 </p><p><strong>Since the management server is actually in the same domain as the domain controller, it doesn&#39;t make sense that Kerberos authentication could fail. Checking the Security Event Log on the management server reveals the problem: the domain controller &quot;<span style="background-color:red;">has not been granted the requested logon type at this machine.</span>&quot; 
</strong></p><p>
 </p><p><em>Log Name:      Security
</em></p><p><em>Source:        Microsoft-Windows-Security-Auditing
</em></p><p><em>Date:          5/2/2015 2:33:19 PM
</em></p><p><em>Event ID:      4625
</em></p><p><em>Task Category: Logon
</em></p><p><em>Level:         Information
</em></p><p><em>Keywords:      Audit Failure
</em></p><p><em>User:          N/A
</em></p><p><em>Computer:      OM12R2DEV02.contoso.azure
</em></p><p><em>Description:
</em></p><p><em>An account failed to log on.
</em></p><p>
 </p><p><em>Subject:
</em></p><p><em>    Security ID:        NULL SID
</em></p><p><em>    Account Name:        -
</em></p><p><em>    Account Domain:        -
</em></p><p><em>    Logon ID:        0x0
</em></p><p>
 </p><p><em>Logon Type:            3
</em></p><p>
 </p><p><em>Account For Which Logon Failed:
</em></p><p><em>    Security ID:        NULL SID
</em></p><p><em>    Account Name:        SG1DC02$
</em></p><p><em>    Account Domain:        CONTOSO.AZURE
</em></p><p>
 </p><p><em>Failure Information:
</em></p><p><em>    Failure Reason:        <span style="background-color:red;">The user has not been granted the requested logon type at this machine.</span>
		</em></p><p><em>    Status:            0xC000015B
</em></p><p><em>    Sub Status:        0x0
</em></p><p>
 </p><p><em>Process Information:
</em></p><p><em>    Caller Process ID:    0x0
</em></p><p><em>    Caller Process Name:    -
</em></p><p>
 </p><p><em>Network Information:
</em></p><p><em>    Workstation Name:    -
</em></p><p><em>    Source Network Address:    -
</em></p><p><em>    Source Port:        -
</em></p><p>
 </p><p><em>Detailed Authentication Information:
</em></p><p><em>    Logon Process:        Kerberos
</em></p><p><em>    Authentication Package:    Kerberos
</em></p><p><em>    Transited Services:    -
</em></p><p><em>    Package Name (NTLM only):    -
</em></p><p><em>    Key Length:        0
</em></p><p>
 </p><p><em>This event is generated when a logon request fails. It is generated on the computer where access was attempted.
</em></p><p>
 </p><p><em>The Subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
</em></p><p>
 </p><p><em>The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).
</em></p><p>
 </p><p>
 </p><p><strong>It turns out that the customer has a domain group policy similar as below, which only grants Administrators and Domain Computers group with the user right &quot;Access this computer from the network&quot;. Unfortunately, Domain Controllers are not members of Domain Computers group. And it causes the problem you see above. 
</strong></p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/metablogapi/050215_0730_OperationsM2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34-metablogapi/050215_5F00_0730_5F00_OperationsM2.png" alt=" " />
	</p><p>
 </p><p><strong>The solution is simple:  Add Domain Controllers group into local administrators group on each Management Servers. The customer will also discuss with his security team if the domain group policy should be modified to include Domain Controllers group in &quot;Access this computer from network&quot;. 
</strong></p><p>
 </p><p><strong>By the way, here is the default setting of &quot;Access this computer from the network&quot; policy. 
</strong></p><p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/metablogapi/050215_0730_OperationsM3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34-metablogapi/050215_5F00_0730_5F00_OperationsM3.png" alt=" " />
	</p><p>
 </p><p>
 </p><p>
 </p><p>
 </p><p>
 </p>]]></content:encoded>
    </item>
    <item>
      <title>Setup Operations Manager 2012 R2 with SQL AlwaysOn in Microsoft Azure</title>
      <link>https://docs.microsoft.com/archive/blogs/tips_and_lessons_from_field/setup-operations-manager-2012-r2-with-sql-alwayson-in-microsoft-azure</link>
      <pubDate>Sun, 05 Apr 2015 09:54:56 GMT</pubDate>
      <dc:creator><![CDATA[Henry_W]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/tips_and_lessons_from_field/2015/04/05/setup-operations-manager-2012-r2-with-sql-alwayson-in-microsoft-azure/</guid>
      <description><![CDATA[I was involved in a customer engagement for a high available design of Operations Manager 2012 R2....]]></description>
      <content:encoded><![CDATA[<p>I was involved in a customer engagement for a high available design of Operations Manager 2012 R2. The customer has 2 Data Center sites connected with high speed networks, but there is no storage replication between the sites. Obviously the solution will be multiple Management Servers with SQL Server AlwaysOn. 
</p><p>
 </p><p>Since Microsoft Azure starts supporting <a href="https://azure.microsoft.com/blog/2014/10/01/sql-server-alwayson-and-ilb/">SQL AlwaysOn Group Listener with Internal Load Balancing</a>, I can configure a testing environment in Azure to verify the design. The following articles include detailed steps on the SQL AlwaysOn configuration in Azure. 
</p><p>
 </p><p><a href="https://msdn.microsoft.com/en-us/library/azure/dn249504.aspx">Tutorial: AlwaysOn Availability Groups in Azure (GUI)</a>
	</p><p><a>Tutorial: Listener Configuration for AlwaysOn Availability Groups</a>
	</p><p>
 </p><p><strong>NOTE</strong>: <em>The SQL Server virtual machines must be in a separate cloud service from Operations Manager virtual machines. It is because &quot;Azure does not support direct server return with client and server in the same cloud service.&quot;</em>
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/metablogapi/040615_0801_SetupOperat1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34-metablogapi/040615_5F00_0801_5F00_SetupOperat1.png" alt=" " />
	</p><p>My AlwaysOn Availability Group and Listener are configured successfully, with some steps skipped from the articles, since I already have an Active Directory domain in Azure.  
</p><div><table style="border-collapse:collapse;" border="0"><colgroup><col style="width:468px;" /><col style="width:468px;" /></colgroup><tbody valign="top"><tr><td style="padding-left:12px;padding-right:12px;"><p style="text-align:center;"><strong>SQL Sever Management Studio</strong></p></td><td style="padding-left:12px;padding-right:12px;"><p style="text-align:center;"><strong>Failover Cluster Manager</strong></p></td></tr><tr><td style="padding-left:12px;padding-right:12px;"><p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/metablogapi/040615_0801_SetupOperat2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34-metablogapi/040615_5F00_0801_5F00_SetupOperat2.png" alt=" " /></p></td><td style="padding-left:12px;padding-right:12px;"><p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/metablogapi/040615_0801_SetupOperat3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34-metablogapi/040615_5F00_0801_5F00_SetupOperat3.png" alt=" " /></p></td></tr></tbody></table></div><p>
 </p><p>Here are several things I learnt when installing Operations Manager 2012 R2 with SQL AlwayOn. 
</p><ul><li><div><strong>Configure RegisterAllProvidersIP and HostRecordTTL setting
</strong></div><p>Operations Manager 2012 R2 doesn&#39;t support <strong>MultiSubnetFailover</strong> keyword. So I configured RegisterAllProvidersIP and HostRecordTTL settings using PowerShell script based the article below. 
</p><p>
 </p><p><a href="https://technet.microsoft.com/en-us/library/hh213080.aspx">Create or Configure an Availability Group Listener (SQL Server)</a>
			</p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="color:blue;">Get-ClusterResource</span>
					<span style="color:blueviolet;">SCAWOCAS</span>
					<span style="color:darkgray;">|</span>
					<span style="color:blue;">Set-ClusterParameter</span>
					<span style="color:blueviolet;">RegisterAllProvidersIP</span>
					<span style="color:purple;">0</span>
				</span></p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="color:blue;">Get-ClusterResource</span>
					<span style="color:blueviolet;">SCAWOCAS</span>
					<span style="color:darkgray;">|<span style="color:blue;">Set-ClusterParameter</span>
						<span style="color:blueviolet;">HostRecordTTL</span>
						<span style="color:purple;">300</span>
					</span></span></p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="color:blue;">Stop-ClusterResource</span>
					<span style="color:blueviolet;">SCAWOCAS</span>
				</span></p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="color:blue;">Start-ClusterResource</span>
					<span style="color:blueviolet;">SCAWOCAS 
</span></span></p><p style="background:white;">
 </p><p><strong>NOTE: </strong><em>The SQL Server Availability Group resource must be manually brought online after the above changes.</em>
			</p><p>
 </p></li><li><div><strong>Configure additional end point ports on Internal Load Balancer (ILB)
</strong></div><p>I saw the following error when configuring Operations Manager database. 
</p><p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/metablogapi/040615_0801_SetupOperat4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34-metablogapi/040615_5F00_0801_5F00_SetupOperat4.png" alt=" " />
			</p><p>The solution is to add additional 2 ports (135 and 445) on the ILB. I use the following PowerShell script to add the end point ports. 
</p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="color:darkgreen;"># Define variables</span>
				</span></p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="color:orangered;">$ServiceName</span>
					<span style="color:darkgray;">=</span>
					<span style="color:darkred;">&quot;sg1omawo&quot;</span>
					<span style="color:darkgreen;"># the name of the cloud service that contains the availability group nodes</span>
				</span></p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="color:orangered;">$AGNodes</span>
					<span style="color:darkgray;">=</span>
					<span style="color:darkred;">&quot;sql2012a&quot;<span style="color:darkgray;">,<span style="color:darkred;">&quot;sql2012b&quot;</span>
							<span style="color:darkgreen;"># all availability group nodes containing replicas in the same cloud service, separated by commas</span>
						</span></span></span></p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="color:orangered;">$EndpointName</span>
					<span style="color:darkgray;">=</span>
					<span style="color:darkred;">&quot;omawoendpoint&quot;</span>
					<span style="color:darkgreen;"># name of the endpoint</span>
				</span></p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="color:orangered;">$EndpointPorts</span>
					<span style="color:darkgray;">=</span>
					<span style="color:darkred;">&quot;135&quot;<span style="color:darkgray;">,<span style="color:darkred;">&quot;445&quot;</span>
						</span></span></span></p><p style="background:white;">
 </p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="color:orangered;">$ILBName</span>
					<span style="color:darkgray;">=</span>
					<span style="color:darkred;">&quot;omawoILB&quot;</span>
					<span style="color:darkgreen;"># chosen name for the new ILB</span>
				</span></p><p style="background:white;">
 </p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="color:darkgreen;"># Configure a load balanced endpoint for each node in $AGNodes using ILB</span>
				</span></p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="color:darkblue;">ForEach</span> (<span style="color:orangered;">$node</span>
					<span style="color:darkblue;">in</span>
					<span style="color:orangered;">$AGNodes</span>)
</span></p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">{
</span></p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">
					<span style="color:darkblue;">ForEach</span> (<span style="color:orangered;">$EndpointPort</span>
					<span style="color:darkblue;">in</span>
					<span style="color:orangered;">$EndpointPorts</span>)
</span></p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">    {
</span></p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">
					<span style="color:blue;">Get-AzureVM</span>
					<span style="color:navy;">-ServiceName</span>
					<span style="color:orangered;">$ServiceName</span>
					<span style="color:navy;">-Name</span>
					<span style="color:orangered;">$node</span>
					<span style="color:darkgray;">|</span>
					<span style="color:blue;">Add-AzureEndpoint</span>
					<span style="color:navy;">-Name</span>
					<span style="color:darkred;">&quot;<span style="color:orangered;">$EndpointName<span style="color:darkred;">-<span style="color:orangered;">$EndpointPort<span style="color:darkred;">&quot;</span>
									<span style="color:navy;">-LBSetName</span>
									<span style="color:darkred;">&quot;<span style="color:orangered;">$EndpointName<span style="color:darkred;">-<span style="color:orangered;">$EndpointPort<span style="color:darkred;">-LB&quot;</span>
													<span style="color:navy;">-Protocol</span>
													<span style="color:blueviolet;">tcp</span>
													<span style="color:navy;">-LocalPort</span> $EndpointPort</span>
												<span style="color:navy;">-PublicPort</span>
												<span style="color:orangered;">$EndpointPort</span>
												<span style="color:navy;">-ProbePort</span>
												<span style="color:purple;">59999</span>
												<span style="color:navy;">-ProbeProtocol</span>
												<span style="color:blueviolet;">tcp</span>
												<span style="color:navy;">-ProbeIntervalInSeconds</span>
												<span style="color:purple;">10</span>
												<span style="color:navy;">-InternalLoadBalancerName</span>
												<span style="color:orangered;">$ILBName</span>
												<span style="color:navy;">-DirectServerReturn</span>
												<span style="color:orangered;">$true</span>
												<span style="color:darkgray;">|</span>
												<span style="color:blue;">Update-AzureVM</span>
												<span style="color:navy;">-verbose</span>
											</span></span></span></span></span></span></span></span></p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">    }
</span></p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">}
</span></p><p style="background:white;"><strong>NOTE:</strong>
				<em>The variables $ServiceName, $AGNodes, $EndpointName, and $ILBName should be modified based on settings in your Azure environment. 
</em></p><p>
 </p></li><li><div><strong>Configure OperationsManager DB and DW to Availability Group
</strong></div><p>After completing the first Management Server installation, the OperationsManager DB and DW needs to be added into Availability Group. The steps are same for both databases:
</p></li></ul><ol style="margin-left:90pt;"><li>Configure database Recovery model to &quot;Full&quot;.
</li><li>Make a full database backup. 
</li><li>Add database to Availability Group.
</li></ol><p>I use &quot;<strong>Show Dashboard</strong>&quot; from my &quot;OMAWO&quot; Availability Group to verify OperationsManager DB and DW synchronization states. 
</p><p style="margin-left:36pt;"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/metablogapi/040615_0801_SetupOperat5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34-metablogapi/040615_5F00_0801_5F00_SetupOperat5.png" alt=" " />
	</p><p style="margin-left:36pt;">
 </p><ul><li><div><strong>Create SQL Login on the Secondary replica SQL Server
</strong></div><p>Since Operations Manager 2012 R2 only creates SQL logins on the primary SQL server instance during setup, I have to manually create those SQL Logins on the secondary SQL server instance. 
</p></li></ul><div><table style="border-collapse:collapse;" border="0"><colgroup><col style="width:261px;" /><col style="width:675px;" /></colgroup><tbody valign="top"><tr><td style="padding-left:12px;padding-right:12px;border-top:solid 0.5pt;border-left:solid 0.5pt;border-bottom:solid 0.5pt;border-right:solid 0.5pt;"><p>Compare SQL Logins on the primary and secondary replica servers. 
</p><p>
 </p><p>New SQL logins should be created on replica servers for the following accounts:
</p><p>
 </p><p>-Management Server
</p><p>-MS Action Account
</p><p>-OM DW Reader 
</p><p>-OM DW Writer
</p><p>-OM SDK Service Account</p></td><td style="padding-left:12px;padding-right:12px;border-top:solid 0.5pt;border-left:none;border-bottom:solid 0.5pt;border-right:solid 0.5pt;"><p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/metablogapi/040615_0801_SetupOperat6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34-metablogapi/040615_5F00_0801_5F00_SetupOperat6.png" alt=" " /></p></td></tr><tr style="height:386px;"><td style="padding-left:12px;padding-right:12px;border-top:none;border-left:solid 0.5pt;border-bottom:solid 0.5pt;border-right:solid 0.5pt;"><p>Generate the SQL query to create the SQL login from the Primary SQL server instance. </p></td><td style="padding-left:12px;padding-right:12px;border-top:none;border-left:none;border-bottom:solid 0.5pt;border-right:solid 0.5pt;"><p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/metablogapi/040615_0801_SetupOperat7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34-metablogapi/040615_5F00_0801_5F00_SetupOperat7.png" alt=" " /></p></td></tr><tr><td style="padding-left:12px;padding-right:12px;border-top:none;border-left:solid 0.5pt;border-bottom:solid 0.5pt;border-right:solid 0.5pt;"><p>Copy the SQL query to the replica SQL instance and execute. </p></td><td style="padding-left:12px;padding-right:12px;border-top:none;border-left:none;border-bottom:solid 0.5pt;border-right:solid 0.5pt;"><p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/metablogapi/040615_0801_SetupOperat8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34-metablogapi/040615_5F00_0801_5F00_SetupOperat8.png" alt=" " /><span style="font-family:Consolas;font-size:9pt;">
							</span></p></td></tr></tbody></table></div><p style="margin-left:36pt;">
 </p><p style="margin-left:36pt;">
 </p><ul><li><div><strong>Configure Transaction Log backup
</strong></div><p>I modified the default Availability Group &quot;<strong>Backup Preference</strong>&quot; setting from &quot;<strong>Prefer Secondary</strong>&quot; to &quot;<strong>Primary</strong>&quot;, before configuring Transaction Log backup maintenance job. 
</p><p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/metablogapi/040615_0801_SetupOperat9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34-metablogapi/040615_5F00_0801_5F00_SetupOperat9.png" alt=" " />
			</p><p><strong>NOTE:</strong>
				<em>My reason on modifying the setting is to make sure the Transaction Log will always be backed up even the Secondary replica SQL instance is down. You may want to consult your SQL admin on the most suitable &quot;Backup Preference&quot; setting for the Availability Group.   
</em></p><p>
 </p><p>
 </p><p>I created a maintenance plan to backup transaction log every hour for OperationsManager DB and DW databases. At first I didn&#39;t create the maintenance plan. Within one day my Operations Manager stops working. A good lesson learnt. 
</p><p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/metablogapi/040615_0801_SetupOperat10.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34-metablogapi/040615_5F00_0801_5F00_SetupOperat10.png" alt=" " />
			</p></li></ul><p style="background:white;">
 </p><p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;">
		</span> </p>]]></content:encoded>
    </item>
    <item>
      <title>Recover Deleted Cluster Virtual Computer Object</title>
      <link>https://docs.microsoft.com/archive/blogs/tips_and_lessons_from_field/recover-deleted-cluster-virtual-computer-object</link>
      <pubDate>Mon, 06 Oct 2014 03:08:21 GMT</pubDate>
      <dc:creator><![CDATA[Henry_W]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/tips_and_lessons_from_field/2014/10/06/recover-deleted-cluster-virtual-computer-object/</guid>
      <description><![CDATA[I had delivered a CSRES engagement recently for a customer running Windows Server 2008 R2 failover...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family:Calibri;font-size:medium;">I had delivered a CSRES engagement recently for a customer running Windows Server 2008 R2 failover cluster. In case this is the first time you heard CSRES, it stands for &ldquo;Cluster Service Recovery Execution Service&rdquo;. You can find more information </span><a href="https://download.microsoft.com/documents/Australia/services/datasheets2011/Cluster%20Service%20Recovery%20Execution%20Service%20(CSRES).pdf"><span style="color:#0563c1;font-family:Calibri;font-size:medium;">here</span></a><span style="font-family:Calibri;"><span style="font-size:medium;"> about this CSRES service. Please note that this service is also available for Windows Server 2012 Failover Cluster now. </span></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Here is an example how the service is delivered. We simulate several cluster failure scenarios, and use customer&rsquo;s backup application to recover them from the previous backup. The recover steps are recorded to create a draft Disaster Recovery document. The recovery time is also recorded to calculate RTO (</span><a href="https://en.wikipedia.org/wiki/Recovery_time_objective"><span style="color:#0563c1;font-family:Calibri;font-size:medium;">Recovery Time Objective</span></a><span style="font-family:Calibri;font-size:medium;">). </span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/CSRES%20Sample.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/CSRES-Sample.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/CSRES%20Sample.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/CSRES-Sample.jpg" border="0" /></a><br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">The customer had one Windows Server 2008 R2 Failover Cluster incident last year. Someone deleted a computer account from AD. Unfortunately that computer account is a Virtual Computer Object (VCO) used by a SQL Cluster Network Name resource. The SQL Cluster Network Name failed to online during next SQL cluster group failover, which caused the downtime of SQL service. I don&rsquo;t know what exactly happened at that time, but customer ended up with re-installing the SQL cluster. </span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">It is a bit complex in Windows Server 2008 R2 Failover Cluster to recover a deleted VCO by a Cluster Admin. Basically you need an AD Admin to perform certain steps, if you are not a member of AD Admins. The following two blogs have the detailed explanations and steps. </span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><a href="/b/askcore/archive/2009/04/27/recovering-a-deleted-cluster-name-object-cno-in-a-windows-server-2008-failover-cluster.aspx"><span style="color:#0563c1;font-family:Calibri;font-size:medium;">Recovering a Deleted Cluster Name Object (CNO) in a Windows Server 2008 Failover Cluster</span></a></p>
<p><a href="/b/askcore/archive/2011/05/18/recovering-a-deleted-cluster-name-object-cno-in-a-windows-server-2008-failover-cluster-part-2.aspx"><span style="color:#0563c1;font-family:Calibri;font-size:medium;">Recovering a Deleted Cluster Name Object (CNO) in a Windows Server 2008 Failover Cluster, Part 2</span></a></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Start from Windows Server 2012 Failover Cluster, a new feature &ldquo;</span><a href="https://technet.microsoft.com/en-us/library/dn265972.aspx#BKMK_AD"><span style="color:#0563c1;font-family:Calibri;font-size:medium;">Automated repair of cluster virtual computer objects (VCOs) if they are deleted accidentally</span></a><span style="font-family:Calibri;font-size:medium;">&rdquo; is introduced. The network name resource will&nbsp;be brought&nbsp;<b>ONLINE</b> even the associate VCO is deleted from AD. Event ID 1207 is still reported, but now it says:</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;">&nbsp;&ldquo;</span></span></p>
<p><span style="font-family:Calibri;font-size:medium;">The computer object associated with the cluster network name resource &#39;CAP2&#39; could not be updated in domain &#39;contoso1.local&#39; during the </span></p>
<p><b><span style="font-family:Calibri;font-size:medium;">Resource post online operation.</span></b></p>
<p><span style="font-family:Calibri;font-size:medium;">&ldquo;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/Event%201207.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/Event-1207.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/Event%201207.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/Event-1207.jpg" border="0" /></a><br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">To recover the missing VCO in Windows Server 2012/2012 R2 Failover Cluster, simply offline the network name resource, right click the resource name, then select &ldquo;More Actions &ndash; Repair&rdquo;. It will create a VCO computer account in AD.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/Repair%20VCO.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/Repair-VCO.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/Repair%20VCO.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/Repair-VCO.jpg" border="0" /></a><br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">You can use following cmdlet to locate which domain controller is used to creating the VCO. </span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;">get-clusterresource &lt;network name resource&gt; | Get-ClusterParameter | where {$_.name -match &quot;CreatingDC&quot;}&nbsp;&nbsp;</span></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/CreatingDC.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/CreatingDC.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/CreatingDC.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/CreatingDC.jpg" border="0" /></a><br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">One the domain controller, Event ID 4741 is recorded in the Security Event Log for the VCO creation.&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/Event%204741.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/Event-4741.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/Event%204741.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/Event-4741.jpg" border="0" /></a><br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Since the VCO is a new computer account in AD, any additional SPN (</span><a href="https://technet.microsoft.com/en-us/library/cc961723.aspx"><span style="color:#0563c1;font-family:Calibri;font-size:medium;">Service Principal Name</span></a><span style="font-family:Calibri;font-size:medium;">) registered with the&nbsp;previous VCO will be missing. Here is the SPN list before the VCO deletion.&nbsp;</span></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;">&nbsp;</span></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/SPN%20old.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/SPN-old.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/SPN%20old.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/SPN-old.jpg" border="0" /></a><br /></span></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;">&nbsp;</span></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;">Here is the SPN list after repair the VCO. You can see &ldquo;test/cap2&rdquo; is missing from the SPN list of the new VCO.&nbsp;</span></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/SPN%20new.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/SPN-new.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/SPN%20new.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/SPN-new.jpg" border="0" /></a><br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">SPN is required for Kerberos authentication. Although I have never seen one, but in theory, SPN missing will cause Kerberos authentication failure. It may&nbsp;in turn cause client application fails connecting to the cluster resource. As a Cluster Admin, you should notify your AD Admin that you have recovered the VCO, and asked him to re-register any missing SPN. Let the AD Admin to scratch his head to figure out how to find the missing SPN. </span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Tips:</span></p>
<p><span style="font-family:Calibri;font-size:medium;">============</span></p>
<ol>
<li>
<p><span style="font-size:medium;">For Windows Server 2008 R2 Failover Cluster admins, please make a good friend with your AD admins. You need his/her help to recover the missing VCO so that the corresponding network name resource can be brought online.</span></p>
<p><span style="font-size:medium;">&nbsp;</span></p>
</li>
<li>
<p><span style="font-size:medium;">For Windows Server 2012/2012 R2 Failover Cluster admins, please record all VCO&rsquo;s SPN using &ldquo;setspn.exe &lt;VCO Computer Name&gt;&rdquo; command. It will help&nbsp;your AD Admins to quickly re-register all missing SPNs for a completed VCO recovery. </span></p>
<p><span style="font-size:medium;">&nbsp;</span></p>
</li>
</ol>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp; </span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Why one critical production server rebooted at 3:20am this morning?</title>
      <link>https://docs.microsoft.com/archive/blogs/tips_and_lessons_from_field/why-one-critical-production-server-rebooted-at-320am-this-morning</link>
      <pubDate>Tue, 30 Sep 2014 03:35:06 GMT</pubDate>
      <dc:creator><![CDATA[Henry_W]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/tips_and_lessons_from_field/2014/09/30/why-one-critical-production-server-rebooted-at-320am-this-morning/</guid>
      <description><![CDATA[Recently I have done a Configuration Manager 2012 R2 engagement to assist customer configuring...]]></description>
      <content:encoded><![CDATA[<p></p>
<p>Recently I have done a Configuration Manager 2012 R2 engagement to assist customer configuring Software Update feature. The customer wants to use Configuration Manager 2012 R2 to deploy security updates to all production servers.&nbsp;Like most&nbsp;customers originally using WSUS for security updates, this customer wants to&nbsp;have better controls and detailed reports in&nbsp;Configuration Manger 2012 when deploying security updates. One request the customer has is to keep using the existing WSUS server.</p>
<p>&nbsp;</p>
<p>The&nbsp;Software Update Point is successfully configured using the existing WSUS server.&nbsp; But software update scan is failed on all servers. Report &quot;<b>Scan 3 - Clients of a collection reporting a specific state (secondary)</b>&quot; in &quot;<b>Software Updates - D Scan</b>&quot; category shows the reason. The screenshot below is from my testing environment. Hundreds of servers reported the same error &ldquo;<b>Group policy conflict</b>&rdquo; in the customer&rsquo;s environment:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/scan%203.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/scan-3.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/scan%203.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/scan-3.jpg" border="0" /></a></p>
<p>It is a known issue and we need reconfigure the Active Directory Group Policy, &quot;<b>or move client computers to an organizational unit (OU) that does not have this Group Policy setting applied</b>&quot; (&quot;<a title="Planning for Software Updates in Configuration Manager - Group Policy Settings for Software Updates" href="https://technet.microsoft.com/en-us/library/gg712696.aspx#BKMK_GroupPolicySettings"><span style="color:#0000ff;">Planning for Software Updates in Configuration Manager - Group Policy Settings for Software Updates</span></a>&quot;). The customer&nbsp;decides to unlink the WSUS domain Group Policy from the production server OU in Group Policy Management console.</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p>The next day when I arrived customer&rsquo;s site, the customer told me one critical production server was rebooted at about 3:20am this morning. His boss wanted a full investigation on the cause of the reboot. He asked my assistance to check the production server. &nbsp;</p>
<p>&nbsp;</p>
<p>The investigation is a short one. First we found the server was rebooted due to security updates installation, because System Event Log captured Event ID 22 from &ldquo;Automatic Updates&rdquo;. It says: &ldquo;<b>Restart Required: To complete the installation of the following updates, the computer will be restarted within 15 minutes</b>&rdquo; &nbsp;&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/event%20id%2022.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/event-id-22.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/event%20id%2022.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/event-id-22.jpg" border="0" /></a></p>
<p>&nbsp;</p>
<p>Then we checked <b>Control Panel\System and Security\Windows Update\Change settings</b> on the production server. The setting is &ldquo;<b>Install updates automatically (recommended)</b>&rdquo;, with the installation time set to 3:00 AM.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/AutoUpdate.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/AutoUpdate.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/AutoUpdate.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/AutoUpdate.jpg" border="0" /></a></p>
<p>Other servers are not configured with &ldquo;<b>Install updates automatically (recommended)</b>&rdquo; setting. It seems the automatic update setting on this critical production server was&nbsp;configured incorrectly during the&nbsp;Operating System&nbsp;setup.</p>
<p>&nbsp;</p>
<p>The content in <b>C:\Windows\WindowsUpdate.log</b> and WSUS Server &ldquo;<b>Automatic Approvals</b>&rdquo; options tells the whole story.&nbsp;&nbsp;</p>
<p></p>
<ul>
<li>The production server receives a local group policy to configure the location of WSUS server shortly after Configuration Manager Agent installation. The local group policy only changes the location of the WSUS server using FQDN name.</li>
</ul>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/CM%20local%20wsus%20policy.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/CM-local-wsus-policy.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/CM%20local%20wsus%20policy.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/CM-local-wsus-policy.jpg" border="0" /></a></p>
<ul>
<li>The WSUS domain policy is configured to use WSUS server&rsquo;s NETBIOS name. The automatic updating is configured to &ldquo;<b>2 &ndash; Notify for download and notify for install</b>&rdquo; in the domain group policy. There will be no automatic update installation with this domain group policy enabled.</li>
</ul>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/wsus%20policy.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/wsus-policy.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/wsus%20policy.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/wsus-policy.jpg" border="0" /></a></p>
<ul>
<li>When the WSUS domain policy is unlinked, the production server reverts to its default automatic updates setting, which is &ldquo;<b>Install updates automatically (recommended)</b>&rdquo; at 3:00am. The production server will connect to WSUS server using its FQDN name, as configured by local group policy after Configuration Manager Agent installation.</li>
</ul>
<p></p>
<ul>
<li>The Software Update Point configuration DOES NOT change &ldquo;Automatic Approvals&rdquo; rule when the same WSUS server is used. The &ldquo;Default Automatic Approval Rule&rdquo; is still enabled. It means any production server with &ldquo;<b>Install updates automatically (recommended)</b>&rdquo; automatic updates setting, and configured to use this WSUS server, will download and install updates automatically.</li>
</ul>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/WSUS%20AutoApproval%202.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/WSUS-AutoApproval-2.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/WSUS%20AutoApproval%202.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/WSUS-AutoApproval-2.jpg" border="0" /></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/WSUS%20AutoApproval.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/WSUS-AutoApproval.jpg"></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/WSUS%20AutoApproval.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/WSUS-AutoApproval.jpg"></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/WSUS%20AutoApproval.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/WSUS-AutoApproval.jpg"></a></p>
<p><span style="font-family:Times New Roman;font-size:medium;"></span>&nbsp;</p>
<p>Here is the lesson learnt:</p>
<p>===================</p>
<p>The following tasks should be performed before unlinking any WSUS domain group policy:</p>
<ul>
<li>
<p>Create a new domain group policy to disable local Windows Update setting before unlinking the WSUS domain group policy.</p>
</li>
</ul>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/disable%20AU.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/disable-AU.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/disable%20AU.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/disable-AU.jpg" border="0" /></a></p>
<ul>
<li>
<p>Create a compliance baseline to verify the new domain group policy has been successfully applied to all servers with Configuration Manager Agent.</p>
</li>
</ul>
<p><span style="font-family:Times New Roman;font-size:medium;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/Compliance%201.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/Compliance-1.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/Compliance%201.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/Compliance-1.jpg" border="0" /></a>&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/Compliance%202.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/Compliance-2.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/Compliance%202.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/Compliance-2.jpg" border="0" /></a></span></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/Compliance%203.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/Compliance-3.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/03/34/Compliance%203.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-03-34/Compliance-3.jpg" border="0" /></a></p>
<p></p>
<p>&nbsp;</p>
<p>From IT Operations perspective, operations such as unlink domain group policy should be done on a test OU with a small number of production servers, before apply the change to all production servers. It will ascertain any unforeseen effects.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p></p>
<p></p>]]></content:encoded>
    </item>
  </channel>
</rss>