Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.