PDA

View Full Version : RE: Kill porcess (WXP-Pro)



Wogboy222
02-23-2006, 08:13 PM
Is there anyway to kill a process ran?

Thank's Wogboy222





<font color=blue> I Here to Help! </font color=blue>

<font color=red> Wog_Hacker@Yahoo.com</font color=red>

tom_keefer
02-24-2006, 09:33 AM
If I read you correctly, open Task Manager, select the Process tab, highlight the process you wish to end and hit the End Process button.

<font color=purple>Tom</font color=purple>


XP Pro SP2 - Intel D925XCV - P4 2.8 GHz, 800MHz FSB, 1MB L2 Cache, HTT, socket 775 - WD 36GB SATA - WD 250GB USB2 HD - 2GB Crucial DDR2 PC2-4200 - Plextor 716A - Chaintech NVIDIA GeForce 6600GT -Samsung 19" LCD -

jdharm
02-24-2006, 02:06 PM
And since you posted this in the Scripting forum I'll assume you might want the VBS code:



for each Process in GetObject(_
"winmgmts:{impersonationLevel=impersonate,(Debug)}")._
InstancesOf("win32_process")
If Process.Name ="<font color=blue>process_name</font color=blue>" then
Process.Terminate Process.ProcessID
else
End If
next



Josh
<a target="_blank" href=http://www.jdharm.com>www.jdharm.com</a>

Wogboy222
02-25-2006, 01:45 AM
Sorry Guy's About My Lack of Info.
But Thank's
Thks JDHARM!

Also on the subject of processes, I wrote a program that moniters process for the exe "expires.exe"? How stable would this script be?

If you wish to copy i'll send it to your address.



<font color=blue> I Here to Help! </font color=blue>

<font color=red> Wog_Hacker@Yahoo.com</font color=red>