Solved

Perfmon fails to run any program

Posted on 2009-04-09
2
904 Views
Last Modified: 2013-11-29
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

0
Comment
Question by:paul_at_work
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Expert Comment

by:Justin_W_Chandler
ID: 24130284
have it execute CMD first:

CMD /C YOURBATCH.BAT
0
 
LVL 65

Accepted Solution

by:
RobSampson earned 500 total points
ID: 24135461
Hi, I think for PerfMon, the "Run this program" entry will NOT run unless you click "Command line arguments..." and tick at least one box.  I have just ticked the "Single argument string" box, and it runs the program fine.

See here for how I got a batch file to run with arguments.
http://www.experts-exchange.com/Networking/Protocols/Application_Protocols/Email/SMTP/Q_23662951.html

Regards,

Rob.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

631 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question