![create keyboard shortcuts windows 7 create keyboard shortcuts windows 7](https://itechhacks.com/wp-content/uploads/2021/07/Best-Windows-11-Keyboard-Shortcuts-Guide.jpg)
So the D hotkey is a combination of the M hotkeys, but with the catch that it only restores them correctly if you have not done anything since you minimized. If you press it, then show some windows, then press it again, it will just minimize them all again (restoring a window basically resets the stored state).
![create keyboard shortcuts windows 7 create keyboard shortcuts windows 7](https://www.minitool.com/images/uploads/news/2019/08/create-keyboard-shortcuts-windows-10/create-keyboard-shortcuts-windows-10-3.png)
On the other hand, pressing ⊞ Win+ D minimizes all windows so that you can see the desktop, then pressing it again restores the windows to their previous state, if all windows are still minimized when you press it again. If you minimize or restore windows between the two key presses, then ⊞ Win+ Shift+ M will restore any windows that had previously not been minimized and leave the rest as is. Then pressing ⊞ Win+ ⇧ Shift+ M restores them from that stored state (assuming the windows still exist at that point) as they were before you pressed ⊞ Win+ M. Pressing ⊞ Win+ M stores the state of the windows before minimizing all windows so that you can see the desktop.
![create keyboard shortcuts windows 7 create keyboard shortcuts windows 7](https://support.content.office.net/en-us/media/c26b9a87-238b-45d1-bfe5-ab51c8a34ac8.png)
There is a small difference between how ⊞ Win+( ⇧ Shift+) M works from how ⊞ Win+ D works. ⊞ Win + ⇧ Shift + M - Restore minimized windows to the desktop. If you click Show All on the Windows 7 Keyboard Shortcuts page, you can see under Windows logo key keyboard shortcuts the following related keys: ⊞ Win + Spacebar - Preview the desktop.