If you see the following errors: Log Name: Application If possible, compare the file to backups of the machine to see if the file size has reduced at some point in time.įor many counters, the location of the ini files to install perf counters is under windows\winsxs, such as the ini files for IIS. There's no guarantee that copying this file from another machine will restore all counters. Always create a backup copy before replacing. But if you notice a drastic difference in size, it may be missing information. There may be slight differences in this file from machine to machine. You can copy this file from an identical machine to restore the counters. If you notice this happening, verify the file c:\windows\system32\PerfStringBackup.INI contains the proper information. Sometimes, running lodctr /R may not recover all counters. Get-Service -Name "winmgmt" | Restart-Service -Force -VerboseĬreate a new Data Collector Set (don't use an existing Data Collector Set). Stop and restart the Windows Management Instrumentation service. Get-Service -Name "pla" | Restart-Service -Verbose Stop and restart the Performance Logs and Alerts service. Resync the counters with Windows Management Instrumentation (WMI): WINMGMT.EXE /RESYNCPERF Rebuild the counters: cd c:\windows\system32 To rebuild all performance counters including extensible and third-party counters, type the following commands at an Administrative command prompt. Rebuild all performance counters including extensible and third-party counters A value of 4 means the 64-bit counter is disabled.A value of 2 means the 32-bit counter is disabled.A value of 1 means the counter is disabled.If the value is anything other than 0 the counter may be disabled. As per the article Disable Performance Counters, this value should be set to 0. There may be registry keys for DisablePerformanceCounters in any of these locations. %servicename% represents any service with a performance counter. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\%servicename%\Performance Check the following registry locations to ensure that the counters haven't been disabled: The counters may be disabled via registry settings. Ensure that the counters aren't disabled in the registry To resolve this issue, use the following methods. This behavior may occur if certain extensible counters corrupt the registry, or if Windows Management Instrumentation (WMI)-based programs modify the registry. The error code returned by the registry is data DWORD 0. Unable to read the first counter index value from the registry. Setting up Web Service counters failed, please make sure your Web Service counters are registered correctly. Source: Microsoft-Windows-IIS-W3SVC-PerfCounters You may see the following errors in the application log: Log Name: Application The performance counter libraries may become corrupted and need to be rebuilt. When you use the Performance Monitor tool, some counters may be missing or don't contain counter data. This article helps solve an issue where some performance counter libraries become corrupted and need to be rebuilt.Īpplies to: Windows Server 2012 R2 Original KB number: 2554336 Symptoms
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |