How to Create Shortcut Keys in Windows

How-to basics · Updated November 23, 2026

Creating custom shortcut keys lets you launch any program, open a file, or run a script with a simple key combination like Ctrl+Alt+N. This guide shows you the built-in Windows method (no extra software) and covers common pitfalls. You’ll need a Windows PC (10 or 11) and the shortcut or file you want to assign a hotkey to.

What You’ll Need

  • A Windows 10 or Windows 11 PC.
  • The program, file, or folder you want to open with the shortcut key.
  • If the item is a program, it must have a shortcut (a .lnk file) on your desktop, Start menu, or in a folder. You cannot assign a hotkey directly to an .exe file—you must use a shortcut.

Step-by-Step

  1. Create a shortcut if you don’t have one. Right-click the program’s .exe file (or the file/folder), select Show more options (Windows 11) or Send to > Desktop (create shortcut). A shortcut icon appears on your desktop. For a file or folder, right-click it and choose Create shortcut in the same location, then move it to your desktop.
  2. Right-click the shortcut and select Properties. This opens the shortcut’s Properties window. Make sure you’re on the Shortcut tab.
  3. Click the Shortcut key field. It’s usually near the top, labeled “Shortcut key:”. The field currently shows “None”.
  4. Press your desired key combination. Click inside the field, then press the keys you want. Windows automatically adds Ctrl+Alt as a prefix. For example, if you press N, the field shows Ctrl+Alt+N. You can also use Ctrl+Shift or Ctrl+Shift+Alt by pressing those keys first. You cannot use just Ctrl+Alt alone, nor can you use the Windows key.
  5. Click Apply, then OK. The shortcut key is now active. Test it by pressing the combination—the program or file should open.

Common Mistakes

  • Assigning a hotkey to an .exe directly. Windows only allows shortcut keys on shortcuts (.lnk files), not on the actual program file. Always create a shortcut first.
  • Using a key combination that’s already taken. For example, Ctrl+Alt+Del is reserved by Windows, and many apps use Ctrl+Alt+F etc. If your hotkey doesn’t work, try a different letter.
  • Deleting the shortcut. If you delete the shortcut (the .lnk file) after assigning the hotkey, the hotkey stops working. The shortcut must remain in place.
  • Typing the key instead of pressing it. Some users type the letter in the field instead of pressing the key. You must physically press the key combination.

Tips

  • Use Ctrl+Shift for less conflict. Many programs already use Ctrl+Alt combinations, so Ctrl+Shift+Letter is often safer.
  • Keep the shortcut on your desktop. If you move the shortcut to another folder, the hotkey may stop working. Desktop shortcuts are easiest to manage.
  • Use a mnemonic letter. For example, Ctrl+Alt+N for Notepad, Ctrl+Alt+C for Calculator.
  • You can also assign hotkeys to shortcuts in the Start menu. Right-click a Start menu shortcut, select Properties, and set the hotkey there—the shortcut remains in the Start menu.
  • For portable apps, create a shortcut to the .exe and place it on your desktop, then assign the hotkey.

Troubleshooting

  • Hotkey does nothing when pressed. First, check that the shortcut still exists. If you moved or renamed the shortcut, the hotkey breaks. Recreate the shortcut and reassign the hotkey. Also, try a different key combination—the one you chose might be used by another program running in the background.
  • Hotkey works only when the shortcut is on the desktop. That’s normal. Windows only monitors shortcuts that are in certain locations (desktop, Start menu, or the Quick Launch folder). If you moved the shortcut elsewhere, move it back.
  • The Shortcut key field is grayed out. This happens if you’re viewing properties of an .exe directly, not a shortcut. Create a shortcut first.
  • Hotkey opens the wrong program. Another shortcut might be using the same combination. Change one of them to a different key.
  • After a reboot, the hotkey stops working. This is rare but can happen if the shortcut is on a removable drive or network location. Keep the shortcut on your local desktop.

Frequently Asked Questions

Can I use the Windows key in a custom shortcut?
No. The Windows key is reserved by the operating system. You can only use Ctrl, Alt, Shift, and the Windows key is not allowed.

Can I create a shortcut key for a website?
Yes. Create a shortcut to the website (drag the URL to your desktop), then assign a hotkey to that shortcut. It will open in your default browser.

Can I use function keys (F1–F12) as shortcut keys?
Yes, you can assign a shortcut key using F-keys, but note that many F-keys have system functions (like F1 for Help). Test to see if they conflict.

Will the shortcut key work in all applications?
Yes, the hotkey works globally—it opens the target program or file no matter which app is currently in focus, as long as the shortcut exists.

Can I assign a shortcut key to a macro or script?
Yes. Create a shortcut to the script file (e.g., a .bat or .ps1), then assign a hotkey. However, the script must be executable and may require admin rights depending on what it does.

How do I remove a shortcut key?
Open the shortcut’s Properties, click the Shortcut key field, press Backspace or Delete to clear it, then click OK. The field will show “None”.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.