Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

Removes Performance counter names and Explain text for a service or device driver from the system registry.


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.


unlodctr <drivername>


Parameter Description
<drivername> Removes the Performance counter name settings and Explain text for driver or service <drivername> from the Windows Server registry. If your <drivername> includes spaces, you must use quotation marks around the text, for example "Driver name".
/? Displays help at the command prompt.


To remove the current Performance counter names and Explain text for the Simple Mail Transfer Protocol (SMTP) service, type:

unlodctr SMTPSVC