<?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>Henry Zhu's System Center Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/henryzhu/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/henryzhu/feed.xml</link>
    <description>Posts in this blog are provided &amp;quot;AS IS&amp;quot; with no warranties, and confers no rights.</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:27:40 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Two common SCOM agent start failure issues</title>
      <link>https://docs.microsoft.com/archive/blogs/henryzhu/two-common-scom-agent-start-failure-issues</link>
      <pubDate>Mon, 26 Sep 2011 05:57:00 GMT</pubDate>
      <dc:creator><![CDATA[Henry Zhu]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/henryzhu/2011/09/26/two-common-scom-agent-start-failure-issues/</guid>
      <description><![CDATA[In this post, I will discuss two common SCOM agent start failure issues.
Issue 1
We can find the...]]></description>
      <content:encoded><![CDATA[<p>In this post, I will discuss two common SCOM agent start failure issues.</p>
<p><span style="text-decoration: underline;"><strong>Issue 1</strong></span></p>
<p>We can find the following information in SCOM trace.</p>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]28648.8548::09/23/2011-10:16:48.168 [SecureStorageManager] [] [Error] :CSecureStorageManager::NotifyManagementGroupsList{SecureStorageManager_cpp1025}</i></span></span><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="background-color: yellow; font-size: 10pt;"><i>Unable to create per-MG state object</i></span></span></span></span></div>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]28648.8548::09/23/2011-10:16:48.168 [SecureStorageManager] [] [Error] :CSecureStorageManager::NotifyManagementGroupsList{SecureStorageManager_cpp1640}Unable to initialize per-management group state</i></span></span></span></span></div>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]28648.8548::09/23/2011-10:16:48.168 [ConnectorManager] [] [Error] :CConnectorManager::informManagementGroupState{ConnectorManager_cpp5447}Secure Storage Manager failed during MG notification : -2147467259(E_FAIL)</i></span></span></span></span></div>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]28648.8548::09/23/2011-10:16:48.168 [ConnectorManager] [] [Error] :CConnectorManager::Start{ConnectorManager_cpp1745}Unable to inform components about management groups : -2147467259(E_FAIL)</i></span></span></span></span></div>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]28648.8548::09/23/2011-10:16:48.187 [HealthServiceExecutive] [] [Error] :CHealthServiceExecutive::ManagerStartup{HealthServiceExecutive_cpp1681}Start of 1 manager failed with code -2147467259(E_FAIL).</i></span></span></span></span></div>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]28648.8548::09/23/2011-10:16:48.187 [HealthServiceExecutive] [] [Error] :CHealthServiceExecutive::ServiceInitialization{HealthServiceExecutive_cpp1933}ManagerStartup failed with code -2147467259(E_FAIL).</i></span></span></span></span></div>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]28648.8548::09/23/2011-10:16:48.187 [HealthServiceExecutive] [] [Error] :CHealthServiceExecutive::OnStartService{HealthServiceExecutive_cpp2064}ServiceInitialization failed with code -2147467259(E_FAIL).</i></span></span></span></span></div>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]28648.8548::09/23/2011-10:16:48.187 [HealthServiceExecutive] [] [Error] :CHealthServiceExecutive::ErrorShutdownServiceNoLock{HealthServiceExecutive_cpp1545}Shutting down service due to error.&nbsp; The supplied error code is -2147467259(E_FAIL) and the current service state is ServiceStateStarting.</i></span></span></span></span></div>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]28648.8548::09/23/2011-10:16:48.216 [HealthServiceExecutive] [] [Error] :CHealthServiceExecutive::_ServiceMain{HealthServiceExecutive_cpp1446}</i></span></span><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="background-color: yellow; font-size: 10pt;"><i>Start failed with code -2147467259(E_FAIL).</i></span></span></span></span></div>
<p>When the problem happens, SCOM agent tries to access registry key <strong>WindowsAccountLockDownSD</strong>. This error can be caused by the key at <strong>HKLM\SYSTEM\CurrentControlSet\Services\HealthService\Parameters\Management Group\&lt;Management Group Name Here&gt;</strong> being invalid or non-present.</p>
<p>The easiest way to resolve the issue is to export the registry key <strong>WindowsAccountLockDownSD</strong>&nbsp;from a similar working system and then import it in to the registry of the server experiencing the problem.&nbsp; Once this completes, the&nbsp;SCOM agent&nbsp;should start successfully.</p>
<p><span style="text-decoration: underline;"><strong>Issue 2</strong></span></p>
<p>We can find the following information in SCOM trace.</p>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]1676.3140::09/22/2011-05:21:23.603 [MOMChannel] [] [Error] :MOMChannel::createTemporaryCertificate{SChannelUtil_cpp631}</i></span></span><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="background-color: yellow; font-size: 10pt;"><i>Unable to create self-signed certificate, error = 5(ERROR_ACCESS_DENIED)</i></span></span></span></span></div>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]1676.3140::09/22/2011-05:21:23.603 [MOMChannel] [] [Warning] :MOMChannel::SChannelUtil::GetCertificateType{SChannelUtil_cpp2184}Unable to retrieve certificate for this machine, certificate may not be loaded</i></span></span></span></span></div>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]1676.3140::09/22/2011-05:21:23.604 [MOMConnector] [] [Warning] :CMOMConnectorConfiguration::GetParent{MOMConnectorConfiguration_cpp1801}Parent health service #0 does not exist</i></span></span></span></span></div>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]1676.3140::09/22/2011-05:21:23.672 [SecureStorageManager] [] [Error] :CSecureStorageManager::createCertificate{SecureStorageManager_cpp4256}Unable to create self-signed certificate, error = 5(ERROR_ACCESS_DENIED)</i></span></span></span></span></div>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]1676.3140::09/22/2011-05:21:23.672 [SecureStorageManager] [] [Error] :CSecureStorageManager::Start{SecureStorageManager_cpp3800}Unable to create certificate : 5(ERROR_ACCESS_DENIED)</i></span></span></span></span></div>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]1676.3140::09/22/2011-05:21:23.672 [HealthServiceExecutive] [] [Error] :CHealthServiceExecutive::ManagerStartup{HealthServiceExecutive_cpp1681}Start of 3 manager failed with code 5(ERROR_ACCESS_DENIED).</i></span></span></span></span></div>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]1676.3140::09/22/2011-05:21:23.672 [HealthServiceExecutive] [] [Error] :CHealthServiceExecutive::ServiceInitialization{HealthServiceExecutive_cpp1933}ManagerStartup failed with code 5(ERROR_ACCESS_DENIED).</i></span></span></span></span></div>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]1676.3140::09/22/2011-05:21:23.672 [HealthServiceExecutive] [] [Error] :CHealthServiceExecutive::OnStartService{HealthServiceExecutive_cpp2064}ServiceInitialization failed with code 5(ERROR_ACCESS_DENIED).</i></span></span></span></span></div>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]1676.3140::09/22/2011-05:21:23.673 [HealthServiceExecutive] [] [Error] :CHealthServiceExecutive::ErrorShutdownServiceNoLock{HealthServiceExecutive_cpp1545}Shutting down service due to error.&nbsp; The supplied error code is 5(ERROR_ACCESS_DENIED) and the current service state is ServiceStateStarting.</i></span></span></span></span></div>
<div style="margin: 0px 0px 0px 36pt;"><span style="font-family: Calibri,sans-serif; font-size: x-small;" size="2" face="Calibri,sans-serif"><span style="font-size: 11pt;"><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="font-size: 10pt;"><i>[1]1676.3140::09/22/2011-05:21:23.757 [HealthServiceExecutive] [] [Error] :CHealthServiceExecutive::_ServiceMain{HealthServiceExecutive_cpp1446}</i></span></span><span style="color: #000000; font-size: x-small;" size="2" color="black"><span style="background-color: yellow; font-size: 10pt;"><i>Start failed with code 5(ERROR_ACCESS_DENIED).</i></span></span></span></span></div>
<p>From the above error message, it is clear that due to an access denied issue, SCOM agent is unable to create self-signed certificate. As a result, SCOM agent fails to start. These certificates are always stored at <strong>C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-8</strong> when the service account is <strong>Local System</strong>. That is to say, the account has no enough permission to create a certificate to the folder.</p>
<p>We can&nbsp;simply grant <strong>Local System</strong> account <strong>Full Control</strong> permission on <strong>C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-8</strong> to solve the problem. Here is a screen shot for reference.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/64/2262.image003.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-64/2262.image003.png"><img style="border: 0px;" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/90/64/2262.image003.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-90-64/2262.image003.png" width="250" /></a></p>
<p>- Henry Zhu</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>