How To Force Close An App On Windows

I’ve got an app on my Windows PC that keeps freezing and won’t close, even when I click the X button or wait for a while. It’s slowing down my whole system and I’m worried I might lose work if I restart the computer. What’s the best way to force close a stubborn or unresponsive app on Windows, and are there any shortcuts or built-in tools I should be using to do this safely?

When an app freezes like that, Windows usually still lets you kill it pretty hard. Try these in order.

  1. Simple force close with Task Manager
  • Press Ctrl + Shift + Esc
  • If it shows the simple view, click “More details”
  • Go to the “Processes” tab
  • Find the app under “Apps”
  • Click it, then click “End task” bottom right
  • Wait a few seconds to see if it disappears
  1. Kill the process tree if it respawns
    Sometimes apps have helper processes.
  • In Task Manager, right click the frozen app
  • Click “Go to details”
  • It jumps to the “Details” tab
  • Right click the highlighted process
  • Click “End process tree”
    This kills the main exe and anything it spawned.
  1. Use the command line if Task Manager fails
  • Press Win + R
  • Type: cmd
  • Press Ctrl + Shift + Enter to run as admin
  • Type: tasklist
  • Press Enter
  • Look for your app name, for example “notepad.exe” or “YourApp.exe”
  • Then run:
    taskkill /IM YourApp.exe /F
    Replace “YourApp.exe” with the exact name from tasklist.
    If that does not work, use the PID from tasklist:
    taskkill /PID 1234 /F
  1. Try closing the window handle
    Sometimes the window responds but the UI looks frozen.
  • Press Alt + Tab to bring the window front
  • Press Alt + F4 to send a close signal
    If nothing happens after ~10 seconds, go back to Task Manager or taskkill.
  1. Save other work before going harder
    If the app is eating your whole CPU or RAM it can affect other apps.
  • In Task Manager, check CPU and Memory columns
  • If the frozen app shows very high numbers, kill it first
  • Then go to other apps, save documents, browser tabs, etc.
  1. If Windows starts lagging badly
  • Press Ctrl + Shift + Esc
  • If Task Manager also hangs, wait up to 30–60 seconds
  • If still frozen, press Ctrl + Alt + Delete
  • Click “Sign out”
    You lose unsaved data in all apps, but often less painful than a full power cut.
    Next time, try to save open work every few minutes to reduce risk.
  1. Prevent repeats
  • Update the buggy app
  • Update your GPU and Windows
  • Check for conflicts in background tools like overlays or antivirus
  • If the freezing app is old, try running it in compatibility mode or in a clean user profile

This workflow saves me from hard reboot most times. Taskkill with /F is usually the thing that finally kills the zombie app.

If the app is dug in and refusing to die even after what @techchizkid suggested, there are a few extra tricks you can try that don’t involve rebooting and praying.

  1. Try the “Close” button from the taskbar
    Sometimes the X in the window is useless, but the taskbar context menu still works.
  • Right click the app’s icon on the taskbar
  • Click “Close window”
    If it vanishes from the taskbar, it’s actually gone, not just minimized.
  1. Use the old-school Task Manager performance trick
    If your whole system is crawling and Task Manager is sluggish:
  • Open Task Manager
  • Go to “Options” at the top
  • Disable “Always on top” if it’s on
  • Go to the “Details” tab
  • Right click the frozen process
  • Set priority to “Below normal” or “Low”
    This can give other apps and Windows a chance to respond so you can save stuff elsewhere before you nuke the frozen one. Then kill it after you’ve saved your work.
  1. Kill from Resource Monitor
    Sometimes Resource Monitor responds when Task Manager acts dumb.
  • Press Win + R
  • Type: resmon and hit Enter
  • Go to the CPU tab
  • Find your app’s process under “Processes”
  • Right click → End process
    It’s basically a different UI hooked into the same system guts and occasionally works when Task Manager hangs on “Not responding.”
  1. Check for hung background processes
    Some apps crash but leave a service or helper running that keeps things janky.
  • Win + R → services.msc
  • Look for any service clearly tied to that app (printer software, game launchers, cloud sync tools, etc.)
  • Right click → Stop
    Don’t spam-stop random Windows services, but if it’s obviously “VendorNameSomethingService” from that app, stopping it can un-freeze the main program next time.
  1. Use Safe Mode to clean up repeat offenders
    If the app keeps freezing every boot and trapping your system:
  • Hold Shift and click “Restart” from the Start menu
  • Go to Troubleshoot → Advanced options → Startup Settings → Restart
  • Choose Safe Mode with networking
    From there, uninstall the broken app, remove related startup entries, or reinstall it cleanly. This avoids another crash loop.
  1. Protect yourself next time
    I’d slightly push back on only relying on updates like @techchizkid mentioned. Half-baked updates sometimes cause the freeze. What helps more in practice:
  • Turn on “Save AutoRecover” or autosave in Office, Adobe apps, etc.
  • Don’t run 20 heavy apps at once on a weak machine
  • Avoid sketchy overlays and “optimizer” tools that hook into everything

If you’re in the middle of important work right now, first pause a sec, save everything that still responds, then start killing the frozen app with the lighter methods above before going nuclear with sign out or reboot.