When an app freezes on Windows, stops responding, or refuses to close with the X button, you can force it to quit. Windows 10 and Windows 11 give you several ways to do it, from a two-key shortcut to Task Manager and the command line. This guide covers each one, in order from gentlest to most forceful, plus what to do if the whole PC is frozen.
Quick Answer
Press Ctrl + Shift + Esc to open Task Manager, select the frozen app under Processes, and click End task. If Task Manager won’t open, press Ctrl + Alt + Delete and choose Task Manager from there.

Method 1: Alt + F4 (Try This First)
- Click the frozen app’s window to make it active.
- Press Alt + F4.
- If Windows shows “App is not responding,” choose Close the program (or End now).
Alt + F4 asks the app to close normally, so it may offer to save your work. On a laptop you may need Fn + Alt + F4. If you press it with the desktop selected, it opens the Shut Down Windows dialog instead; press Esc to cancel.
Method 2: Task Manager (Most Reliable)
- Press Ctrl + Shift + Esc, or right-click the Start button and choose Task Manager.
- If you see a small window, click More details.
- On the Processes tab, find the app under Apps. Frozen apps often show Not responding in the Status column.
- Select it and click End task (top of the window in Windows 11, bottom-right in Windows 10). You can also right-click it and choose End task.
If the app keeps coming back, it may have several processes. Right-click it, choose Go to details, then right-click the highlighted process and choose End process tree.
Method 3: End Task From the Taskbar (Windows 11)
Windows 11 can add an End task option to the taskbar right-click menu. It’s off by default.
- Open Settings > System > For developers (called Advanced in some newer builds).
- Turn on End task.
- From now on, right-click a frozen app’s taskbar icon and choose End task.
Method 4: Command Prompt or PowerShell
Useful when an app has no visible window, or when you want to close every copy of something at once.
- Right-click Start and choose Terminal (or open Command Prompt).
- List running programs:
tasklist - Force close by name (replace the name with the one from the list):
taskkill /IM appname.exe /FOr by process ID: taskkill /PID 1234 /F. Add /T to also end any child processes.
In PowerShell you can use Stop-Process -Name appname -Force. Programs running as administrator may require an administrator terminal.
Method 5: Create a Force-Close Shortcut
If one program freezes often, make a desktop shortcut that closes whatever app is stuck:
- Right-click the desktop and choose New > Shortcut.
- Enter this as the location:
taskkill /F /FI "STATUS eq NOT RESPONDING" - Name it (for example, “Close frozen apps”) and click Finish.
Double-click it to end every app Windows considers not responding.
If the Whole PC Is Frozen
- Wait a minute or two. Sometimes Windows recovers when a heavy task finishes.
- Press Windows + Ctrl + Shift + B. This restarts the graphics driver and can fix a frozen or black screen.
- Press Ctrl + Alt + Delete. If the menu appears, open Task Manager, or click the power icon in the bottom-right corner to restart.
- As a last resort, hold the power button for about 10 seconds to shut down. Unsaved work will be lost.
Things to Know Before Force Closing
- Unsaved work is lost. Many apps, including office suites, offer to recover documents the next time you open them.
- Don’t end system processes such as Windows Explorer, Desktop Window Manager, or anything under “Windows processes” unless you know what it does. Ending Windows Explorer makes the taskbar disappear; restart it with File > Run new task > explorer.
- Apps that keep freezing usually need an update, a repair (Settings > Apps > Installed apps > the three dots > Advanced options or Modify), or a reinstall.
Frequently Asked Questions
What’s the keyboard shortcut to force quit on Windows?
Alt + F4 closes the active app. Ctrl + Shift + Esc opens Task Manager so you can end any app.
Is force closing bad for my PC?
No. It can lose unsaved changes in that app, but it won’t harm Windows or your hardware.
Why does End task not work?
The app may be waiting on a driver or disk operation, or running with higher permissions. Try End process tree in the Details tab, use taskkill /F from an administrator terminal, or restart the PC.
Summary
- Try Alt + F4.
- Open Task Manager with Ctrl + Shift + Esc, select the app, and click End task.
- On Windows 11, enable End task on the taskbar in Settings.
- Use taskkill /IM name.exe /F for stubborn processes.

Kermit Matthews is a freelance writer based in Philadelphia, Pennsylvania with more than a decade of experience writing technology guides. He has a Bachelor’s and Master’s degree in Computer Science and has spent much of his professional career in IT management.
He specializes in writing content about iPhones, Android devices, Microsoft Office, and many other popular applications and devices.