<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Qlik Sense Repository keeps restarting, Performance Counter issues in Windows in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Repository-keeps-restarting-Performance-Counter/ta-p/1716161</link>
    <description>&lt;P&gt;Qlik Sense Repository service will log performance counters, and set them up on startup. Unfortunately sometimes the base counters are corrupt so the start can't proceed.&lt;/P&gt;
&lt;P&gt;The error in the logs:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;fatal exception during startup Cannot load Counter Name data because an invalid index '' was read from the registry. at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)?? ? at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)?? [...] at System.Threading.ThreadHelper.ThreadStart() 3facc7ff-8275-4847-b3b7-338d32c4d1c5 its the repo checking the counter which doesn't exist&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Qlik Sense April 2019 will log information including instructions to resolve the issue. See the related&amp;nbsp;&lt;A href="https://da3hntz84uekx.cloudfront.net/QlikSense/13.21/2/QlikSense_April_2019_Patch2_ReleaseNotes.pdf" target="_blank" rel="noopener"&gt;Release Notes&lt;/A&gt;&amp;nbsp;for ID&amp;nbsp;QLIK-92800:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Failed to initialize usage of Windows Performance Counters. Make sure that performance counters are enabled or try rebuilding them with "lodctr /R"&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Option 1&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;A workaround is provided in repairing the Windows Performance Counters:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open an &lt;STRONG&gt;elevated&lt;/STRONG&gt; command prompt (run as administrator)&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Rebuild the counters with the following commands:&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;cd c:\windows\system32&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;lodctr /R&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;cd c:\windows\sysWOW64&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;lodctr /R&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;If you get the response &lt;FONT face="courier new,courier"&gt;Error: Unable to rebuild performance counter setting from system backup store, error code is 2&lt;/FONT&gt;, run the same command once more.&lt;BR /&gt;&lt;BR /&gt;A successful run will say: &lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Info: Successfully rebuilt performance counter setting from system backup store&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;Pitfalls:&lt;/P&gt;
&lt;P&gt;If you get as a return:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Error: Unable to rebuild performance counter setting from system backup store, error code is 5&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;then your prompt was not elevated. Elevate the command prompt with administrator permissions.&lt;/P&gt;
&lt;H4&gt;If the commands are successful yet symptoms persist, perform &lt;FONT color="#339966"&gt;&lt;STRONG&gt;Option 2&lt;/STRONG&gt;&lt;/FONT&gt;.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Option 2&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Ensure that the counters are not disabled in the registry&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The counters may be disabled via registry settings. Please check the following registry locations to ensure that the counters have not been disabled.&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;HKLM\System\CurrentControlSet\Services\%servicename%\Performance&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;%servicename% represents any service with a performance counter. For example: PerfDisk, PerfOS, etc.&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;There may be registry keys for "&lt;STRONG&gt;DisablePerformanceCounters&lt;/STRONG&gt;" in any of these locations. As per the following TechNet article, this value should be set to 0. If the value is anything other than 0 the counter may be disabled.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Disable Performance Counters&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://technet.microsoft.com/en-us/library/cc784382.aspx" target="_blank" rel="noopener"&gt;http://technet.microsoft.com/en-us/library/cc784382.aspx&lt;/A&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A value of 1 means the counter is disabled.&lt;/LI&gt;
&lt;LI&gt;A value of 2 means the 32-bit counter is disabled.&lt;/LI&gt;
&lt;LI&gt;A value of 4 means the 64-bit counter is disabled.&lt;/LI&gt;
&lt;LI&gt;Please make sure that none of the Perfxxxxx are have a key within them called "DisablePerformanceCounters". If they do, please make sure that the value is set to 0.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;ref.&amp;nbsp;&lt;A href="https://support.microsoft.com/en-us/help/2554336/how-to-manually-rebuild-performance-counters-for-windows-server-2008-6" target="_blank" rel="noopener"&gt;https://support.microsoft.com/en-us/help/2554336/how-to-manually-rebuild-performance-counters-for-windows-server-2008-6&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Once done, return to &lt;FONT color="#339966"&gt;&lt;STRONG&gt;Option 1&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Apr 2026 10:38:14 GMT</pubDate>
    <dc:creator>Sebastian_Linser</dc:creator>
    <dc:date>2026-04-10T10:38:14Z</dc:date>
    <item>
      <title>Qlik Sense Repository keeps restarting, Performance Counter issues in Windows</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Repository-keeps-restarting-Performance-Counter/ta-p/1716161</link>
      <description>&lt;P&gt;Qlik Sense Repository service will log performance counters, and set them up on startup. Unfortunately sometimes the base counters are corrupt so the start can't proceed.&lt;/P&gt;
