Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I know that WinKey+M and Winkey+D will essentially minimize all windows and show me my desktop. However, I have been unable to locate a similar shortcut key that either maximizes or restores all windows. Is there a pre-existing way to do this in Windows 7? I'd rather not mess with the BiOS if I don't have to.

share|improve this question
up vote 6 down vote accepted

Well, I doubt that it is really the answer that you are looking for, but on Windows 7, you could save this as a powershell script somewhere:

$dllInfo = '[DllImport("user32.dll")] public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);'
Add-Type -MemberDefinition $dllInfo -name NativeMethods -namespace Win32
foreach($proc in Get-Process){
    $hwnd = $proc.MainWindowHandle
    # Restore window
    [Win32.NativeMethods]::ShowWindowAsync($hwnd, 4) | Out-Null

Then bind a key to run that script.

share|improve this answer
This seems cool but a bit beyond me, unfortunately. +1 because this is basically exactly what I asked for. – Aarthi Jul 22 '11 at 19:31
Could you please elaborate about how to bind a key to run that script? – haimg Oct 12 '11 at 16:22
The easiest way is probably to use Autohotkey. – EBGreen Oct 12 '11 at 17:08

Use WinKey+Shift+M to restore minimized windows to the desktop.

Use WinKey+Up Arrow to maximize the current window.

Use WinKey+Left Arrow to maximize the window to the left side of the screen.

Use WinKey+Right Arrow to maximize the window to the right side of the screen.


share|improve this answer
FYI: This only works for Windows Vista+ – KronoS Jul 21 '11 at 13:55
FYI : This is for win7 , see the source. – Binarylife Jul 21 '11 at 13:56
This is not actually an answer, is it? – Daniel Beck Jul 21 '11 at 13:57
Sorry, but I agree with @Daniel Beck. How does this restore or maximize ALL windows? I just tried the first one, which was the most promising, and it did not work. – KCotreau Jul 21 '11 at 14:05
@DanielBeck the first shortcut is working for me on Win 7 as it should like a charm. – avirk Aug 29 '12 at 2:16

If you press WinKey+D again, it will restore all windows back to their previous state before you pressed WinKey+D the first time. Works in Windows 7.

share|improve this answer
  1. Open Windows Task Manager ( Ctrl + Shift + Esc).
  2. Make sure the Applications tab is selected.
  3. Go to the menu item Windows, then select Maximize.

This will maximize all windows regardless of their current state.

share|improve this answer
That was a new trick! Nice find – Canadian Luke Jan 11 '13 at 23:31
AFAIK this was the only way to maximize, cascade, or pile multiple minimized windows (very useful when you have DOZENS of instances from the same program) since you can select multiple applications using the "SHIFT" key. Unfortunately, this "feature" is no longer possible starting with windows 8 and the new task manager – vegatripy Feb 19 '15 at 13:00

In this solution, you can toggle status of "only one window":

You can use WinKey+1, WinKey+2, ..., WinKey+9, WinKey+0 to toggle between minimized and restored status of each one of:

  • the first 10 tasks in taskbar (including the not initialized ones but that are fixed in taskbar), when not showing tasks in groups


  • the first 10 groups of tasks in taskbar (including the not initialized ones but that are fixed in taskbar), when showing tasks in groups - while holding WinKey, the list of tasks of a determined group related to number chosen is opened, clicking repeatedly in the same number chosen you can select a determined item in list and releasing WinKey you toggle status of chosen item in that group
share|improve this answer

this is not 1 key but is faster than it looks. Think you could do it with one key if you have AUTOHOTKEY, but I didn't bother. Anyway: 1. launch task manager (I already have a desktop shortcut for this, define one if needed) 2. go to application tab if not already there (ctrl-pageup/ctrl-pagedown) 3. select all by press home, then ctrl-shift-end to select all (ctrl-a doesn't seem to work unfortunately) 4. shift-F10 (equivalent to right click) 5. X for maximize.

Note, unlike what you see in some posts, windows-shift-M does not maximize all, it is 'undo the previosu minimize all', i.e. windows go back to how they were

share|improve this answer
AutoHotKey script (uses fact that ctrl-alt-U launches task manager via windows desktop shortcut). ^!=:: SetKeyDelay,1000 Send ^!u SetKeyDelay,10 Send {home}^+{end} Send +{F10} Send X return – geoffy Apr 10 '15 at 22:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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