What Is Shortcut Command to Kill Process in Windows Command?

Problem :

I have a process in windows command which cannot be killed. I tried taskkill and all the shortcuts in this post Linuxlike 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.

4

3 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?

3

I 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:

Use exit() or Ctrl-Z plus Return to exit

1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest