Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I close all opened windows at once?

share|improve this question
Define “close”, “opened”, “windows”, and “at once”. – Synetech Oct 27 '13 at 20:49
Alt+F4+F4+F4... – Jet Jun 19 '14 at 14:45

All answers I could quickly find on this topic involve either the tip Molly gave or using an application (or coding it yourself). For example (I haven't tried this), Close All Windows.

Also, by pressing Ctrl + Shift + Esc you get the Windows Task Manager, where you can see all running applications at once (among other things), select them, and End Task them.

share|improve this answer
+1 nice gadget :) – Molly7244 Dec 10 '09 at 13:12
Why i asked yesterday i accidentally opened 500 images . and then i manually closed one by one – metal gear solid Dec 10 '09 at 13:20
@Jitendra - yeah has happened to me too. But I never thought to ask if there was a simpler way to close all the windows at once :) – anand.trex Dec 10 '09 at 13:46
Depending on what you used to open the images, there may be a command in the application to close all. Generally I see the shortcut CTRL+SHIFT+W used. – Al E. Dec 10 '09 at 13:52

Simultaneously close all open windows:

  1. While pressing the Ctrl key, successively click each of the task icons on the taskbar.
  2. Right-click the last task icon, and choose Close Group.

If you only want to minimize the windows, use the 'Show Desktop' shorcut.

share|improve this answer
Win+D is the keyboard shortcut for Show Desktop to minimise all windows. Win+D a second time brings them all back. – Dave Webb Dec 10 '09 at 13:14
This doesn't work on Windows 7 Professional – CodeBlend Jul 31 '13 at 9:33

I usually (yes, this happens a lot to me..) just press Alt key and then go crazy on the F4 key until everything is shut down. Not one click, but it's pretty fast. Or, depending on your system, reboot.. Don't forget to save anything.

Or maybe you could simply switch users to continue your work without all these tabs. Then when you're down, shutting down the computer will kill all the processes for the first user...

Not the best solutions, I just thought Id give this one a try.

share|improve this answer
Go crazy on the F4 key until everything is shut down. Not one click, but it's pretty fast You can hold down F4, but you may need to click windows with the mouse since they may not automatically grab focus. – Synetech Oct 27 '13 at 20:50

I like to see my open windows ungrouped, but realized that this i.e. closing multiple windows at once was a problem with such a setting. A less time-taking method would be to use the command line like this :

taskkill /im explorer.exe -f

And then restart explorer using :


Caution : This will cause processes like file copying on the default Windows interface to abort.

share|improve this answer

It's not a one-click solution but it is the fastest I know with my Windows 7 Pro

  1. Open taskbar properties (right click > properties) or (Control Panel > Appearance and Personalization > Taskbar and Start Menu)
  2. Select "Group similar taskbar buttons" = "Group similar taskbar buttons", and click OK
  3. Your windows are group, right-click and select "Close all windows"
  4. Go back to taskbar properties to restore you old settings
share|improve this answer
The question is on Windows-XP. See question tag – Prasanna Apr 5 '15 at 13:12

After doing Ctrl-Shift-Esc, go to applications. Then, press shift down and end task, all of them will end (You might get a confirmation message or something depending on the program).

Sometimes, even when you close a program, the processes of the program (The biggest example is an unclosed connection to a local file) may still be on your computer. Most of the time, these processes are mainly overlooked by the owner software because they use almost no space. However, if you still want to end them, just to be meticulous, go to processes and you'll have to end them one by one.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .