Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Event Viewer Error Message Mentions "LODCTR": What Is This?


  • Please log in to reply
3 replies to this topic

#1 Guest_Aaron_Warrior_*

Guest_Aaron_Warrior_*

  • Guests
  • OFFLINE
  •  

Posted 07 June 2017 - 02:36 PM

Log Name:      Application
Source:        Microsoft-Windows-LoadPerf
Date:          6/6/2017 4:38:30 PM
Event ID:      2007
Task Category: None
Level:         Warning
Keywords:      
User:          OLD-PC\OLD
Computer:      OLD-PC
Description:
Cannot repair performance counters for .NET CLR Networking 4.0.0.0 service. Reinstall the performance counters manually using the LODCTR tool.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-LoadPerf" Guid="{122EE297-BB47-41AE-B265-1CA8D1886D40}" />
    <EventID>2007</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2017-06-06T21:38:30.345253500Z" />
    <EventRecordID>40353</EventRecordID>
    <Correlation />
    <Execution ProcessID="5856" ThreadID="4884" />
    <Channel>Application</Channel>
    <Computer>OLD-PC</Computer>
    <Security UserID="S-1-5-21-1637746930-86345793-1328903637-1001" />
  </System>
  <UserData>
    <EventXML xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="LoadPerf">
      <param1>.NET CLR Networking 4.0.0.0</param1>
      <binaryDataSize>8</binaryDataSize>
      <binaryData>02000000B2050000</binaryData>
    </EventXML>
  </UserData>
</Event>

Just noticed this in my Event Viewer.  There's a bunch of errors like this, although my system has no symptoms that I can detect.  I'm just curious about what this is, what "LODCTR" is, etc...



BC AdBot (Login to Remove)

 


#2 bwv848

bwv848

    Bleepin' Owl


  • BSOD Kernel Dump Expert
  • 2,955 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:92.96 million miles away from the sun

Posted 07 June 2017 - 03:31 PM

LODCTR (Load PerfMon Counters) is just an external command line utility to register or update registry values related to performance counters. Command-line usage is demonstrated below:

LODCTR
    Updates registry values related to performance counters.

Usage:
    LODCTR <INI-FileName>
        INI-FileName is the name of the initialization file that contains
            the counter name definitions and explain text for an extensible
            counter DLL.

    LODCTR /S:<Backup-FileName>
        save the current perf registry strings and info to <Backup-FileName>

    LODCTR /R:<Backup-FileName>
        restore the perf registry strings and info using <Backup-FileName>

    LODCTR /R
        rebuild the perf registry strings and info from scratch based on the current
            registry settings and backup INI files.

    LODCTR /T:<Service-Name>
        set the performance counter service as trusted.

    LODCTR /E:<Service-Name>
        enable the performance counter service.

    LODCTR /D:<Service-Name>
        disable the performance counter service.

    LODCTR /Q

    LODCTR /Q:<Service-Name>
        query the performance counter service information, either query all or specified one.

    LODCTR /M:<Counter-Manifest>
        install Windows Vista performance counter provider definition XML file
            to system repository.

Note: any arguments with spaces in the names must be enclosed within
Double Quotation marks.

More information about Event ID 2007, the error you're getting, can be found here. But if you're not experiencing any issues, just ignore it.


If I do not reply in three days, please message me.
 
BC BSOD Posting Instructions | Carrona BSOD Index | Driver Reference Table (DRT)


#3 Guest_Aaron_Warrior_*

Guest_Aaron_Warrior_*

  • Guests
  • OFFLINE
  •  

Posted 07 June 2017 - 04:39 PM

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.


C:\Windows\system32>lodctr /r


Info: Successfully rebuilt performance counter setting from system backup store
C:\Windows\system32>

So it looks like something got fixed but I'm wondering what happened, why, etc... What's a "performance counter", etc....



#4 bwv848

bwv848

    Bleepin' Owl


  • BSOD Kernel Dump Expert
  • 2,955 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:92.96 million miles away from the sun
  • Local time:04:14 PM

Posted 07 June 2017 - 05:03 PM

https://msdn.microsoft.com/en-us/library/windows/desktop/aa371643(v=vs.85).aspx


If I do not reply in three days, please message me.
 
BC BSOD Posting Instructions | Carrona BSOD Index | Driver Reference Table (DRT)





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users