How-to: Windows Keyboard shortcuts

Keyboard shortcuts for the Windows CMD shell and PowerShell.

Switch to/from full screen mode. Alt ENTER
Cancel the current command (if nothing is selected). Ctrl C
Enter Mark mode. Ctrl M
Select text in mark mode. Shift ←/→
Copy the selected text. Ctrl C (or Ctrl Insert)
Paste the selected text. Ctrl V (or Shift Insert)
Move the cursor in the direction specified. Arrow keys
Move the cursor by one page up. Page up
Move the cursor by one page down. Page down
Move the cursor to the beginning of the buffer. Ctrl Home (Mark mode)
Move the cursor to the end of the buffer. Ctrl End (Mark mode)
Autocomplete folder/file name. [Tab]
Scroll through history of typed commands. ↓ / ↑
Toggle full screen. Alt Enter or F11
Clear command line. ESC
Toggle Insert/Overwrite. INSERT
Erase line to the left. Ctrl Home
Erase line to the right. Ctrl End
Move one word to the left (backward). Ctrl ←
Move one word to the right (forward). Ctrl →
Erase character to the left.
Move to beginning of line. [Home]
Move to end of line. [End]
Scroll window up. ⇧ PgUp
Scroll window Down. ⇧ PgDn

New Windows Terminal Keyboard shortcuts

Application-level shortcuts:  
Find. Ctrl ⇧ F
Open the dropdown. Ctrl ⇧ Space
Open settings files. Ctrl ,
Open settings files. Ctrl Alt ,
Tab management shortcuts:  
New tab. Ctrl ⇧ T
New tab. Ctrl ⇧ 1 thru 9
Duplicate tab. Ctrl ⇧ D
Open next tab. Ctrl Tab
Open previous tab. Ctrl ⇧ tab
Open a specific tab. Ctrl Alt 1 thru 9
Pane management shortcuts:  
Move pane focus. Alt Up/Down/Left/Right
Resize a pane. Alt ⇧ Up/Down/Left/Right
Split a pane. Alt ⇧ D
or Alt ⇧ -
or Alt ⇧ +
Close pane. Ctrl ⇧ W
Clipboard integration:  
Copy the selected text. Ctrl C
or Ctrl ⇧ C
or Ctrl-Insert
Paste the selected text. Ctrl V
or Ctrl ⇧ V
or Shift-Insert
Scrollback:  
Scroll up/Down. Ctrl ⇧ Up/Down
Scroll up one page. Ctrl ⇧ pgup
Scroll down one page. Ctrl ⇧ pgdn
Visual adjustment:  
Adjust font size. Ctrl =
Adjust font size. Ctrl -
Reset font size. Ctrl 0
Toggle High Visibility screen mode. Left Alt + Left ⇧ + PrtScn

⊞ Windows Key shortcuts - Explorer / General.

Open or Close the Start Menu.
Launch a Start Menu app 'As Admin' ⇧ Ctrl+click app
Open the Action Center. ⊞ A
Activate Cortana listening mode. ⊞ C
Show Desktop / Minimize all. Press a second time to restore. ⊞ D
Open Windows File Explorer. ⊞ E
Open the Feedback Hub. ⊞ F
Open Find computers. ⊞ Ctrl F
Open Settings. ⊞ I
Open Connect. ⊞ K
Lock the PC. ⊞ L
Minimize all windows. ⊞ M
Restore windows that were minimized with ⊞ +M. ⊞ ⇧ M
Presentation display mode. ⊞ P
Open the "Run Program Or File" Window. ⊞ R
Search. ⊞ S
Open the Ease of Access center. Reverse with ⊞+⇧ Shift+V (Win 1810+) ⊞ U
Cycle through notifications. ⊞ V
Quick link menu (like right clicking on START). ⊞ X
Open an app that is pinned to taskbar position # #
Open the Emoji panel. ⊞ . (or ⊞ ; )
Open the task view. ⊞ Tab ↹
Minimize all but the active desktop window. ⊞ Home
Snap the active window to the right or left of the screen. ⊞ → or ←
Maximize or Minimize the active window. ⊞ ↑ or ↓
Stretch the desktop window to the top and bottom of the screen. ⊞ ⇧ ↑ or ↓
Auto-correct a display issue/lockup. ⊞ Ctrl ⇧ B
Opens properties of My Computer ⊞ Pause
or ⊞+Break
Open Windows Help. ⊞ F1
Zoom in. + Magnifier
Zoom out. - Magnifier
Open a quick look at the desktop. ⊞ ,
Screenshot region of screen. ⊞ ⇧ S
Save a fullscreen screenshot. PrtScn
Save a screenshot of the active window. Alt PrtScn
Close window. Alt F4

