Skip to content

How to Close All Open Apps in Windows 11 at once

Richard
Written by
Richard
Feb 4, 2026 Updated Apr 1, 2026 2 min read
How to Close All Open Apps in Windows 11 at once

Want to quickly clear out all your open applications in Windows 11?

Open apps are the programs currently running on your PC, like your web browser or a document editor. Sometimes, dozens of these can pile up, slowing down your system.

Closing them all at once frees up system resources and can fix small software glitches. This method is especially useful when you need a clean slate before starting a demanding task or want to speed up your PC.

We’ll show you how to access and use the built-in Task Manager to achieve this efficiently.

⚡ Quick Answer

Open Windows Terminal, select Command Prompt or PowerShell, and run the command “Get-Process |? {$_.MainWindowTitle -ne “” -and $_.Id -ne $PID -and $_.ProcessName -ne “explorer”} | Stop-Process -Force”. This closes all apps except essential system processes. Be aware that unsaved work will be lost.

How to Force Close All Open Apps Using Command Prompt

You can close all apps in Windows 11 at once using the Command Prompt, a simple tool that lets you type commands to control your PC.

  1. Click the Start button and type Windows Terminal.
  2. Press Enter to open it.
  3. Click the down arrow (˅) next to the plus (+) tab at the top.
  4. Choose Command Prompt from the menu.
  5. Copy and paste this command into the Command Prompt window:

    PowerShell -Command "Get-Process |? {$_.MainWindowTitle -ne "" -and $_.Id -ne $PID -and $_.ProcessName -ne "explorer"} | Stop-Process -Force"
  6. Press Enter to run the command.

This command closes all apps except File Explorer and Windows Registry Editor.

Open Windows Terminal and select Command Prompt

How to Force Close All Open Apps Using PowerShell

Closing all apps in Windows 11 is also possible with PowerShell, a more advanced command-line tool that gives you greater control over your computer.

  1. Click the Start button and type Windows Terminal.
  2. Press Enter to open it.
  3. Click the down arrow (˅) next to the plus (+) tab at the top.
  4. Select PowerShell from the menu.
  5. Copy and paste this command into the PowerShell window:

    Get-Process |? {$_.MainWindowTitle -ne "" -and $_.Id -ne $PID -and $_.ProcessName -ne "explorer"} | Stop-Process -Force
  6. Press Enter to run the command.

This also closes all running apps except File Explorer and Windows Registry Editor.

PowerShell in Windows Terminal
PowerShell in Windows Terminal

Summary

  • You can close all open apps in Windows 11 quickly using Command Prompt or PowerShell.
  • These commands close all apps except important system programs like File Explorer.
  • This method frees up your computer’s memory and can help fix problems caused by many apps running at once.
  • Warning: Use these commands carefully. Any unsaved work in your apps will be lost.

Quickly closing all open apps in Windows 11 can be done using either Command Prompt or PowerShell, freeing up your computer’s memory and potentially fixing performance issues.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *

Exit mobile version