Maximize All on a PC

16

4

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.

Aarthi

Posted 2011-07-21T13:39:48.423

Reputation: 403

Answers

8

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.

EBGreen

Posted 2011-07-21T13:39:48.423

Reputation: 7 834

Looks like this only maximizes one window from each process, right? – ruffin – 2018-06-27T19:42:23.620

Yes it would only maximize the main window associated with that process. – EBGreen – 2018-06-28T02:21:44.473

This seems cool but a bit beyond me, unfortunately. +1 because this is basically exactly what I asked for. – Aarthi – 2011-07-22T19:31:47.863

Could you please elaborate about how to bind a key to run that script? – haimg – 2011-10-12T16:22:38.843

The easiest way is probably to use Autohotkey. – EBGreen – 2011-10-12T17:08:15.360

10

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.

Source.

Binarylife

Posted 2011-07-21T13:39:48.423

Reputation: 519

2FYI: This only works for Windows Vista+ – James Mertz – 2011-07-21T13:55:22.330

1FYI : This is for win7 , see the source. – Binarylife – 2011-07-21T13:56:51.333

2This is not actually an answer, is it? – Daniel Beck – 2011-07-21T13:57:17.783

@Daniel Beck; Well improve it ! , or answer the question yourself!;) – Binarylife – 2011-07-21T14:00:25.807

5Sorry, 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 – 2011-07-21T14:05:18.403

@KCotreau: It works only when using first WinKey+ M – Binarylife – 2011-07-21T15:03:25.037

@binarylife It actually worked for me after Winkey+D. Didn't maximize, though. – Aarthi – 2011-07-21T17:37:35.817

1@DanielBeck the first shortcut is working for me on Win 7 as it should like a charm. – avirk – 2012-08-29T02:16:31.560

@KronoS this works well in Win 7 as I've tried it myself. – avirk – 2012-08-29T02:16:57.580

@Aarthi it works after even when you press Win+M to minimize all windows and after that just press the first key combination suggested in the answer. Works well for me even I didn't press Win+D. – avirk – 2012-08-29T02:19:20.330

9

  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.

Paul

Posted 2011-07-21T13:39:48.423

Reputation: 91

2AFAIK 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 – 2015-02-19T13:00:00.773

This was the solution I was looking for. I am using a AutoHotkey script to only switch between windows of a single application(like in Mac). But the script only works on windows that are not minimized. This solves the problem of maximizing all windows but it requires too many steps. I wonder if there is any way of using some kind of script to program this to a keyboard shortcut. – Ghos3t – 2018-03-08T09:13:24.417

That was a new trick! Nice find – Canadian Luke – 2013-01-11T23:31:57.460

4

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.

studiohack

Posted 2011-07-21T13:39:48.423

Reputation: 13 125

1

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

or

  • 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

kokbira

Posted 2011-07-21T13:39:48.423

Reputation: 4 883

1

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 previous minimize all', i.e. windows go back to how they were

geoffy

Posted 2011-07-21T13:39:48.423

Reputation: 11

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  – 2015-04-10T22:51:25.083

you don't need to make a custom keyboard shortcut to launch the task manager on windows. Ctrl+Shift+Esc is the standard system defined keyboard shortcut to launch task manager in all versions of Windows and instead of Shift-F10 you could use the menu key that is on the left of the secondary ctrl key on the right side of most keyboards. Also thanks for the AutoHotKey script and this awesome tip. – Ghos3t – 2018-03-08T09:23:06.890