CMD shell Command History shortcuts:

Print characters of the previous command one by one. F1
Repeat part of the previous command; up to character Z F2 Z
Repeat the previous command. F3
Beginning from the current cursor position, delete up to character Z. F4 Z
Scroll through history of typed commands (↑). F5
Scroll the screen up or down one line. Ctrl ↑ / ↓
Show history of previous commands. F7
Clear command history. ALT F7
Move backwards through the command history, but only display commands
matching the current text at the command prompt.
F8
Run a specific command from the command history. F9
Signal end-of-file. Ctrl Z

Virtual Desktops

Create a new virtual desktop. . ⊞ Ctrl D
Switch between virtual desktops. ⊞ Ctrl ← / →
Switch Monitors. ⊞ Shift ← / →
Close the active virtual desktop. ⊞ Ctrl F4
Task View/Timeline, press ⊞ Tab then Right-click an app to show across all desktops.
With multiple monitors, ⊞ +Tab shows which apps are open on each monitor
⊞ Tab

Group Policy GPO

Mark all settings on the page as "green" (apply all). F5
Mark current settings on the page as "green" (apply this setting). F6
Mark current settings as "red" (don't apply this setting). F7
Mark all settings on the page as "red" (don't apply). F8
Display a list of available variables. F3

⇧ is the Shift key
⌫ is the Backspace key
is the Windows Key

Add Custom shortcut keys

If you have a shortcut anywhere on the Start Menu or Desktop you can create a keyboard shortcut for it.

For example if you have a shortcut to the traditional Control Panel in the Start Menu, right click it and choose More > Open file location. Right click on the shortcut file and select Properties. Under Shortcut>Shortcut Key you can assign a hotkey,
pressing Ctrl+C will assign the shortcut Ctrl+Alt+C.

How to disable one or more ⊞ (Windows Key) Keyboard Shortcuts:

In the Windows registry add a new String Value called “DisabledHotkeys" under HKCU\Software\Microsoft\CurrentVersion\Explorer\Advanced

Set the value data for this key to the hotkey characters you want to disable.
For example: to disable the hotkeys Win + X and Win + R, set the value to RX
(n.b. This will also affect other modifier key combinations like Win + Shift + X)

Restart Explorer or Logoff/reboot and the new settings will apply to this user account.

The hotkeys specified will be disabled and unassigned and thus available to any third party app which allows you to assign global hotkeys.

"If NumLock is on, pressing a key on the numeric keypad while holding SHIFT overrides NumLock and instead generates an arrow key" ~ OldNewThing

Related:

MMCs - Shortcuts to popular Microsoft Management Consoles.
Default the NUMLOCK key to be ON at login - see examples on the REGEDIT page.
EXPLORER - Open Windows Explorer.
Windows Start | Run commands
Windows key - Wikipedia, this includes older versions back to windows 95.
Keyboard shortcuts in Windows - Microsoft.com
Doskey /history - Show history of previous commands.
Microsoft Keyboard Layout Creator - Remap keys. (see also remapkey.exe in the Windows 2003 resource Kit)
Equivalent bash Keyboard shortcuts


 
Copyright © 1999-2020 SS64.com
Some rights reserved