1

I can not kill firefox.exe which appears to be running having some kind of problem. I tried taskkill and the solution in a prevous answer, but as one of the comments says

When I call terminate it returns { ReturnValue = 2; }; and the process continues uninterrupted.

And another comment (where I tried the same thing and had the same problem with an elevated command prompt):

I had the same problem with vmware-vmx.exe, and this method did not work either. The return value was 2. I also tried "delete" instead of "call terminate", but it said "Access denied".

So I would like to know how to terminate a process Task Manager, taskkill and apparently wmic wont kill?

4 Answers4

1

When you absolutely must have root access to a Windows OS you can use the SYSTEM account.

  1. Open cmd.exe as Administrator
  2. Elevate to the SYSTEM user using psexec.exe -i -s cmd.exe
  3. Now kill with the power of SYSTEM taskkill /F /IM firefox.exe

Note: PsExec is a tool written by Mark Russinovich (included in the Sysinternals Suite) and can downloaded here.

UPDATE: This has been an issue for many people in the past. It might be a problem with FireFox itself or an extension. Please update to the latest version of FireFox and Windows then reboot.

After that you can use the FireFox crash reporter to report the issue to the Mozilla development team: https://developer.mozilla.org/en-US/docs/Mozilla/How_to_report_a_hung_Firefox

HackSlash
  • 5,015
1
  1. in the windows search bar search for control panel
  2. goto uninstall program under Program
  3. uninstall Firefox
  4. press the windows key + r
  5. in the box type regedit
  6. under HKEY_CURRENT_USER search for the software directory
  7. then, look for the Mozilla directory and right click it then click delete
  8. reboot your system
grayhat
  • 11
0

This does not fully answer the question, I don't know if grayhat's second answer or HackSlash's suggestion fixes it or not. However I did solve the problem it was causing, I booted into safe mode, which does not allow any extraneous programs to start, then I uninstalled firefox (and reinstalled). I am not marking this as answer because it does not answer the main question (if someone comments that grayhat's or HackSlash's solutions work, I will mark that as answer), but I wanted to leave this here for anyone who has this problem.

Thank you to a user on Mozilla's help forum

-1

On Windows open task manager then, right click on the process you want to kill, instead of clicking on end task, click end process which should kill the process immediately. This has happened to me plenty of times and I would click end task and the process wouldn't die so, I right clicked and saw end process and it worked every time unless it was a virus or something. If this doesn't work goto add or remove programs and uninstall firefox then,

1). Press the (windows_key + r) on keyboard and type regedit in the box

2). On the left side goto I believe it's USER_HEY or something to that degree. Scroll down to the software folder and expand the folder and right click on the the firefox file and click delete in the popup menu.

3). Restart your computer

4). After bootup redownload firefox, open it and try to see if you can kill it.

The first 3 steps usually helps me to get rid of viruses that may be affecting one or more files on my system because, some viruses like to live in the registry. Step 3 will ensure that the settings and uninstallations have taken place.

grayhat
  • 11