0% found this document useful (0 votes)
446 views2 pages

How To Rebuild Performance Counters On Windows 7, Vista, 2008

This document provides instructions for rebuilding performance counters on Windows Vista/Server 2008 and higher operating systems using the LodCtr.exe tool. It begins by listing the operating systems where this may be necessary. It then details the steps to backup the existing counters, rebuild them from the backup, and check Perfmon to ensure the counters are now displaying properly. Additional LodCtr.exe commands are also listed.

Uploaded by

bilbila
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
446 views2 pages

How To Rebuild Performance Counters On Windows 7, Vista, 2008

This document provides instructions for rebuilding performance counters on Windows Vista/Server 2008 and higher operating systems using the LodCtr.exe tool. It begins by listing the operating systems where this may be necessary. It then details the steps to backup the existing counters, rebuild them from the backup, and check Perfmon to ensure the counters are now displaying properly. Additional LodCtr.exe commands are also listed.

Uploaded by

bilbila
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

How to rebuild performance counters on Windows

Vista/Server2008/7/Server2008R2
YongRhee[MSFT.]
6 Oct 2009 9:57 AM
8
Windows Vista
Windows Server 2008 Service Pack 1
Windows Server 2008 Service Pack 2
Windows 7
Windows Server 2008 R2
When some or all your counters show up as numbers
or
When your counters do not show up
or
Event Type: Error
Event Source: Perflib
Event ID: 1008 and others
In Windows 2000, Windows XP and Windows Server 2003, if you wanted to rebuild the base
O.S. performance counters you had to go thru:
300956 How to manually rebuild Performance Counter Library values
http://support.microsoft.com/?id=300956
or use a tool such as exctrlst.exe to try disabling to see what counter had issues.
Windows 2000 Resource Kit Tool : Extensible Performance Counter List (exctrlst.exe)
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=7ff99683-
b7ec-4da6-92ab-793193604ba4
In Windows Vista/Server 2008 and higher, a very easy command to get your base O.S.
performance counters working:
Click on Start, CMD (evelated as an Administrator)
Type "C:" without the quotation marks and Enter.
Type "CD\windows\system32" without the quotation marks and Enter.
Type "LodCtr.exe /S:Backup_Original.INI" without the quotation marks and Enter.
Note: This let's you backup the performance counters before we rebuild.
Type "LodCtr.exe /R:PerfStringBackup.INI" without the quotation marks and Enter.
Open up Perfmon and check to see if your counters are showing up properly.
P.S. Other commands that you can use with LODCTR.exe
========================================================
C:\>lodctr.exe /?
LODCTR
Updates registry values related to performance counters.
Usage:
LODCTR <INI-FileName>
INI-FileName is the name of the initialization file that contains
the counter name definitions and explain text for an extensible
counter DLL.
LODCTR /S:<Backup-FileName>
save the current perf registry strings and info to <Backup-FileName>
LODCTR /R:<Backup-FileName>
restore the perf registry strings and info using <Backup-FileName>
LODCTR /R
rebuild the perf registry strings and info from scratch based on the cur
rent
registry settings and backup INI files.
LODCTR /T:<Service-Name>
set the performance counter service as trusted.
LODCTR /E:<Service-Name>
enable the performance counter service.
LODCTR /D:<Service-Name>
disable the performance counter service.
LODCTR /Q
LODCTR /Q:<Service-Name>
query the performance counter service information, either query all or s
pecified one.
LODCTR /M:<Counter-Manifest>
install Windows Vista performance counter provider definition XML file
to system repository.
Note: any arguments with spaces in the names must be enclosed within
Double Quotation marks.
========================================================
Perfmon

You might also like