Problem :
I have a process in windows command which cannot be killed. I tried taskkill and all the shortcuts in this postLinuxlike Ctrl-C (KeyboardInterrupt) for the Windows cmd line?
It refuses to die, even Windows task manager doesn't work to kill the command prompt. This program is resistant.
43 Answers
Ctrl + C should stop a program running from the command prompt, similar to linux.
If that doesn't work try to force kill a process from the command prompt, using the following command:
taskkill /F /IM process.exe/F will force termination of the process, /IM means you're going to provide the running executable that you want to end, thus process.exe is the process to end.
tried using alt + F4?
3I was in a similar situation where exit() and Ctrl+Z were the commands used to escape.
Typically entering exit (or logout) will provide you with assisting information, in my case I had the following output:
1Use exit() or Ctrl-Z plus Return to exit
In Windows:
First try: Ctrl + C If it doesn't work then try pressing q
In MAC OS:
Press Cmd + C or Ctrl + C or q