End Task in Windows 10 with No Mouse

Computers
Screenshot of Command Prompt using taskkill command

The other day I was running Unreal Tournament 2004 in a Windows 10 Boot Camp install on my Intel-powered MacBook Pro, and the game locked up. I was able to bring up Task Manager via Ctrl+Shift+Esc, but the mouse cursor–I was using a basic Bluetooth-connected mouse–was not visible (captured by the game still?). I tried using the touchpad too, but no mouse input was working. Being on a MacBook, I didn’t have a Menu key to “right-click” on the UT2004.exe process after I highlighted it via the Tab key, so I couldn’t kill the process the usual way I would.

I found an alternative solution here using the Command Prompt:

  1. Press the Windows+R keys to open the Run prompt and type cmd.exe, then press Enter to open the Command Prompt.
  2. Type tasklist and press Enter to show all running processes.
  3. Type taskkill /F /IM "nameofprocess.exe" /T and press Enter to end that process (in my case, taskkill /F /IM "UT2004.exe" /T).

There are probably other ways to get this done without a mouse, but this worked quickly for my specific situation, on a MacBook Pro, running Windows 10 via Boot Camp.