&lt;P&gt;The error in the logs:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;fatal exception during startup Cannot load Counter Name data because an invalid index '' was read from the registry. at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)?? ? at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)?? [...] at System.Threading.ThreadHelper.ThreadStart() 3facc7ff-8275-4847-b3b7-338d32c4d1c5 its the repo checking the counter which doesn't exist&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Qlik Sense April 2019 will log information including instructions to resolve the issue. See the related&amp;nbsp;&lt;A href="https://da3hntz84uekx.cloudfront.net/QlikSense/13.21/2/QlikSense_April_2019_Patch2_ReleaseNotes.pdf" target="_blank" rel="noopener"&gt;Release Notes&lt;/A&gt;&amp;nbsp;for ID&amp;nbsp;QLIK-92800:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Failed to initialize usage of Windows Performance Counters. Make sure that performance counters are enabled or try rebuilding them with "lodctr /R"&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Option 1&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;A workaround is provided in repairing the Windows Performance Counters:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open an &lt;STRONG&gt;elevated&lt;/STRONG&gt; command prompt (run as administrator)&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Rebuild the counters with the following commands:&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;cd c:\windows\system32&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;lodctr /R&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;cd c:\windows\sysWOW64&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;lodctr /R&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;If you get the response &lt;FONT face="courier new,courier"&gt;Error: Unable to rebuild performance counter setting from system backup store, error code is 2&lt;/FONT&gt;, run the same command once more.&lt;BR /&gt;&lt;BR /&gt;A successful run will say: &lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Info: Successfully rebuilt performance counter setting from system backup store&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;Pitfalls:&lt;/P&gt;
&lt;P&gt;If you get as a return:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Error: Unable to rebuild performance counter setting from system backup store, error code is 5&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;then your prompt was not elevated. Elevate the command prompt with administrator permissions.&lt;/P&gt;
&lt;H4&gt;If the commands are successful yet symptoms persist, perform &lt;FONT color="#339966"&gt;&lt;STRONG&gt;Option 2&lt;/STRONG&gt;&lt;/FONT&gt;.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Option 2&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Ensure that the counters are not disabled in the registry&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The counters may be disabled via registry settings. Please check the following registry locations to ensure that the counters have not been disabled.&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;HKLM\System\CurrentControlSet\Services\%servicename%\Performance&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;%servicename% represents any service with a performance counter. For example: PerfDisk, PerfOS, etc.&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;There may be registry keys for "&lt;STRONG&gt;DisablePerformanceCounters&lt;/STRONG&gt;" in any of these locations. As per the following TechNet article, this value should be set to 0. If the value is anything other than 0 the counter may be disabled.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Disable Performance Counters&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://technet.microsoft.com/en-us/library/cc784382.aspx" target="_blank" rel="noopener"&gt;http://technet.microsoft.com/en-us/library/cc784382.aspx&lt;/A&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A value of 1 means the counter is disabled.&lt;/LI&gt;
&lt;LI&gt;A value of 2 means the 32-bit counter is disabled.&lt;/LI&gt;
&lt;LI&gt;A value of 4 means the 64-bit counter is disabled.&lt;/LI&gt;
&lt;LI&gt;Please make sure that none of the Perfxxxxx are have a key within them called "DisablePerformanceCounters". If they do, please make sure that the value is set to 0.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;ref.&amp;nbsp;&lt;A href="https://support.microsoft.com/en-us/help/2554336/how-to-manually-rebuild-performance-counters-for-windows-server-2008-6" target="_blank" rel="noopener"&gt;https://support.microsoft.com/en-us/help/2554336/how-to-manually-rebuild-performance-counters-for-windows-server-2008-6&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Once done, return to &lt;FONT color="#339966"&gt;&lt;STRONG&gt;Option 1&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2026 10:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Repository-keeps-restarting-Performance-Counter/ta-p/1716161</guid>
      <dc:creator>Sebastian_Linser</dc:creator>
      <dc:date>2026-04-10T10:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Repository keeps restarting, Performance Counter issues in Windows</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Repository-keeps-restarting-Performance-Counter/tac-p/2533718#M16466</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/19162"&gt;@Sebastian_Linser&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;could you tell me which performance counters the Qlik Sense repository service uses?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 08:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Repository-keeps-restarting-Performance-Counter/tac-p/2533718#M16466</guid>
      <dc:creator>federicotedesco</dc:creator>
      <dc:date>2025-10-17T08:54:05Z</dc:date>
    </item>
  </channel>
</rss>

