Basically the question is what is the Windows equivalent to Linux' changing tty, login in and killing processes from there?
Situation: Once in a while I switch back to Windows to play games when there seems no reasonable way to get them running under Linux. Problem is, that some of these games tend to crash frequently (screen freeze). However, when I try to open the task manager, I will get a black screen or simply cannot get out of the game, requiring me to restart my computer. Being a while into Linux, were you are usually not required to restart just because of unimportant applications, I figured that Windows might have considered the problem, too. Might be I want to run another important application in background that should not stop during playtime.
tl;dr How to kill processes in windows, or interact with the commandline when it's not possible to switch to Task Manager rsp. Alt-Tab to any other window, including commandline and PowerShell via offline solutions that require no additional applications?
Edit: What I already tried, but did not work ingame:
Try go get to cmd/taskmanager:
Ctrl+Alt+Del<-- proves that the machine is still responsive as it does switch to the menu where I can select task manager, but once I click I just get a task bar with black windows above or the frozen game screen, but no working window...Ctrl+Shift+EscWin+xWin+r
Try to exit application:
Alt+F4press red X-button at right corner(not responsive when frozen)
Try to switch to other windows:
Alt+Tab
Open new virtual desktop:
Win+TabCtrl+Win+Tab
It seems, Windows key bindings are context-sensitive. Any other options how to force quit an unresponsive application?
What would (probably) work:
Switch userviaCtrl+Alt+Del(but it seems excessive to create another user just for the purpose of killing a process)sign out, sign in(but this also closes applications that should still be responsive, which is what I want to avoid, but at least better than a full restart)
I figured that until now, the following seems to work (the latter is not always available, but the former seems to work reliably up to now):
Task Manager -> Options > Always on Top- I created a shortcut for
C:\Windows\System32\taskkill.exe /f /fi "status eq not responding"which I pinned to taskbar
However, this does not seem to scale well, what if I need more than just close a process via Task Manager or call another command, e.g. not kill all processes that do not respond but just one specific for which I yet have to figure out the PID?