1
vote
1answer
59 views

Taskkill for all running processes that exist in a specific directory

I basically want to combine the following sets of commands. In other words I need to check to see if any executable that exists in c:\apps is running, and if any are, to kill them. Once these ...
0
votes
0answers
93 views

How to know which driver or kernel module prevents process to be killed?

Sometimes I have processes which I can't kill. Process Explorer, Task Manager and others say that "Access denied". I was told that this can be because kernel driver has a bug or something. How to ...
0
votes
3answers
13k views

How to overcome Access Denied when killing process in Windows? [duplicate]

How to kill process which does not want to? I have Access Denied message when trying to kill the process. I know it can be due to device driver waiting and probably this is the reason. But my ...
2
votes
1answer
414 views

taskkill windows command getting hung

I have a few batch files in which I directly call taskkill command to kill running processes (because they interfere with these nightly build scripts). But recently, it seems after some Windows ...
1
vote
1answer
3k views

Unable to terminate process

I can't terminate some processes. It says "Access denied". I am the ultimate owner of the computer. How can I terminate such processed anyway? These are not system processes, these are file managers ...
0
votes
1answer
988 views

taskkill - end tasks with window titles ending with a specific string

I need to write a batch program to end all MS office communicator tasks with window titles (usually ending with pattern "- Conversation" . I tried taskkill /FI "WINDOWTITLE eq *Conversation" ...
4
votes
1answer
7k views

Windows: Fastest way of killing a process running on a specific port

I am going over this process many times. I have to kill a process on a Windows machine and I just know its port. Normally the steps are as below: Find the PID by looking at the ports (example port ...
2
votes
1answer
489 views

How could I kill an instance of cmd.exe that is running a particular batch file?

If I'm running many instances of cmd.exe and only know the name of .bat file one of them executes, could I use taskkill to find and kill exact cmd.exe process?
6
votes
5answers
4k views

How to kill a windows process in a cygwin terminal?

I have a problem regarding how to kill a process in cygwin on windows. I am completely new to cygwin. But i have a task that i simply cant kill. i have tried issuing the following commands: kill 4568 ...
3
votes
2answers
1k views

kill process windows using taskkill

I have a java script which is running and kills some processes according to the pid. I run a shell with command of "taskkill /F /pid " adding the pid of the process. I have a problem that sometimes ...
5
votes
2answers
5k views

Kill process by name and owner?

Before I look into reinventing the wheel and roll my own, is anyone aware of an application/utility that allows me to kill processes, filtering by both process name and process owner? Alternatively ...
4
votes
1answer
673 views

Cannot end Windows 7 process, even tried ntsd

As descriebed in My VirtualBox virtual machine freezes, when I try to use the webcam, I end with a process which can't be deleted by taskmanger, pskill nor even ntsd, which was recommended here. ...
0
votes
1answer
517 views

ZoneAlarm 10 Firewall freezes applications

I have not had any problems with ZoneAlarm 9 Free Firewall, but 10 is a different matter. Problem Whenever I open an application requiring internet access, the following happens: A ZoneAlarm ...
2
votes
1answer
439 views

Simulate keyboard interrupt to gracefully exit task in Windows?

I have a process that doesn't behave when I do a taskkill -f, but the only option taskkill gives me is to kill it with -f. When I have the exe running in the Command Prompt I can hit Ctrl + C twice ...
6
votes
3answers
9k views

Cannot end Windows 7 process, even tried pskill

I am having a problem where processes are hanging and absolutely refuse to die. I have tried using the task manager and pskill from the console (with admin rights) and while the program will state ...
0
votes
4answers
402 views

Killing a process on a Windows machine

How can I kill processes on a Windows machine? Ctrl + Alt + Del only works for the whole system, but I need it for a single process.
21
votes
12answers
39k views

How do I kill a process that is dead but listening?

I'm developing an app that listens on port 3000. Apparently there's an instance of it still listening to the port because whenever I start it, it can't create a listener (C#, TcpListener, but that's ...
3
votes
7answers
17k views

How to stop a bat process on Windows?

I have BAT file running in background on Windows which lasts about ten minutes. Now I want to stop it while it's running, but I can't find its name in the process-list in the task manager. So how can ...
17
votes
9answers
10k views

Why sometimes Windows cannot kill a process?

Right now I'm trying to Run/Debug my application in Visual Studio, but it cannot create it because the last instance of the app.vshost.exe is still running. Then, by using the Task Manager I'm trying ...
6
votes
7answers
17k views

How to monitor and kill a process automatically on windows by process name

Is there a program or utility to monitor the running process and automatically kill specific processes? My work laptop has a whole bunch of useless crap that I cannot uninstall. Some of these ...
2
votes
4answers
4k views

Kill window or application just like linux do

Is there any way to kill or force closed a particular hanging window or hanging application by selecting it with some hotkey? Similar to Ctrl+Alt+Esc and select window in Ubuntu? (I may be ...
2
votes
3answers
9k views

kicking / logging out remote windows users?

I'd like to have something akin to a unix "who" and an option to kick out RDP sessions that are not supposed to be there (i.e. using up the limited number of connections). This is for a win2003 server ...
7
votes
4answers
12k views

Kill a process with a specific “Command Line” from command line

(Feel free to edit the title if you can think of something better) Is there a command line utility that kills all processes with a specific command line? E.g. kill all processes named "java.exe" with ...
2
votes
3answers
2k views

How can I kill a process from the command prompt on Windows NT?

How can I kill a process from the command prompt on Windows NT? Preferably with a tool that comes with the operating system.