C:\> taskkill /?
TASKKILL [/S
system [/U username [/P
[password]]]]
{ [/FI filter] [/PID processid | /IM imagename] } [/F] [/T]
{ [/FI filter] [/PID processid | /IM imagename] } [/F] [/T]
Description:
This command line tool can be used to end one or more processes.
Processes can be killed by the process id or image name.
This command line tool can be used to end one or more processes.
Processes can be killed by the process id or image name.
Parameter
List:
/S system Specifies the remote system to connect to.
/S system Specifies the remote system to connect to.
/U [domain\]user Specifies the user context
under
which
the command should execute.
the command should execute.
/P [password] Specifies
the password for the
given
user context. Prompts for input if omitted.
user context. Prompts for input if omitted.
/F
Specifies to forcefully
terminate
process(es).
process(es).
/FI
filter Displays a
set of tasks that match
a
given criteria specified by the filter.
given criteria specified by the filter.
/PID process id Specifies the PID of
the process
that
has to be terminated.
has to be terminated.
/IM image name Specifies the
image name of the
process
that has to be terminated. Wildcard '*'
can be used to specify all image names.
that has to be terminated. Wildcard '*'
can be used to specify all image names.
/T
Tree kill: terminates the specified
process
and any child processes which were started by it.
and any child processes which were started by it.
On
older operating systems there is a "kill" command in the Resource Kits and/our
you can set up the RCMD service that uses NTLM security to let you work with a
remote command line console.
Best
Regards
Andy Schmidt
Phone: +1 201 934-3414 x20
(Business)
Fax: +1 201 934-9206
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sharyn Schmidt
Sent: Thursday, June 15, 2006 08:20 AM
To: declude.junkmail@declude.com
Cc: Imail_Forum@list.ipswitch.com
Subject: [Declude.JunkMail] WAY OT: command line for killing a win2k process
Hi,
I'm going to take a minute to pick at all the incredibly knowledgable brains here.
I need to create a batch file for killing a process remotely on a win2k terminal server.
Anyone know what the syntax is off the top of their heads?
Correct me if I'm wrong, but I believe net stop can only be used on services, this is acutally a process that can be seen from task manager.
Thanks!
Sharyn
---
This E-mail came from the Declude.JunkMail mailing list. To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail". The archives can be found
at http://www.mail-archive.com.
---
This E-mail came from the Declude.JunkMail mailing list. To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail". The archives can be found
at http://www.mail-archive.com.