Lodctr
Registers new Performance counter names and Explain text for a service or device driver, and saves and restores counter settings and Explain text.
Syntax
lodctr
FileName [/s:FileName] [/r:FileName] [/t:ServiceName]
Parameters
-
FileName
-
Registers the Performance counter name settings and Explain text provided in initialization file FileName.
-
/s:
FileName
-
Saves Performance counter registry settings and Explain text to file FileName.
-
/r
-
Restores counter registry settings and Explain text from current registry settings and cached performance files related to the registry. This option is available only in the Windows Server 2003 family of operating systems.
-
/r:
FileName
-
Restores Performance counter registry settings and Explain text from file FileName.Caution
-
If you use the lodctr /r command, you will overwrite all Performance counter registry settings and Explain text, replacing them with the configuration defined in the file specified.
-
/t:
ServiceName
-
Indicates that service ServiceName is trusted.
-
/?
-
Displays help at the command prompt.
Caution
-
Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.
Remarks
-
If the information that you supply contains spaces, use quotation marks around the text (for example, "File Name").
Examples
To save the current Performance registry settings and counter Explain text to file perf backup1.txt, type:
lodctr /s:"perf backup1.txt"
Formatting legend
|
Format
|
Meaning
|
|
Italic
|
Information that the user must supply
|
|
Bold
|
Elements that the user must type exactly as shown
|
|
Ellipsis (...)
|
Parameter that can be repeated several times in a command line
|
|
Between brackets ([])
|
Optional items
|
|
Between braces ({}); choices separated by pipe (|). Example: {even|odd}
|
Set of choices from which the user must choose only one
|
|
Courier font
|
Code or program output
|
See Also