2

I am trying to setup Performance Counters on a Windows Server 2008 R2 server and have successfully setup the counters. The problem is that I need to manually start the counters each time the server is restarted.

I found a neat trick to add the "logman" command to the registry to start the counters automatically, however, this command does not work because the command requires elevation.

Is there a way to elevate this command? Please note that as I have the command in the registry, I am unable to just simply run the CMD program as Administrator. I am happy to consider any suggestions or work arounds, so long as they are simple and work!

pjscott
  • 23

1 Answers1

0

Possibly you could use srvany.exe from the windows 2003 server resource kit, and launch Logman as a service.

There are several ways you might accomplish this - start the service with credentials, or use logman command line credentials

RobW
  • 2,816