Today's stupid nerd trick.
Oct. 23rd, 2015 01:31 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Killing a task from the command line on windows.
If, for example, you've got a fullscreen app that's somehow grabbed the screen topmost but not necessarily focus, and frozen, and WILL NOT release it, but other apps are responding and you can, say, see them under Peek and use the start menu, etc? But you can't get any other window to actually appear on the screen where you can click on them?
(That situation is not as hypothetical as you might believe. Repeatable, even.)
Well then, open Task Manager with ctrl-alt-del and use peek to see the name of the frozen application, open an elevated command prompt with start ->cmd-> Run As Administrator, and then type, blind, "taskkill /im [name]" and press enter. This will kill the stupid goddamn application that won't come back and won't go away.
If, for example, you've got a fullscreen app that's somehow grabbed the screen topmost but not necessarily focus, and frozen, and WILL NOT release it, but other apps are responding and you can, say, see them under Peek and use the start menu, etc? But you can't get any other window to actually appear on the screen where you can click on them?
(That situation is not as hypothetical as you might believe. Repeatable, even.)
Well then, open Task Manager with ctrl-alt-del and use peek to see the name of the frozen application, open an elevated command prompt with start ->cmd-> Run As Administrator, and then type, blind, "taskkill /im [name]" and press enter. This will kill the stupid goddamn application that won't come back and won't go away.
(no subject)
Date: 2015-10-24 11:47 pm (UTC)