views:

1168

answers:

6
A: 

Have you tried to re-install it?

fmsf
I can't find a way to reinstall perfmon without reinstalling windows.
thijs
+1  A: 

Hello there, try the following microsoft solution:

http://support.microsoft.com/default.aspx?scid=kb;en-us;300956

it uses C:\WINDOWS\system32>lodctr.exe /R at the end but you are editing the registry, it might do the trick.

I hope it helps.

mandel
That was a lot of work, but it didn't work. I can see the counters, I can select them, but the graph is still not moving.
thijs
Is there a way you can post a screen print of some type?
mandel
I will do that later, but you can see it yourself if you start perfmon and imagine the graph not moving (staying left all the time, no measurements are taken).
thijs
+1  A: 

Have you tried repairing your Windows Installation ? Using the Windows Installation Disc ?

AB Kolan
No I haven't, I'm afraid that I'll break a the configuration or user profiles if I do that.*Idea* I can try to log in with another user to see if it's user related..
thijs
AB Kolan
Different user didn't matter, repair install doesn't work (at all) because I manually replaced the single cpu kernel with the multi-cpu kernel (all was well after that for a long while).
thijs
+2  A: 

The accepted answer to a possibly related SO question was to call:

lodctr.exe /s:PerfStringBackup.INI

on

... a PC where perfmon works correctly

then copy the file to the affected machine, then before a call to:

lodctr.exe /R:tPerfStringBackup.INI

JeffH
The problem in that question different: there the counter names show up as numbers instead of strings. But I'll try the fix anyway.
thijs
+1  A: 

Right-click the graph. You said Data Source is set to Current Activity. That is on the Source tab. Go to the General tab, down to the bottom. Make sure "Sample automatically every:" is checked, and make sure the sample time is reasonable (1 is the default -- 1 second). If it's already checked, uncheck and then check it again.

DougN
I tried checking/unchecking, changing from 1 tot 10 seconds and everything in between, pressing apply, ok, restarten perfmon in between but nothing got the graph moving again... I'm starting to think that the only option is a reinstall of the machine (which sucks).
thijs
Try installing some other app that also reads the performance counters and see if they are successful. That would tell you if it's the perfmon app itself, or the performance counter infrastructure (which would be hard to break since each counter is implemented in a single DLL)
DougN
I happen to know that PA Server Monitor among many others will read performance counters directly and it has a free trial:http://www.poweradmin.com/servermonitor
DougN
I tried with custom code (which failed), I'll try the external app
thijs
+1  A: 

It sounds like you have been working on this pretty hard. Have you checked http://www.tomshardware.com/forum/117911-45-perfmon? Then you can double check your registry to make sure it is correct. Also, if you have your windows cd, you can copy over a fresh copy of the perfmon files.

jle
I'll try some of that, I didn't see that url before.
thijs
I'll accept this answer because this is the only thing I didn't find by myself.
thijs

related questions