web analytics
what to do when you have a performance counter issue
« on: August 09, 2018, 12:03:34 pm »
Hi All

i just resolved (hopefully) an error that i saw like below

Unloading the performance counter strings for service WmiApRpl (WmiApRpl) failed

the above was in the applications log because i took the time to look at the logs. this is because all of a sudden when ever i play a game (regardless of the resource requirements) the OS all of a sudden halt where it even don't response to CRTL+ATL+DEL. so i resolved it as below

i loaded the command prompt as administrator
run the below command that usually should do the work
C:\Windows\system32>lodctr /R

but got the below error
Error: Unable to rebuild performance counter setting from system backup store, error code is 2

C:\Windows\system32>cd ..

C:\Windows>cd syswow64

C:\Windows\SysWOW64>lodctr /R

Info: Successfully rebuilt performance counter setting from system backup store
C:\Windows\SysWOW64>winmgmt.exe /RESYNCPERF


after this you need to restart the system. im still doing tests for about 2 hours but the issue did not reappear. (Y) so i thought i should share with you guys as this might happen to anyone of you.  :)

my OS is win10 but i guess this should be ok for win7 and 8 as well.

if everything went smooth you should see the below entry in the applications logs once the counters were reloaded by the OS. it might happen immediately or it will happen a bit later.

"Performance counters for the WmiApRpl (WmiApRpl) service were loaded successfully. The Record Data in the data section contains the new index values assigned to this service."
« Last Edit: August 09, 2018, 01:43:33 pm by csm1o1 »
Asus z390-P, intel i5 9400, corsair vengence RGB DDR4 16GB*2 @ 2666Mhz, EVGA RTX 2070 black edition, ADATA XPG 240GB NVMe SSD,WD 1TB HD,ADATA XPG Pro 1TB NVMe, samsung evo 850 250gb SSD, Corsair graphite 760T white enclosure, Logitech Z5500 sound system, Acer Predator XB273K monitor,Corsair STRAFE RGB MX RED key board, Logitec G502 protius core mouse, corsair RM750x white PSU