I'm looking for a way to use a keyboard shortcut to minimize all the windows on the monitor that currently has my mouse on it. I found this page: http://vbcity.com/forums/t/163339.aspx but that appears to be hardcoded to minimize windows on a specific monitor, rather than the active monitor. Plus, I have no idea how to compile that code (not a VB coder). Anybody know a way that I can make this happen? I'm on Windows 7 ultimate, 3 monitors.

  • Have you already tried "Windows Key + D" which is the shortcut to show desktop? I do not have multiple monitors at the moment, that might minimize all windows across desktops. Is it important to just do it on only 1 monitor? – Eric G Oct 19 '11 at 18:35
  • Yeah, I use Windows+D all the time, but when I'm working, I often want to minimize a single monitor so I can get to my desktop files on that monitor. I have virtual machines running all the time, so it's unhelpful to have those disappear when I'm just trying to get to some files. – Jake Oct 19 '11 at 18:47
  • I took that code and starting working on a sample application to do what you want, though it appears to be a bit quirkly because it's finding windows by process instead of by active window. I'll have to play around with it a bit more. – Chris Thompson Oct 19 '11 at 21:18
  • Awesome! Post it as an answer if/when you finish! – Jake Oct 20 '11 at 4:14

Under Windows 7, here is the list of the keyboard shortcuts that manage multiple windows :

Minimize all windows on all Monitors. Press again to restore previous state

Minimize all windows on all Monitors.

Restore previously minimized windows on current Monitor

Set all windows to Minimized on current Monitor except active

Preview Desktop / make windows transparent (May not work with all Settings)

Source : 127 useful Keyboard Shortcuts for Windows 7.

The OP notes that Actual Multiple Monitors has an option for "Minimize All command affects only the monitor with mouse".


| improve this answer | |
  • 20
    On my Win7, Win+m is minimizing all windows on all monitors – csauve Apr 27 '12 at 19:06
  • 4
    They all work, except remove the text for all shortcuts that say "on current monitor" - they all affect all monitors – csauve Apr 27 '12 at 20:15
  • 1
    Nope, not that. I just tested with Win7 Ult on VirtualBox, still nothing... – Bob Apr 30 '12 at 10:58
  • 1
    Official answer: Turns out it is Actual Multiple Monitors. It has an option called "Minimize All only affects monitor with mouse". @harrymc would you mind updating the main answer with this information so anyone else who finds it will know? – Jake May 6 '12 at 13:22
  • 1
    Done as asked . – harrymc May 6 '12 at 17:20

The other answer, although superior, is not as fun as mine. Take one active window and shake it. All other windows will be minimized. Then minimize that window

| improve this answer | |
  • 2
    I believe this minimizes all windows, not just those on the active screen. – Jake Jan 7 '16 at 1:25

I found another way to resolve this problem. I write autohotkey script to make all program minimize except some program. I often move Xshell and git command to another monitor, so I make them maximize again. The script like following, hope can help you.

    WinGet, active_id, ID, ahk_exe Xshell.exe
    WinMaximize, ahk_id %active_id%

    WinGet, active_id, ID, ahk_exe mintty.exe
    WinMaximize, ahk_id %active_id%

You can replace "Xshell.exe" and "mintyy.exe" with another program and move them to another monitor then press Win+d to make all program minimize exclude you specified. How to run autohotkey you can click here.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.