Hiho,
i was hired by a client which Windows 2003 Terminalserver had problems running the 2x Terminal Server Agent with the error message:
Code:
2X Terminal Server Agent: Failed to initialize performace layer
I tried a few things all without success:
- running 2xperfrepair.exe (does this actually repair ANYTHING? seems to me it only runs checks on the counters but does not repair....)
- following the http://support.microsoft.com/kb/300956 (How to manually rebuild Performance Counter Library values ) article
- applying new/old perflib dlls
so after this all failed i figured out its no problem that my counters are wrong... the problem is that some counters were MISSING like the ones for processor and memory usage.
to fix this:
download exctrlst.exe exe from the microsoft resource kit:
http://www.microsoft.com/downloads/deta ... 3193604ba4
run this tool and click the checkboxes to all entrys with Perf in front of his name (PerfOS, PerfNet and so on) or just select all of them.
then refresh, run the tool again and check if they are still selected (enabled).
after this start the TerminalServer Agent, and houllalala it works again!