Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a service running on a large number of servers, that logs Windows Performance Counters to a central logging system. The service is written in .Net, and runs as the build-in account "Network Service".

This works fine on Windows 2003, but on Windows 2008 R2 the service cannot see any instances in the "SQLServer:Databases" category, or any of the other SQLServer categories. If i change the service to run as a local administrator, it sees the instances just fine.

For all non-SQLServer categories (e.g. LogicalDisk), Network Service can see the instances just fine.

Is it possible to set up the access rights, so that Network Service can see the performance counter instances? Or can anyone explain this difference between Windows 2005 and 2008 R2?

SQL Server version is 2005.

share|improve this question

You should be able to access these by adding NETWORK SERVICE to the local Performance Monitor Users group...

share|improve this answer
Thanks. That solved it :-) Quite obvious when you think about it - but apparently not obvious enough that I came up with it :-P – Simon Kepp Nielsen Sep 6 '11 at 13:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.