Batch Terminate Programs in Windows Effortlessly

Batch Terminate Programs in Windows Effortlessly

David Lv13

Batch Terminate Programs in Windows Effortlessly

Running multiple apps simultaneously can usually affect your PC’s performance. This means you might often want to close some programs to speed up your device. But here’s the thing—closing your apps one by one can be quite tedious.

So, how can you simplify things and close your multiple apps simultaneously on Windows? Let’s find out.

1. Use the Taskbar

The Windows taskbar displays all your active and pinned programs. This means you can easily close your active apps by scrolling to the relevant taskbar icon and clicking the “close” button.

The good news is that you can also use the taskbar to close multiple windows of the same program. However, you won’t be able to close different apps simultaneously using the taskbar.

Here’s how to close multiple windows of the same program on the taskbar:

  1. Navigate to the taskbar and locate an app that has multiple active windows.
  2. Right-click on the app and select the Close all windows option.

Closing multiple windows on the taskbar

2. Use the Resource Monitor

You probably know that you can force close your PC programs using the Task Manager. But the problem is that this tool doesn’t let you close your programs simultaneously.

Wondering if there’s an alternative tool you can use? Try the Resource Monitor!

Here are the steps for closing multiple apps simultaneously using the Resource Monitor:

  1. Type Resource Monitor in the Start menu search bar and select the Best match.
  2. Navigate to the Overview tab.
  3. Check the boxes of the apps you want to close.
  4. Right-click on one of the results and select the End Process option. This should simultaneously close all the programs you selected.

Closing multiple apps using the Resource Monitor

Want to know the best part about using the Resource Monitor? This tool allows you to re-open multiple apps simultaneously with just a few clicks!

Here’s how to reopen your apps with the Resource Monitor:

  1. Access the Resource Monitor by applying the previous steps.
  2. Check the boxes of all the apps you want to re-open.
  3. Right-click on one of the results and select Resume Process.

3. Use the Command Prompt

Person using a Windows PC while placing it on a lap

The Command Prompt can help you troubleshoot PC issues, configure some system settings, and run your Windows apps.

Interestingly, this tool can also help you simultaneously close multiple windows of the same app. However, the Command Prompt might not be the best option if you want to close different apps simultaneously.

Here’s how you can close multiple windows of the same app using the Command Prompt:

  1. Type Command Prompt in the Start menu search bar.
  2. Right-click on the Best match result and select Run as administrator.

Opening the Command Prompt using the Start menu search bar

Let’s say you want to close multiple File Explorer windows simultaneously. To do that, type the following command in the Command Prompt and press Enter:

taskkill /f /im explorer.exe

The “taskkill /f /im” command is the one that closes the program, and the “explorer.exe” command is the name of the app. To close multiple windows of your other apps, replace the “explorer.exe” part with the relevant command.

4. Create a Batch Script for Closing Multiple Apps Simultaneously

A person using a Windows device on a desk

We’ve already discovered that the Command Prompt can only help you close multiple windows of the same app.

But if you apply a few tricks, you can close multiple apps using some commands. However, you’d need to create a batch script for that.

Here’s how you can create a batch script for closing multiple apps on Windows:

  1. Press Win + D to access the desktop. Alternatively, check out the various ways to access the Windows desktop .
  2. Right-click on a blank space and select New > Text Document. This will create an untitled document on your desktop.

Now, let’s say you want to close the Snipping Tool and the Paint.net app simultaneously. Here are the steps you need to follow:

  1. Navigate to the desktop and double-click on the text document you’ve just created.
  2. Type the following command to close the Snipping Tool:

taskkill /f /im SnippingTool.exe /T > nul

Next, type the following command to close the Paint.net app:

taskkill /f /im paintdotnet.exe /T > nul

Creating a Batch Script for Closing Multiple Apps Simultaneously

From there, follow these steps:

  1. Press the File tab in the top-left corner of the text file.
  2. Select the Save As option.
  3. Type Close Multiple Apps Simultaneously.bat in the File name box.
  4. Press the Save button.

Now, you can close the Snipping Tool and the Paint.net app simultaneously by following these steps:

  1. Press Win + E to access File Explorer.
  2. Select the Desktop option on the left.
  3. Click the Close Multiple Apps Simultaneously.bat batch file.

The Tube Sites Submitter is a fast and efficient tool for anyone who needs to upload videos quickly, easily and automatically to hundreds of tube sites in mere minutes .

Clicking a batch script on the desktop

You can add as many apps as you want to your batch script.

And when using the batch script, ensure that it doesn’t end up closing some important apps by mistake. This means it might be worth regularly checking what’s on the script first before running it.

5. Use the Close All Windows Tool

The Close All Windows Tool

You can also quickly close your multiple active apps using a third-party program like the Close All Windows tool . The tool is lightweight, which means it won’t take up much of your disk space.

This app works almost like the Windows built-in Resource Monitor. However, it comes with a basic and easy-to-understand interface. When you open the tool, it immediately displays all your active apps. All you need to do is tick the relevant boxes and then click the OK button to close those apps.

The tool displays all your apps and places them under a specific category. For example, it displays all your Google Chrome windows under the Google Chrome category.

To select all the apps on the screen, press Ctrl + A or navigate to the Command tab and click Select All. And if you want to uncheck all the apps, press Ctrl + D or click the Deselect All option from the Command tab.

You can customize the Close All Windows tool by clicking the View tab and ticking the relevant boxes. And if the tool seems a bit too complicated to use, then you can navigate to the Help tab to get some assistance.

Download: Close All Windows for Windows (Free, subscription available)

Close Your Multiple Apps Simultaneously With Just a Few Clicks

It’s always frustrating when your Windows device suddenly becomes slow or buggy. In most cases, such issues are caused by running tons of apps simultaneously.

Want a quick way to speed up your device? Close your multiple active programs simultaneously using the tips we’ve covered. And if you end up closing some apps by mistake, you can apply some quick tricks to restore them again.

  • Title: Batch Terminate Programs in Windows Effortlessly
  • Author: David
  • Created at : 2024-07-29 15:49:10
  • Updated at : 2024-07-30 15:49:10
  • Link: https://win11.techidaily.com/batch-terminate-programs-in-windows-effortlessly/
  • License: This work is licensed under CC BY-NC-SA 4.0.