Method 1. Use Command Prompt
Command Prompt on Windows can help you quickly launch or close apps and programs. You can enter the following command to close all apps at once.
Step 1: Press the Windows + R keyboard shortcut to open the Run dialog.
Step 2: Type cmd and hit Control + Shift + Enter keyboard to open Command Prompt with administrator privileges.
Step 3: Type the command below and hit Enter.
PowerShell -Command "Get-Process |? {$_.MainWindowTitle -ne \"\" -and $_.Id -ne $PID -and $_.ProcessName -ne \"explorer\"} | Stop-Process -Force"
Method 2. Close All Apps Using Powershell
Windows PowerShell is similar to Command Prompt and accepts text-based commands to perform specific tasks. Here’s how to use it to kill all tasks.
Step 1: Click the Windows Search icon on the Taskbar, type PowerShell in the search box, and select Run as Administrator.
Step 2: Type the following command in the PowerShell window and hit Enter.
Get-Process |? {$_.MainWindowTitle -ne "" -and $_.Id -ne $PID -and $_.ProcessName -ne "explorer"} | Stop-Process -Force
Method 3. Close Multiple Apps With Third-Party Tools (CloseAll)
There are a few third-party tools that you may use seamlessly with Windows 11 to close all windows or applications. The CloseAll application is one of many, and the steps below show how to use it.
Step 1: Download the CloseAll application and install it on your computer.
Step 2: Launch the application. Check the boxes for all the apps you wish to close, click on OK.
Was this helpful?
Last updated on 09 July, 2024
The article above may contain affiliate links which help support Guiding Tech. The content remains unbiased and authentic and will never affect our editorial integrity.