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 an "Alert" setup in perfmon, but it gives me only two options to start it:

  1. Manualy
  2. At an specified time (schedule)


How to Setup Perfmon to Automaticaly Start an "Alert" At System Startup?

I know I can type "logman start {alert-name}" to start the alert, but how to run this command automaticaly at system startup?

One solution is to create a .bat with this command and leave it at "Startup" folder. But, it would require to logon to trigger this .bat.

So... what are the alternatives?

share|improve this question
up vote 7 down vote accepted

You can create a "Scheduled Task" to run on system startup. Have a look at "Schedule" properties of a task and you'll see what I'm talking about.

share|improve this answer
Like Evan says...create your batch file and then create a scheduled task to run the batch file at startup. – TheCleaner Jun 5 '09 at 17:55

Try a computer startup script: Start | Run | gpedit.msc | Computer Configuration | Windows Settings | Scripts (Startup/Shutdown).

share|improve this answer

There's a better way if you're on Windows Server 2008. You can use Task Scheduler to run a data collector set at startup without having to use batch files:

share|improve this answer

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.