PerfMon problems - Unable to Add Counters

Anonymous
2010-02-02T05:36:57+00:00

Hello everyone.  I registered just to ask this question, which I could not find after quite a long while consulting Google.  I come to you all in hopes that where Google failed, you will not!

I use a program that some of you may be familiar with, called Samurize (http://www.samurize.com/modules/news/), which does a lot of things; what I use it for the most is the ability to, at a glance, discern my CPU usage, RAM usage, network information, uptime, harddrive space, and my calendar schedule, among other things.  I know it's an old program and I know that it was designed for Windows 2000/XP, but it has worked without a hitch (excluding this one) on both Vista and Windows 7.

Recently, though, the ability to monitor CPU, RAM, upload and download speeds, and uptime has gone; all of them give me a flatline, reporting that I'm not using the internet at all, or my computer for that matter (except Uptime, which reports that I've been on my computer for 49 days, 17 hours, 2 minutes, and 47 seconds...it refuses to go up!).  Originally, I thought it was a problem with the program.  It isn't; it has something to do with Perfmon.  When I load up perfmon.exe through the Run box, it loads up with an error, that says:

"Unable to add these counters:

\Memory\Available MBytes

\Memory% Committed Bytes In Use

\Memory\Cache Faults/sec

\Memory\Cache Faults/sec

\PhysicalDisk(*)%Idle Time

\PhysicalDisk(*)\Avg. Disk Queue Length

\Network Interface(*)\Bytes Total/sec"

That's not me accidentally saying the same thing twice...it says what I've typed out verbatim. [Edit:] Just remembered: other system monitors are perfectly fine.  The task manager of course runs fine, but gadgets seem to work fine at reporting my RAM and CPU usage, along with my download and upload speeds. [/edit]

This is pretty much the sum of my progress into the problem.  I've found this page (http://support.microsoft.com/default.aspx/kb/300956), which seems like it would fix the problem...but, being a lazy boned man, I'm hoping that there's an easier solution than that, one that isn't 'reformat.'

Other pertinent information:

Windows 7 x64 Professional

Updated with all official updates

Recently switched from wireless internet to wired (aside from this, I can't thing of any changes I've made with my computer)

Thanks in advance!

Windows for home | Previous Windows versions | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2010-02-23T21:27:06+00:00

    Hello SensaiOpti,

    I had the same problem. From a level your pointers to the perfmon Counters are corrupted, you have to rebuild these with LODCTR from a elevated command prompt:

    Click Start, type cmd right click cmd.exe, and select Run as administrator.

    At the prompt, type lodctr /r and press ENTER. This will repair the pointers (those are stored in the registry).

    C:\Windows\system32>lodctr /r

    Info: Successfully rebuilt performance counter setting from system backup store

    After this action it is possible that some providers are disabled. You can check the status with lodctr /q.

    C:\Windows\system32>lodctr /qPerformance Counter ID Queries [PERFLIB]:    Base Index: 0x00000737 (1847)    Last Counter Text ID: 0x00001560 (5472)    Last Help Text ID: 0x00001561 (5473)

    [.NET CLR Data] Performance Counters (Enabled)    DLL Name: netfxperf.dll    Open Procedure: OpenPerformanceData    Collect Procedure: CollectPerformanceData    Close Procedure: ClosePerformanceData    First Counter ID: 0x00001080 (4224)    Last Counter ID: 0x0000108C (4236)    First Help ID: 0x00001081 (4225)    Last Help ID: 0x0000108D (4237)

    etc

    If it says (Disabled) next to a provider, you can enable it with lodctr /e:<provider name>. Use for <provider name> the string between the [ ] at the beginning  of the entry.

    Succes

    187 people found this answer helpful.
    0 comments No comments

33 additional answers

Sort by: Most helpful
  1. Anonymous
    2010-02-03T02:52:55+00:00

    Hi,

    If you are having problems opening performance monitor, then I suggest you to enable built in administrator account and check if it helps.

    Follow the below mentioned steps:

    1. Open the Local Users and Groups manager.
    2. In the left pane, click on the Users folder.
    3. In the middle pane, right click on Administrator and click on Properties.
    4. To Enable the Built-in Administrator Account -

     a) Uncheck the Account is disabled box. 

     b) Go to step 6.

    1. To Disable the Built-in Administrator Account -

     a) Check the Account is disabled box.

    1. Click on OK.
    2. Close the Local Users and Groups window.
    3. Log off, and you will now see the built-in Administrator account log on icon added (enabled) or removed (disabled) from the log on screen.

    NOTE: Click on the Administrator icon to log on to the built-in Administrator account.

    Now from the above provided steps you need to check whether you are able to resolve the issue, if you are able to fix the issue with default administrator account then you need

    to follow the below provided step to create a new user account and check for the issue.

    http://windows.microsoft.com/en-US/windows7/Fix-a-corrupted-user-profile

     Regards,

    Afzal-Microsoft Support.

    Visit our Microsoft Answers Feedback Forum and let us know what you think.

    0 comments No comments
  2. Anonymous
    2010-02-03T03:35:42+00:00

    I followed the steps that you outlined above and it didn't solve the problem.  Using Run, perfmon still returned the same messages about not being able to add counters.

    Any other ideas?

    0 comments No comments
  3. Anonymous
    2010-02-05T04:59:43+00:00

    I'm taking that as a no?

    I'm 100% sure that this problem is not that uncommon; surely SOMEONE has an answer.

    0 comments No comments
  4. Anonymous
    2010-02-25T11:20:11+00:00

    Thank you Progas

    Ant

    0 comments No comments