This article was written by Stan Kats and by wikiHow staff writer, Hannah Dillon. Stan Kats is a Professional Technologist and the COO and Chief Technologist for The STG IT Consulting Group in West Hollywood, California. Stan provides comprehensive technology solutions to businesses through managed IT services, and for individuals through his consumer service business, Stan's Tech Garage. Stan holds a BA in International Relations from The University of Southern California. He began his career working in the Fortune 500 IT world. Stan founded his companies to offer an enterprise-level of expertise for small businesses and individuals.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
Do you have an application that won't close in Windows? This is a frustrating issue to have, especially when Windows indicates that it's trying to close the app. In this article, we'll explain why your applications aren't closing in Windows 11 and Windows 10, and show you 3 easy ways to force these programs to stop.
What to Do When Applications Won't Close
- Press Alt + F4 to close the active window on your Windows PC.
- Open the Task Manager and select the window you want to close, then click End Task. You can also use this trick to close background programs.
- Use the "tasklist" and "taskkill" commands in Command Prompt to identify and close a program that's not responding.
Steps
Closing with Alt + F4
-
Click on the program that refuses to close. If the program that refuses to close isn't the active window on your computer, click on it in the taskbar first. This may cause the program's window to get a white cast over it, which means the program isn't working.
-
Press Alt+F4 on your keyboard. This keyboard shortcut will automatically close the current active window. This shortcut can help you easily close down programs that aren't responding.[2]
- One some keyboards–especially on laptops–you may need to hold down the fn key as you press Alt+F4.
Closing with Task Manager
-
Open Task Manager. There are a few ways you can open Task Manager on your PC:
- Right-click the taskbar and click Task Manager.
- Press Ctrl+⇧ Shift+Esc.
- Press Ctrl+Alt+Del and click Task Manager.
-
Click on the process you want to close. The process should be in the "Apps" section at the top of the Task Manager. Anything under "Background processes" should be left alone, as these are all applications that are currently not open but are running in the background, or they are vital Windows processes that need to stay running.
-
Click End task. It's at the top of the window, between "Run a new task" and "Efficiency mode." The selected program will shut down immediately after a few seconds.[3]
Closing with Command Prompt
-
Open Command Prompt. To do so, type "command prompt" into the taskbar search bar and click Command Prompt in the results in the Start menu.
-
Type tasklist and press ↵ Enter. This will pull up a list of all the tasks currently running on your computer.
-
Type taskkill /im [program.exe] and press ↵ Enter. Replace [program.exe] with the name of the program from the tasklist. The name of the program is listed in the "Image Name" column. Once you send the command, the program will shut down instantly.[4]
- For example, if you wanted to close Microsoft Edge, you'd type taskkill /im msedge.exe.
- Use this method only if you are certain of the program's name you want to terminate. If you kill a necessary Windows background task, that could cause some issues for your computer.
- To learn more about the taskkill command, check out 4 Ways to Use the Taskkill Command.
Expert Q&A
Video
Tips
-
If you're consistently having trouble closing one specific application, try uninstalling and reinstalling it.Thanks
-
If programs you don't use open automatically when you start up your computer, you can edit your startup programs.Thanks
References
- ↑ https://superuser.com/questions/393950/why-do-applications-need-to-close-or-stop-working-and-what-can-i-do-about-i
- ↑ https://support.microsoft.com/en-us/windows/keyboard-shortcuts-in-windows-dcc61a57-8ff0-cffe-9796-cb9706c75eec
- ↑ https://learn.microsoft.com/en-us/troubleshoot/windows-server/support-tools/support-tools-task-manager
- ↑ https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/taskkill








![Step 3 Type taskkill /im [program.exe] and press ↵ Enter.](https://www.wikihow.com/images/thumb/0/04/Application-Not-Closing-Step-9.jpg/v4-460px-Application-Not-Closing-Step-9.jpg)
