25
10
Occasionally one of my computers will get so bogged down that everything locks up, Ctrl+Alt+Del doesn't work, Task Manager won't open, or they work, but are opening so slowly that it will take hours or days to shut down other processes and regain control of the computer, etc.
Is there a way to, for instance, force Task Manager to be highest priority so it always opens immediately with Ctrl+Shift+Esc even when some other process/driver is hogging the CPU? Is there some other program that can run in the background and open immediately like this?
This question isn't about fixing "underlying problems". No matter how much memory you have, it's still possible for a rogue process to eat it all up and lock up the computer in page fault thrashing, hog the CPU, etc. This question is about how to take back control of the computer when that happens.
Basically when these kind of lock-ups happen, I want to open some kind of task manager that pauses every other process and allows me to kill one of them, and then let everything resume so I can save my work, etc. Otherwise my only option is to hold down the power button.
Antifreeze is supposed to do exactly what i want, pausing all other applications and starting a task manager to kill the offender, but in my testing, it actually does neither.
4How can I use cmd when system hangs? – Serhiy – 2015-05-11T17:05:15.637
You don't have to open cmd. Just type & execute the command from Run textfield. But you should know the process name of the application to be killed. – Harikrishnan – 2015-05-11T17:15:22.087
1This doesn't always work. I've observed using /f and it displays a SUCCESS message indicating the process has been terminated, but it still runs and I can re-issue the same command repeatedly and it just gives the same SUCCESS message with the same PID repeatedly without actually terminating the process. – DavidJ – 2015-06-29T15:57:20.027
Make sure you use admin user or run cmd as Administrator. It will work. – Harikrishnan – 2015-06-29T16:30:12.790
1@Harikrishnan: I just ran cmd as Administrator and it didn't work. – SarahofGaia – 2015-08-04T23:40:06.060
@SarahofGaia Paste me the full command you have issued. Also what programme did you try to kill? – Harikrishnan – 2015-08-05T02:54:12.087
@Harikrishnan: First I typed
tasklist
as mentioned. Then I typedtaskkill /f /im vlc.exe
. (Although weirdly enough I don't have VLC installed. Only VLC Portable (through PortableApps.com), but that has the filenamevlcportable.exe
, notvlc.exe
.) – SarahofGaia – 2015-08-06T17:50:38.410@SarahofGaia If the process name listed as
vlcportable.exe
intasklist
, you should use that name in commandtaskkill /f /im vlcportable.exe
– Harikrishnan – 2015-08-07T03:19:03.187Okay. But
vlcportable.exe
doesn't show in command prompt after I typetasklist
. – SarahofGaia – 2015-08-07T17:04:22.333Only
vlc.exe
does. – SarahofGaia – 2015-08-07T17:04:33.187Which I don't understand because I don't have VLC installed. I only have VLC Portable. – SarahofGaia – 2015-08-07T17:04:55.847
But VLC Portable, if I go under Properties, doesn't have
vlc.exe
as its file name, but onlyvlcportable.exe
. – SarahofGaia – 2015-08-07T17:05:33.270it doesn't work with either... The process won't die... – Ahmed Hamdy – 2016-06-09T20:11:21.307
1Add a "/T" to the taskkill to also nuke the child processes. – Ben – 2019-12-05T16:54:56.770