lodctr.exe

  • File Path: C:\WINDOWS\system32\lodctr.exe
  • Description: Load PerfMon Counters

Hashes

Type Hash
MD5 4FCE8C76D4F333C66A4DB2E4ADB98E93
SHA1 F73772CA059980871AC4CE6FFA1248775EC7E4FC
SHA256 A2646227A4F70CA5188424796A53E092718ABE535A6299C0D5A0FDFA65092867
SHA384 36DD2C4DFE49F1689B36D3EF74C51AD2FCDE4DED72062728B30CFDC86E3371E84B73BE5C86B6D1FDF002AE208E661389
SHA512 17302778CF0151C87DE4B64D833A3C1D0E15707DF6D4FC238F51066E7DADFCA5086C2FF70FC62DE9EC30E9EDDB76190A943E697A4BB7C6F339A013B3B8902116
SSDEEP 768:HhgIr19n2kps1oPCQEjdzsCiK233M3kPGrsy+E1HplMcJ6Ba6HLlpLk:Hhp9xsfPVs43RqEnlMcWa6HLlpLk
IMP F482C448F195297B381FCD49ED4329F9
PESHA1 EEDD16CC3BCD8985EB250E065993A7DC39BE58A8
PE256 E75EFF6F44692EBD2BF984A2B45B613EB9CDFCE2B7327528633A0B647D4189B3

Runtime Data

Usage (stdout):


 
LODCTR 
       Updates registry values related to performance counters. 
Usage: 
       LODCTR <INI-filename> 
             Installs counter text strings. INI-filename is the name of the 
             initialization file that contains the counter name definitions 
             and explain text for an extensible counter DLL.

       LODCTR /C:<filename> 
             Upgrades counter text strings using <filename>

       LODCTR /H:<filename> 
             Upgrades help text strings using <filename>

       LODCTR /L:<LangID> 
             Specifies the language for the /C and /H commands

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

       LODCTR /R 
             Rebuilds perf registry from scratch based on current registry 
             settings and backup INI files.

       LODCTR /R:<filename> 
             Restores perf registry strings & info using <filename>

       LODCTR /T:<service-name> 
             Sets the specified performance counter provider as trusted.

       LODCTR /Q 
             Displays performance counter provider information.

       LODCTR /Q:<service-name> 
             Displays performance counter provider information for a 
             specific provider.

       LODCTR /E:<service-name> 
             Enables the performance counter provider.

       LODCTR /D:<service-name> 
             Disables the performance counter provider.

       LODCTR /M:<Counter-Manifest> [<Installation-Path>]
             Installs a v2.0 performance counter provider using the specified 
             XML manifest. 

             The installation requires a full path to the DLL containing the 
             performance counter resources (localized  strings). The path 
             to the DLL will be determined as follows:

             If the applicationIdentity attribute in the manifest is a full 
             path, that will be used.

             Otherwise, if <Installation-Path> is provided and is a full 
             path, that will be used.

             Otherwise, if <Counter-Manifest> is a full path, the directory 
             from <Counter-Manifest> will be combined with the DLL name from 
             the applicationIdentity attribute in the manifest.

             Otherwise, the current directory will be combined with the DLL 
             name from the applicationIdentity attribute in the manifest.

Note: Any arguments with spaces in the names must be enclosed within double 
quotation marks.

Loaded Modules:

Path
C:\WINDOWS\System32\KERNEL32.DLL
C:\WINDOWS\System32\KERNELBASE.dll
C:\WINDOWS\system32\lodctr.exe
C:\WINDOWS\SYSTEM32\ntdll.dll

Signature

  • Status: Signature verified.
  • Serial: 33000002ED2C45E4C145CF48440000000002ED
  • Thumbprint: 312860D2047EB81F8F58C29FF19ECDB4C634CF6A
  • Issuer: CN=Microsoft Windows Production PCA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
  • Subject: CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US

File Metadata

  • Original Filename: LODCTR.EXE.MUI
  • Product Name: Microsoft Windows Operating System
  • Company Name: Microsoft Corporation
  • File Version: 10.0.22000.1 (WinBuild.160101.0800)
  • Product Version: 10.0.22000.1
  • Language: English (United States)
  • Legal Copyright: Microsoft Corporation. All rights reserved.
  • Machine Type: 64-bit

File Scan

  • VirusTotal Detections: 0/74
  • VirusTotal Link: https://www.virustotal.com/gui/file/a2646227a4f70ca5188424796a53e092718abe535a6299c0d5a0fdfa65092867/detection

Additional Info*

*The information below is copied from MicrosoftDocs, which is maintained by Microsoft. Available under CC BY 4.0 license.


lodctr

Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

Allows you to register or save performance counter name and registry settings in a file and designate trusted services.

Syntax

lodctr <filename> [/s:<filename>] [/r:<filename>] [/t:<servicename>]

Parameters

Parameter Description
<filename> Specifies the name of the initialization file that registers the performance counter name settings and explanatory text.
/s:<filename> Specifies the name of the file to which the performance counter registry settings and explanatory text are saved.
/r Restores counter registry settings and explanatory text from current registry settings and cached performance files related to the registry.
/r:<filename> Specifies the name of the file that restores the performance counter registry settings and explanatory text.<p>Warning: If you use this command, you’ll overwrite all performance counter registry settings and explanatory text, replacing them with the configuration defined in the specified file.
/t:<servicename> Indicates that service <servicename> is trusted.
/? Displays help at the command prompt.
Remarks
  • If the information that you supply contains spaces, use quotation marks around the text (for example, “file name 1”).

Examples

To save the current performance registry settings and explanatory text to file “perf backup1.txt”, type:

lodctr /s:"perf backup1.txt"

Additional References


MIT License. Copyright (c) 2020-2021 Strontic.