How to close a program in Windows

  • September 11, 2012
  • 05:35 PM
  • Read 33,840 times

When using Windows there may come a time where you will need to close a program or process that is not responding or that you are concerned is a computer infection. This tutorial will walk you through using the Windows Task Manager to close a program when you cannot close it normally.

WARNING: When you forcefully close a program as shown in the steps below, any unsaved data will be lost. You should only close programs this way if the application is hung and after waiting for a while it remains so.

The first step is to open Task Manager by right-clicking on the time shown in your Windows taskbar and selecting Task Manager as shown in the image below. Alternatively, you can also open the Task Manager by using the Ctrl+Shift+Esc keyboard combination.


Start Windows Task Manager


Once the Task Manager is open, click on the Applications tab and look for the program you wish to close. If you are attempting to close a program that is frozen, then the application will be listed as Not Responding in the status column. For example in the image below, you will see that the Tutorial Application program is frozen as indicated by its Not Responding status.


Program is Not Responding


To close this program, simply left click once on the program name and then click on the End Task button. If the program is in the Running state, the program will just close as if you clicked on the X button in the application. On the other hand, if the program is Not Responding, you will see another dialog box appear asking if you are sure you wish to close the program.


End Program Dialog


Click on the End Now button and Windows will attempt to terminate the program.

If Windows is still unable to kill the program this way, then you can try and close the program from the Processes tab in Task Manager. First, though, we need to determine the name of the process. To do this right-click on the application name in the Applications tab and select Go To Process as shown in the image below.


Go to Process menu option


This will bring you to the Process tab of the Task Manager with the correct process already selected.

WARNING: It is possible to terminate processes that are required for Windows to operate properly. Please only terminate processes that you know will not affect the operation of Windows. Some processes that you should avoid terminating if they are located in the C:\Windows\System32\ folder are smss.exe, svchost.exe, lsass.exe, winlogon.exe, and csrss.exe. You can check if they are located in the C:\Windows\System32\ folder by right-clicking on the process name in Task Manager and selecting Properties.


Processes Tab


Now click on the End Process button to forcefully close the process associated with this application. You will be presented with a dialog box asking if you are sure you want to end the process.


End Process


Click again on the End Process button and the program will be forcefully closed.

The program should no longer be running on your computer.

Users who read this also read:

  • Simple and easy ways to keep your computer safe and secure on the Internet Image
    Simple and easy ways to keep your computer safe and secure on the Internet

    Let's face it, the Internet is not a very safe place. There are hackers trying to access your computer, worms trying to infect you, malicious Trojans disguised as helpful programs, and spyware that reports your activities back to their makers. In many cases those who become infected unknowingly become a breeding ground for unwanted programs and criminal activity. It does not have to be this ...

  • How to use the Windows Task Manager Image
    How to use the Windows Task Manager

    The Windows Task Manager is a program that comes with Windows and displays information about the processes running and the resources being utilized on your computer. This utility allows you get a good overview of the tasks your computer is performing and the amount of resources each task is utilizing. Using this information you can tune your computer to run optimally and efficiently by disabling ...

  • How to show File Extensions in Windows Image
    How to show File Extensions in Windows

    The default setting for Windows is to not display a file's extension. Therefore, when viewing files in Windows you would only see the portion of the filename that precedes the last period in it. To show what this means, if you have a file called test.doc.txt, Windows will only display test.doc. From this filename, you would then assume this is a Word document, but when you double-click on it, ...

  • How to force quit a program on a Mac Image
    How to force quit a program on a Mac

    When using an application on a Mac it may become unresponsive and become frozen. When an application is in this state you are normally not able to interact with the program or close it normally via the Quit menu option. When this occurs the only way to close the program is to use Force Quit, which will forcefully close the programs. This tutorial will walk you through terminating an unresponsive ...

  • How to shut down or restart Windows Image
    How to shut down or restart Windows

    It is important to know how to properly shut down or restart your computer so that you do not lose data or corrupt important Windows files or Registry locations. Many people think that you shut down your computer simply by pressing the power button. On some configurations, this will work as Windows will recognize that you press the power button and shut it down gracefully. On the other hand, if ...



blog comments powered by Disqus
search tutorials


Remember Me
Sign in anonymously

Not a member yet? Register Now