Page 1 of 1

Task Kill

Posted: 09 Jan 2010 00:36
by The Great One
Anyone know how to kill all running task/programs in a batch?

Posted: 09 Jan 2010 06:16
by !k
taskkill /?

Posted: 09 Jan 2010 11:10
by sweener
You would have to use TSKILL if using a home version of Windows XP... or in Windows Server 2000 at least that's been my experience. TSKILL is a bit different from TASKKILL

If !k's suggestion isn't enough, I can help. Or at least make an attempt.

Posted: 09 Jan 2010 16:43
by !k
sweener wrote:You would have to use TSKILL if using a home version of Windows XP... or in Windows Server 2000 at least that's been my experience

Oh, I do not think that there are different operating systems.
Here for this killer promised support NT4, 2000, XP, 2003, Vista

Posted: 09 Jan 2010 20:46
by sweener
That is a really cool resource! But all I was saying is that in an effort to kill some hanging background processes on a server at work, I came across TASKKILL but it was useless to me because it was not a recognized command on Windows Server 2000. Same thing with my home edition XP. But TSKILL worked... there are variances here and there. In order to find PIDs associated with running programs I would use

Code: Select all

query process *
on the windows Server OS and

Code: Select all

qprocess
on my home machine to get a similar output.

So, The Great One, you have varied resources at your fingertips.