20
7
I am trying to kill chrome on my computer. I ran command prompt as an admin and ran:
C:\WINDOWS\system32>tasklist /FI "IMAGENAME eq chrome.exe"
This returned one item:
Image Name PID Session Name Session# Mem Usage
========================= ======== ================ =========== ============
chrome.exe 8336 Console 2 420,324 K
However, I couldn't kill it with /IM:
C:\WINDOWS\system32>taskkill /IM "chrome.exe" /F
Because it returned:
ERROR: The process "chrome.exe" with PID 8336 could not be terminated.
Reason: There is no running instance of the task.
So I tried to kill it with /PID:
C:\WINDOWS\system32>taskkill /PID 8336 /F
Which returned something similar:
ERROR: The process with PID 8336 could not be terminated.
Reason: There is no running instance of the task.
Attempting to kill it through task manager doesn't work either. How do I kill chrome without restarting my computer?
Relevant Why sometimes Windows cannot kill a process?
– DavidPostill – 2017-02-26T20:57:24.450AFAIK chrome has always several processes, is this problem persistent after a restart of the pc? You could try
powershell.exe "Get-Process chrome | Stop-Process"
– LotPings – 2017-02-26T21:13:00.243@LotPings I was able to kill all other chrome processes with task manager but this one stuck around. – Jon – 2017-02-26T21:40:12.210
2Try:
wmic process where name="chrome.exe" call terminate
from an elevated as administrator command prompt and report back your results afterwards. – Pimp Juice IT – 2017-02-26T21:47:32.393Frank with the big bank, did you find a solution yet or try any suggestions? – Pimp Juice IT – 2017-02-27T20:24:33.183
I left for a while and when I came back my keyboard stopped working, so I just restarted my computer. This killed the task so I'm not able to try anything any of the comments say. – Jon – 2017-02-27T21:59:06.220
@PimpJuiceIT That worked! I get this every time I use chrome so I will report back if LotPings works. – user5389726598465 – 2018-04-01T21:44:33.183
LotPings' cmd did not work. – user5389726598465 – 2018-05-06T09:48:37.813
4I tried this with a
chrome
process that hung after being launched by VS Code -- even after closing Code the process wouldn't die. When I call terminate it returns{ ReturnValue = 2; };
and the process continues uninterrupted. – Coderer – 2019-04-09T08:41:12.600