Applies to: Windows Server (Semi-Annual Channel), 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.
lodctr <filename> [/s:<filename>] [/r:<filename>] [/t:<servicename>]
||Specifies the name of the initialization file that registers the performance counter name settings and explanatory text.|
||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.|
||Specifies the name of the file that restores the performance counter registry settings and explanatory text.
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.
||Indicates that service
|/?||Displays help at the command prompt.|
- If the information that you supply contains spaces, use quotation marks around the text (for example, "file name 1").
To save the current performance registry settings and explanatory text to file "perf backup1.txt", type:
lodctr /s:"perf backup1.txt"