How to Create Custom Keyboard Shortcuts in Windows 11 and Windows 10

Ollie Green
·
5 min read

Help Desk Geek is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

Creating custom keyboard shortcuts in Windows 11 or Windows 10 gets frustrating when you keep opening the same app or folder by hand. Start with a desktop shortcut; PowerToys and AutoHotkey can handle the tasks Windows can’t.

Fix #1: Assign a shortcut key to a program

This is the quickest way to launch one program with a key combination.

  1. Find the program’s desktop shortcut. If you don’t have one, right-click an empty area of the desktop and select New > Shortcut.
  2. Enter the program’s executable path, or select Browse to find it. Select Next, name the shortcut, and select Finish. You should see the new shortcut on your desktop.
Windows 11 Create Shortcut window with a program path entered and the Next button visible
  1. Right-click the shortcut and select Properties. In Windows 11, select Show more options > Properties if needed.
  2. On the Shortcut tab, click the Shortcut key box and press your chosen combination, such as Ctrl + Alt + G. The box should display the combination.
Windows 11 program shortcut Properties on the Shortcut tab with the Shortcut key box showing Ctrl + Alt + G
  1. Select Apply, then OK. Press the combination to check that the program opens.

Keep the shortcut on the desktop or in the Start menu’s Programs folder. Moving or deleting it can stop the key combination from working. If you only need quick access to a pinned taskbar app, Windows + 1 through Windows + 9 opens the corresponding taskbar positions.

Fix #2: Create a shortcut for a folder or document

The same Shortcut key box can open a folder or document. Documents need a default app assigned to their file type.

  1. Right-click an empty area of the desktop and select New > Shortcut.
  2. Select Browse, choose the folder or document, and select OK. Its path should appear in the location box.
Windows 11 Create Shortcut window showing a selected folder path in the location box
  1. Select Next, enter a name, and select Finish. The shortcut should appear on your desktop.
  2. Open that shortcut’s Properties and assign a combination on the Shortcut tab, as in Fix #1.
  3. Press the combination. The folder should open in File Explorer, or the document should open in its default app.

If Windows asks which app should open the document, choose an appropriate installed app and set it as the default for that file type.

Fix #3: Open the emoji picker with a built-in shortcut

For emojis, Windows already has a shortcut worth trying before you create anything.

  1. Click where you want the emoji to appear.
  2. Press Windows + . (period). The emoji picker should open beside your cursor.
Windows 11 emoji picker open beside a text field after pressing Windows and period
  1. Select an emoji. It should appear in the text field.

Fix #4: Remap keys or shortcuts with PowerToys

Microsoft PowerToys Keyboard Manager can change what a key or shortcut sends. Its application-specific option is a clever touch when a combination is useful in one program but conflicts with another.

  1. Install Microsoft PowerToys from an official Microsoft distribution channel and open PowerToys Settings.
  2. Select Keyboard Manager and enable it. You should see controls for remapping keys and shortcuts; their placement can vary by PowerToys version.
PowerToys Settings showing Keyboard Manager enabled and the controls for remapping a key and a shortcut
  1. To change one key, open Remap a key and add a mapping. Choose the physical key on the left and the replacement on the right, such as Caps Lock to Ctrl.
  2. Apply the mapping and confirm any warning. Press the original key to check that it sends the replacement.
Keyboard Manager key remapping editor showing Caps Lock mapped to Ctrl
  1. To change a combination, open Remap a shortcut and add a mapping. Enter the original combination and the combination it should send.
  2. If the editor offers an application field, enter the target program’s process name, such as chrome.exe, to limit the mapping to that app. Apply the change and test it there.
Keyboard Manager shortcut remapping editor showing source and destination shortcut fields and the optional target application field

PowerToys must keep running for these mappings to work. Enable its startup option if you want them after every sign-in. If a remap fails only inside a program running as administrator, PowerToys may need the same privilege level.

Fix #5: Type repeated text or run several actions with AutoHotkey v2

AutoHotkey v2 is worth a look when one key combination needs to type a phrase or perform several actions. Use v2 for new scripts; older v1 examples can use different syntax.

  1. Download Autohotkey from their website and install version 2.
  2. Open Notepad and enter this script to type a phrase when you enter ;brb:
   ::;brb::Be right back.
  1. Select File > Save as, choose All files as the file type, and save it as Shortcuts.ahk. The filename should end in .ahk.
Notepad Save as dialog showing Shortcuts.ahk as the file name and All files as the file type
  1. Double-click Shortcuts.ahk, then type ;brb followed by a space in a text field. AutoHotkey should replace the abbreviation with “Be right back.”

To launch Notepad with Windows + Ctrl + N, add this line to the same script and run it again:

#^n::Run "notepad.exe"

For several actions in sequence, add a block like this instead. It opens File Explorer, focuses its address bar, and opens C:\Users:

#^e::
{
    Run "explorer.exe"
    Sleep 500
    Send "^l"
    Send "C:\Users"
    Send "{Enter}"
}
Notepad showing an AutoHotkey v2 script with the Win+Ctrl+E hotkey and its Run, Sleep, and Send lines

Save the file and run it again after edits. The script also needs to run after each sign-in if you want its shortcuts available then.

When a shortcut doesn’t respond

Check that its desktop shortcut or script still exists, then try a different key combination. Windows and other apps already use combinations such as Alt + Tab and Windows + L.

If a key works on your laptop keyboard but fails on a Bluetooth keyboard, check the keyboard’s function-key mode. If it fails only through a USB-C dock, connect the keyboard directly to the PC to narrow down the cause.

Windows 10 reached end of support for most users on October 14, 2025. These steps still apply to supported Windows 10 installations, including eligible devices receiving Extended Security Updates.

Conclusion

For opening one program or folder, Fix #1 usually does the job with the least setup. I’d recommend PowerToys for remapping, and AutoHotkey v2 when you need typed text or several actions; repeated failures in administrator windows point to a privilege mismatch rather than a bad shortcut.