Skip to content

How-ToOS

How to Force-Close a Frozen App or Game in Windows 11

When a game or app freezes and won't close, Windows 11 gives you three ways to force it shut. Following Microsoft's documentation, we show how to use Task Manager, turn on the taskbar's hidden End task option, and use tasklist and taskkill to find and end unresponsive processes.

By , Systems & Technical Editor

3 min read

How to Force-Close a Frozen App or Game in Windows 11

A game that locks up on a black screen, or an app stuck on "Not responding", can leave you staring at a window that won't close. Windows 11 has three built-in ways to force it shut: Task Manager, an End task option on the taskbar and the taskkill command. This guide follows Microsoft's official documentation, plus How-To Geek's walkthrough for Task Manager (credited below).

Method 1: Task Manager

Microsoft says that with Task Manager "you can terminate unresponsive programs". To open it, press Ctrl+Shift+Esc, or right-click Start and select Task Manager. The keyboard shortcut is the one to remember if a full-screen game has frozen on top of everything else.

As How-To Geek's guide describes, select the Processes tab from the left sidebar, find the unresponsive app on the right, right-click it and choose End task. Only end processes you recognise. Our Task Manager guide covers the rest of the tool, and if you want a more detailed view of what each process is doing, see Process Explorer vs Task Manager.

Method 2: End task on the taskbar

Windows 11 can add an End task option to the menu you get when you right-click an app's icon on the taskbar, so you don't need to open Task Manager at all. It's off until you turn it on:

  1. Open Settings and go to System.

  2. Open Advanced. Microsoft says that in Windows 11 version 25H2 and later, the former For developers settings are now on the Advanced page; on earlier versions, look under System > For developers instead.

  3. Turn on End Task, which Microsoft describes as "Enable end task in taskbar by right click".

Now, when an app freezes, right-click its taskbar icon and choose End task. Microsoft notes that on devices managed by an organisation, policies may disable these toggles.

Method 3: taskkill in a terminal

If the desktop is sluggish or you want to close something precisely, use the taskkill command in Terminal, PowerShell or Command Prompt. Microsoft describes it as a tool that "Ends one or more tasks or processes", by process ID or image name.

First, find the process. tasklist lists running processes, and Microsoft's STATUS filter accepts RUNNING, NOT RESPONDING or UNKNOWN, so this shows only frozen ones:

tasklist /fi "STATUS eq NOT RESPONDING"

Then end it by its image name (the .exe name) or by its PID. The /f switch "Specifies that processes be forcefully ended", and /t also ends any child processes the app started:

taskkill /im game.exe /f
taskkill /pid 1234 /f /t

Replace game.exe or 1234 with the name or PID tasklist showed you. You can even end every frozen app in one go by combining taskkill with the same filter. Microsoft says the wildcard character (*) is accepted for /im only when a filter is applied:

taskkill /f /fi "STATUS eq NOT RESPONDING" /im *

Use that one with care, as it will close everything Windows considers unresponsive at that moment, including apps that might have recovered given a few more seconds. If you're new to the command line, start with our Windows Terminal guide.

If apps keep freezing

Force-closing fixes the symptom, not the cause. If a game freezes repeatedly, check Reliability Monitor for a pattern of crashes, and if your screen goes black and recovers with a driver error, see how to fix the display driver stopped responding error. Keeping your graphics drivers up to date is also worth doing.

The bottom line

To close a frozen app in Windows 11, press Ctrl+Shift+Esc to open Task Manager, select the app and choose End task. For quicker access, turn on End Task in Settings > System > Advanced (For developers on versions before 25H2) and right-click the app's taskbar icon. For full control, taskkill /im name.exe /f ends a process from the command line. Any unsaved work in the app will be lost.

Sources

  1. 01Microsoft Support: System configuration tools in Windows
  2. 02Microsoft Learn: Advanced Windows Settings
  3. 03Microsoft Learn: taskkill
  4. 04Microsoft Learn: tasklist
  5. 05How-To Geek: How to Close Unresponsive Apps on Windows 11

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

How to Check Your PC's Uptime and Last Boot Time in Windows 11

How-To

How to Check Your PC's Uptime and Last Boot Time in Windows 11

How long has your PC been running since it last started? We show three built-in ways to check uptime and last boot time in Windows 11, using Task Manager, the systeminfo command and PowerShell, and explain why Fast Startup can make the uptime look longer than you expect.

Marcus Thorne3 min

Robocopy vs Xcopy: Which Windows Copy Command Should You Use?

Versus

Robocopy vs Xcopy: Which Windows Copy Command Should You Use?

Windows 11 includes two command-line tools for copying folders: xcopy and Robocopy. Using Microsoft's official command references, we compare what each can do, from mirroring and multi-threaded copies to retries, restartable mode and logging, and explain which to use for quick copies and which for backups.

Callum Reid4 min

How to Denoise Renders with Intel Open Image Denoise's oidnDenoise Tool

How-To

How to Denoise Renders with Intel Open Image Denoise's oidnDenoise Tool

Intel Open Image Denoise includes oidnDenoise, a free command-line tool that runs the AI denoiser on a saved render using your CPU or a supported NVIDIA, AMD, Intel or Apple GPU. Here's how to download it, prepare PFM images and denoise with albedo and normal passes.

Marcus Thorne3 min

How to Use BGInfo to Show Your PC's Name, IP Address and Specs on the Desktop

How-To

How to Use BGInfo to Show Your PC's Name, IP Address and Specs on the Desktop

Want your PC's name, IP address and key details on screen without digging through Settings? Following Microsoft's official documentation, we show how to set up the free Sysinternals tool BGInfo, choose its fields, save a configuration and refresh it at every sign-in, plus its most useful command-line options.

Marcus Thorne3 min