Load PerfMon Counters
lodctr
- C:\Windows\system32\lodctr.exe /?
Output:
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.
Return Code: 0
C:\Windows\system32\lodctr.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
| File | Info |
|---|---|
| File Size | 52224bytes |
| Creation Time | 2019/12/07 18:08:30 |
| LastWrite Time | 2019/12/07 18:08:30 |
| ProductVersion | 10.0.19041.1 |
| FileVersion | 10.0.19041.1 (WinBuild.160101.0800) |
| Hash | Value |
|---|---|
| MD5 | 38983af776238a60e94deef341353378 |
| SHA1 | c67bd43cd017e9285ca9bcba41ac3b922b163f26 |
| SHA224 | ca437f98af35318a8928ca415b912062ba9d0efb0967431a7a9b1224 |
| SHA256 | a68dc00716e93540692ce686922b1cf6d3f216fc9e0396c6d6b7291778dba6ed |
| SHA384 | f855a0f93b27b0abb1070d6f042b8aa04b961e272b45fc1f5ad1124530b9e2cbc78da6f67eb0cba3a9831b89d90d988b |
| SHA512 | f65bbc41151e5ee063815a4d6ebbb128286d5cbd63d3a562143865fba0bd8acf085f897f4c1b3fcdc0108d704a5944100a43580e403591819d369893dccf4d1f |