What is a shortcut command to kill a process in windows command?
Problem:
I have a process in windows command that cannot be killed. I tried taskkill and all shortcuts in this post Linuxlike Ctrl-C (KeyboardInterrupt) for windows command line?
It refuses to die, even the Windows task manager fails to kill the command prompt. This program is stable.
Ctrl + C should stop a program launched from the command line, similar to Linux.
If that doesn't work, try to force kill the process from the command line using the following command:
taskkill /F /IM process.exe
/ F forces the process to terminate, / IM means you are about to provide an executable executable that you want to terminate, so process.exe is the termination process.
tried using alt + F4?
After finishing restarting the computer, none of the suggested solutions worked.
Here's where to use a process hacker:
http://processhacker.sourceforge.net/
Get this, and when you find that the parent process has killed it - it is really good at terminating processes that cannot be found.
for completeness of using taskkill I am using this link:
https://www.howdoiquitv.im/how-do-i/kill-chrome/on-windows/
replace (chrome with cmd.exe)
I was in a similar situation where exit () and Ctrl+ Zwere the commands that were used to exit.
Usually going into the exit (or exit) will give you information, in my case I had the following output:
Use exit () or Ctrl-Z plus Return to exit