Jonathan Allen
Jonathan Allen

Reputation: 70337

How do I read performance counters in a .NET application without running as an administrator?

How do I read performance counters in a .NET application without the application running as an administrator?

The application is a Windows Service. The account it will run under is known at install time, so in theory I could add any non-admin permissions to that account at that time.

Upvotes: 0

Views: 146

Answers (1)

Jim W
Jim W

Reputation: 4970

Can you add that account to the system's Performance Monitor Users group during install?

Reference:

Upvotes: 2

Related Questions