PerfMon カウンターのロード
lodctr
- C:\Windows\system32\lodctr.exe /?
Output:
LODCTR
パフォーマンス カウンターに関連するレジストリ値を更新します。
使用法:
LODCTR <INI ファイル名>
カウンター テキスト文字列をインストールします。INI ファイル名は、
拡張可能カウンター DLL のカウンター名定義と
説明を含む初期化ファイルの名前です。
LODCTR /C:<ファイル名>
<ファイル名> を使用してカウンター テキスト文字列をアップグレードします
LODCTR /H:<ファイル名>
<ファイル名> を使用してヘルプ テキスト文字列をアップグレードします
LODCTR /L:<LangID>
/C および /H コマンドで使用する言語を指定します
LODCTR /S:<バックアップ ファイル名>
現在のパフォーマンス レジストリの文字列と
情報を <バックアップ ファイル名> に保存します
LODCTR /R
現在のレジストリ設定とバックアップ INI ファイルに基づいて
パフォーマンス レジストリを最初から再構築します。
LODCTR /R:<ファイル名>
<ファイル名> を使用してパフォーマンス レジストリの文字列と情報を復元します
LODCTR /T:<サービス名>
指定したパフォーマンス カウンター プロバイダーを信頼済みとして設定します。
LODCTR /Q
パフォーマンス カウンター プロバイダーの情報を表示します。
LODCTR /Q:<サービス名>
特定のプロバイダーについて、パフォーマンス カウンター
プロバイダーの情報を表示します。
LODCTR /E:<サービス名>
パフォーマンス カウンター プロバイダーを有効にします。
LODCTR /D:<サービス名>
パフォーマンス カウンター プロバイダーを無効にします。
LODCTR /M:<カウンター マニフェスト> [<インストール パス>]
指定した XML マニフェストを使用して v2.0 パフォーマンス
カウンター プロバイダーをインストールします。
インストールには、パフォーマンス カウンター リソース
(ローカライズされた文字列) が含まれている DLL の完全なパスが
必要です。DLL のパスは次のようにして決定されます。
マニフェスト内の applicationIdentity 属性が完全なパスで
ある場合は、そのパスが使用されます。
そうでない場合、<インストール パス> が指定されていて
完全なパスであれば、そのパスが使用されます。
そうでない場合、<カウンター マニフェスト> が完全なパスであれば、
<カウンター マニフェスト> のディレクトリとマニフェスト
内の applicationIdentity 属性の DLL 名が組み合わされます。
そうでない場合、現在のディレクトリと、マニフェスト内の applicationIdentity
属性の DLL 名が組み合わされます。
注: 名前にスペースを含む引数を指定する場合は、二重引用符で
囲む必要があります。
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:52 |
| LastWrite Time | 2019/12/07 18:08:52 |
| ProductVersion | 10.0.19041.1889 |
| FileVersion | 10.0.19041.1889 (WinBuild.160101.0800) |
| Hash | Value |
|---|---|
| MD5 | 38983af776238a60e94deef341353378 |
| SHA1 | c67bd43cd017e9285ca9bcba41ac3b922b163f26 |
| SHA224 | ca437f98af35318a8928ca415b912062ba9d0efb0967431a7a9b1224 |
| SHA256 | a68dc00716e93540692ce686922b1cf6d3f216fc9e0396c6d6b7291778dba6ed |
| SHA384 | f855a0f93b27b0abb1070d6f042b8aa04b961e272b45fc1f5ad1124530b9e2cbc78da6f67eb0cba3a9831b89d90d988b |
| SHA512 | f65bbc41151e5ee063815a4d6ebbb128286d5cbd63d3a562143865fba0bd8acf085f897f4c1b3fcdc0108d704a5944100a43580e403591819d369893dccf4d1f |