Have you tried to close a running program on your computer but it pops up a responding window and shows you some options to either Close the program or to Wait for the program to respond?. Don’t panic! When a problem like this arises, just follow these simple step-by-step technical procedures.
Methods
There are two methods to do it using command prompt
- Force-close a Program in Windows with the program name
- Force-close a Program in Windows with the program PID. (Learn more about Program name and program PID)
Force-close a Program in Windows with the program name
Procedures:
- Press Windows key + R.
- Type cmd into the search box and press Enter.
- Type tasklist into the Command Prompt. You’ll then see a list of tasks and programs running on your computer.
- Enter taskkill/im [name of the program].exe . For example, if you want to quit Chrome, you’d enter Taskkill /IM “Chrome.exe” /F.
- Press Enter.
Force-close a Program in Windows with the program PID
Procedures
- Press Windows key + R.
- Type cmd into the search box and press Enter.
- Type tasklist into the Command Prompt. You’ll then see a list of tasks and programs running on your computer.
- Enter taskkill/im [PID of the program].exe . Example, if you want to close chrome, you’d enter taskkill/im Taskkill /PID #### /F.
- Press Enter.