Link to home
Start Free TrialLog in
Avatar of paul_at_work
paul_at_work

asked on

Perfmon fails to run any program

I have configured perfmon on a windows xp 64 bit machine to monitor the cpu usage of a running process.

If I tell it to log an entry in the event log this works fine, but if I ask it to launch a batch file, it fails to launch the batch file and logs an entry in the event log stating:

"Unable to execute command '' for the checkbatch alert.   The alert will continue as scheduled. The error code returned is in the data."

i have tried selecting some command arguments, and no command arguments. and it doesnt seem to matter what script of app im trying to launch, i tried notepad.exe and this also fails to pop up when the alert is triggered.

so its log in event viewer, but doesnt run any program. any ideas?
thanks

Avatar of Justin_W_Chandler
Justin_W_Chandler
Flag of United States of America image

have it execute CMD first:

CMD /C YOURBATCH.BAT
ASKER CERTIFIED SOLUTION
Avatar of RobSampson
RobSampson
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial