Re: [Declude.JunkMail] WAY OT: command line for killing a win2k process

2006-06-15 Thread e. ballerini

www.sysinternals.com : look for pskill

it's a free utility.


Erminio



Sharyn Schmidt schreef:


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. 







--
Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de
geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u
verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat
aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband
houdt met risico's verbonden aan het elektronisch verzenden van berichten.



---
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.



RE: [Declude.JunkMail] WAY OT: command line for killing a win2k process

2006-06-15 Thread Andy Schmidt
Title: WAY OT: command line for killing a win2k process



C:\ taskkill /?

TASKKILL [/S 
system [/U username [/P 
[password { [/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.

Parameter 
List: /S 
system Specifies the 
remote system to connect to.

 
/U [domain\]user Specifies the user context 
under 
which 
the command should execute.

 
/P [password] Specifies 
the password for the 
given 
user context. Prompts for input if omitted.

 
/F 
Specifies to forcefully 
terminate 
process(es).

 
/FI 
filter Displays a 
set of tasks that match 
a 
given criteria specified by the filter.

 
/PID process id Specifies the PID of 
the process 
that 
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.

 
/T 
Tree kill: terminates the specified 
process 
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 
RegardsAndy SchmidtPhone: +1 201 934-3414 x20 
(Business)Fax: +1 201 934-9206 



From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Sharyn SchmidtSent: 
Thursday, June 15, 2006 08:20 AMTo: 
declude.junkmail@declude.comCc: 
Imail_Forum@list.ipswitch.comSubject: [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. Tounsubscribe, just send an E-mail to [EMAIL PROTECTED], 
andtype "unsubscribe Declude.JunkMail". The archives can be foundat 
http://www.mail-archive.com. 

---This E-mail came from the Declude.JunkMail mailing list.  Tounsubscribe, just send an E-mail to [EMAIL PROTECTED], andtype "unsubscribe Declude.JunkMail".  The archives can be foundat http://www.mail-archive.com.


RE: [Declude.JunkMail] WAY OT: command line for killing a win2k process

2006-06-15 Thread Dan Shadix
Title: WAY OT: command line for killing a win2k process



On XPandW2K3 the sc command can be used for 
this. It think sc is also available on 2K (maybe in the resource 
kit).

sc \\computername stop 
servicename

sc /? for details


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Sharyn SchmidtSent: 
Thursday, June 15, 2006 6:20 AMTo: 
declude.junkmail@declude.comCc: 
Imail_Forum@list.ipswitch.comSubject: [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. Tounsubscribe, just send an E-mail to [EMAIL PROTECTED], 
andtype "unsubscribe Declude.JunkMail". The archives can be foundat 
http://www.mail-archive.com. 

---This E-mail came from the Declude.JunkMail mailing list.  Tounsubscribe, just send an E-mail to [EMAIL PROTECTED], andtype "unsubscribe Declude.JunkMail".  The archives can be foundat http://www.mail-archive.com.


RE: [Declude.JunkMail] WAY OT: command line for killing a win2k process

2006-06-15 Thread Sharyn Schmidt


www.sysinternals.com : look for pskill

it's a free utility.


This works like a charm! 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.



RE: [Declude.JunkMail] WAY OT: command line for killing a win2k process

2006-06-15 Thread Sharyn Schmidt
Title: Message



Andy?

I'm 
guessing that this has to be run on the machine that one is killing the process 
on?

  
  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy 
  SchmidtSent: Thursday, June 15, 2006 9:03 AMTo: 
  declude.junkmail@declude.comSubject: RE: [Declude.JunkMail] WAY OT: 
  command line for killing a win2k process
  C:\ taskkill /?
  
  TASKKILL [/S 
  system [/U username [/P 
  [password { [/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.
  
  Parameter 
  List: /S 
  system Specifies 
  the remote system to connect to.
  
   /U [domain\]user 
  Specifies the user context under 
  which 
  the command should execute.
  
   /P 
  [password] Specifies the password for the 
  given 
  user context. Prompts for input if omitted.
  
   
  /F 
  Specifies to forcefully 
  terminate 
  process(es).
  
   /FI 
  filter Displays a 
  set of tasks that match 
  a 
  given criteria specified by the filter.
  
   /PID process 
  id Specifies the PID of the process 
  that 
  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.
  
   
  /T 
  Tree kill: terminates the specified 
  process 
  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 
  RegardsAndy SchmidtPhone: +1 201 934-3414 x20 
  (Business)Fax: +1 201 934-9206 
  

---This E-mail came from the Declude.JunkMail mailing list.  Tounsubscribe, just send an E-mail to [EMAIL PROTECTED], andtype "unsubscribe Declude.JunkMail".  The archives can be foundat http://www.mail-archive.com.


RE: [Declude.JunkMail] WAY OT: command line for killing a win2k process

2006-06-15 Thread Andy Schmidt
Title: Message



Hi,

see the /Sswitch, it allows you to set a remote 
system to connect to.

So you couldrun this on your Win XP workstation, per 
example.
Best 
RegardsAndy SchmidtPhone: +1 201 934-3414 x20 
(Business)Fax: +1 201 934-9206 



From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Sharyn SchmidtSent: 
Thursday, June 15, 2006 09:27 AMTo: 
declude.junkmail@declude.comSubject: RE: [Declude.JunkMail] WAY OT: 
command line for killing a win2k process

Andy?

I'm 
guessing that this has to be run on the machine that one is killing the process 
on?

  
  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy 
  SchmidtSent: Thursday, June 15, 2006 9:03 AMTo: 
  declude.junkmail@declude.comSubject: RE: [Declude.JunkMail] WAY OT: 
  command line for killing a win2k process
  C:\ taskkill /?
  
  TASKKILL [/S 
  system [/U username [/P 
  [password { [/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.
  
  Parameter 
  List: /S 
  system Specifies 
  the remote system to connect to.
  
   /U [domain\]user 
  Specifies the user context under 
  which 
  the command should execute.
  
   /P 
  [password] Specifies the password for the 
  given 
  user context. Prompts for input if omitted.
  
   
  /F 
  Specifies to forcefully 
  terminate 
  process(es).
  
   /FI 
  filter Displays a 
  set of tasks that match 
  a 
  given criteria specified by the filter.
  
   /PID process 
  id Specifies the PID of the process 
  that 
  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.
  
   
  /T 
  Tree kill: terminates the specified 
  process 
  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 
  RegardsAndy SchmidtPhone: +1 201 934-3414 x20 
  (Business)Fax: +1 201 934-9206 
  ---This E-mail came from the 
Declude.JunkMail mailing list. Tounsubscribe, just send an E-mail to 
[EMAIL PROTECTED], andtype "unsubscribe Declude.JunkMail". The archives 
can be foundat http://www.mail-archive.com. 

---This E-mail came from the Declude.JunkMail mailing list.  Tounsubscribe, just send an E-mail to [EMAIL PROTECTED], andtype "unsubscribe Declude.JunkMail".  The archives can be foundat http://www.mail-archive.com.