Why does Task Manager force-close applications more effectively (Windows 10)?

770 views

When an application isn’t responding, the obvious response is to attempt to close it with the red “X” in the top right corner of the application window, but often if the app is frozen or otherwise unresponsive, that button is likewise unresponsive and accomplishes nothing. At this point, you might try to right click on the app icon in the taskbar and select “Close Window”, which (in my experience) seems to work more often than the red X does. However, sometimes neither of those solutions does anything at all and the only option left is to open Task Manager and instruct Task Manager to shut down the process, which typically works immediately. So why the hell doesn’t Windows just run whatever script is executed by Task Manager when I press the red X or select “Close Window”? Why are there three seemingly unique approaches to ending a process with varying levels of success when the developers of Windows are clearly fully capable of designing one which works in all cases?

In: Technology

12 Answers

Anonymous 0 Comments

I don’t know exactly the protocol on windows 10, but the idea is that when you try to close the program by clicking in the “X”, you are passing the instruction to the software, and the software will decide how to handle the request. It may only close after other instructions are finished (and in the case the program is frozen, that instruction may never be complete), it may tell the OS to do some stuff before closing, or it may never really close (there are a bunch of apps on windows that keep running on background after you close them).

Killing the process on the task manager, you are telling to the OS to stop that process. It won’t care if the software has any protocols that it should follow before it closes, it just ends it.

Think of it like the difference between asking a person to leave your house, and using brute force to throw him through the window. If you ask him to leave, he may call for a taxi, and only leave after it appears, he may ask to use the bathroom before, or maybe he lost his cellphone somewhere, and will only leave after finding it, or maybe he decides that he will be living hidden inside your attic. If you kick him out of your house, it solves the issue, but is not the ideal way to deal w.ith the situation

You are viewing 1 out of 12 answers, click here to view all answers.