Auto kill system process when exceeding 80% CPU in windows 2000

Besides the script solution, is there any other quick way of setting the Windows 2000 server to auto kill certain process (in this case dllhost) when it exceeds certain amount of CPU usage?? (in this case 80%)
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
You can set up Performance Monitoring to monitor specific processes, and trigger an action if the cpu load exceeds 80% for say 1 minute.
I can't remember the exact steps, as I did that only a long time ago.
celticianAuthor Commented:
Thanks... if anyone can tellme how... its so diffficult to find info about win 2000 over the internet... i understand its obsolete but we need it so bad :(
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
I have an old 2000 server still running, so I'll try to figure out again how to do it.
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

celticianAuthor Commented:
Oh great thanks, it will be very helpful, you can try with the other script as well that another expert has made and is still open in another question :)
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
celticianAuthor Commented:
Yup thats the other question.
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
1. Create a batch file killing the process by name. There is no way to know the PID from the PerfMon task, so you'll have to kill all, or add effort to determine the correct process in the batch. E.g.:
   @c:\tools\pskill dllhost.exe

2. Create a PerfMon Warning task. The description is a little blurry, sorry for that, because I only have a non-English OS.
Start PerfMon.exe
Open Performance Logs and Warnings » Warnings
Create a new warning via Context Menu. Name it e.g. "DllHost overload"
Add a performance counter for "Process", "dllhost", "CPU time (%)", and close the subform.
Set the warning trigger to "greater as", "80"
Set the interval to something reasonable, like 15 seconds. The average CPU load for this interval needs to go beyond the limit to trigger the action, so in this case the load is over 80% for over 15 seconds.
In the "Action" tab (the next one), check what you think is useful, and the last option to execute an application. Provide the batch file created above.
optionally you can set a time schedule the task should run. If you set nothing up in the last tab, the task will run from now forever, even surviving reboots.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
celticianAuthor Commented:
Thanks for your help, its a nice solution, we have tried some others too.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 2000

From novice to tech pro — start learning today.