Comment puis-je force stop a program sans using the souris in Windows 10?

J’essaie de debug a Visual Studio C# Windows application that immediately takes over the desktop and disables mouse control. When it freezes, J’ai besoin de be able to stop it somehow. I can press the windows key or ctrl-alt-delete and access la barre des tâches, but when I move the mouse onto the main part of my screen it’s always an hourglass icon and I can’t interact. So when I faites un clic droit sur to close the application on la barre des tâches and a dialogue pops up asking if Je veux stop debugging, there’s no way for me to click it. J’ai aussi can’t cliquez sur anything in Gestionnaire des tâches.

I looked into how to end tasks from invite de commandes, but the directions don’t make sense. schtasks /end requires a task name argument that seems to take a path, but J’ai no way of knowing what the path is that I’m supposed to input. tasklist returns nom de fichiers and ID numbers, but neither of those work for schtasks.

Quelqu’un a-t-il any suggestions?

Vous pouvez utiliser the invite de commandes to terminate processes:

  • Ouvrez le Run box using Windows+R.

  • Type cmd in the Run box et cliquez sur Enter.

  • Use the command tasklist to list all processes.

  • Use the command taskkill /F /IM "executable name.exe" /T to terminate the process.