Lodctr
Updated: April 17, 2012
Applies To: Windows 7, Windows Server 2008 R2
<Insert introduction here, starts with verb – e.g. “Displays…”.> For examples of how this command can be used, see Examples.
Syntax
lodctr <filename> [/s:<filename>] [/r:<filename>] [/t:<servicename>]
Parameters
Parameter | Description | ||
---|---|---|---|
<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 operating system. |
||
/r:<filename> |
Restores Performance counter registry settings and Explain text from file <filename>.
|
||
/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, "<filename>").
Examples
To save the current Performance registry settings and counter Explain text to file perf backup1.txt:
lodctr /s:"perf backup1.txt"