How to kill a process through a DOS prompt in NT

Wizzah

Banned
Aug 28, 2000
28
0
0
Hello!

In Windows NT, using a dos prompt from my system how can I stop a program
from running on a remote PC. Example:

An agent has Nt_rec.exe running on their machine in Columbus. When this
program loads upon startup it is grabbing the information from the agents
AGENT.INI file which has an incorrect IP address. My script goes out and
updates the IP to the correct address. I now need to STOP nt_rec.exe
from running on the agents machine, and restart it. Restarting it is not a
problem, but I do not know the command to stop a program. The stations in
Columbus are so locked down so the agent can not even hit CNTRL-ALT-DEL to
see the task manager. The login script over there for them is writing the
wrong IP everytime they login, so I need to runt his script until the change
management freeze is over. If there is not a command through NT, do you
know of a small program which could do this?
 

jsm

Banned
Oct 11, 1999
971
0
0
I figured part of this out. I must admit that this has been bothering me just a bit since I wanted to figure out just how the hell you can do this. On Linux, this is a joke. Run something like top and you can figure out the PID and just kill it from there.

Anyhow, first you are going to have to figure out the process id. From there, kill -f XXX (where XXX is the PID).

That should do it. Good luck figuring out the PID, though.