Controlling performance monitor (perfmon) via GPO?

  • Thread starter Thread starter A.J. Fried
  • Start date Start date
A

A.J. Fried

Has anyone come across a way to define (via GPO) a way to tell a machine to
turn on various performance counters, log data to a file, etc - eg - all of
the things you can do locally on a machine with respect to settiing up
performance data collection.

My goal is to grate a GPO that defines this and then simply by putting a
machine in the proper OU, I can make it perf-mon itself according to rules
I set up in the GPO.

Thoughts?

Maybe there's a custom ADM for this?

Thanks.

--> A.J. Fried
 
I think scripting and Task Scheduler will be more appropriate for what you
want.

1. Setup a perfmon log with the desired objects and counters.
2. From the Options Log menu, specify the location and filename for the log
and
then click save.
3. From the file menu, select Save Settings as, and give the settings file a
name.
4. Create a batch file that runs "perfmon.exe settings.pml" where
setting.pml
is the name of the settings file you created in step 3.
5. Use AT or Task Scheduler to run the .bat file when you want perfmon to
start
logging.
6. Create a batch file that runs Kill.exe perfmon.exe
7. Schedule the kill.bat file to run when you want to stop the log.
 
Back
Top