ThisCalculator

Everyday

Create a Shortcut for the Run Command (Windows)

Updated · Standard formula, shown below

To create a shortcut for the Run command in Windows, you can either pin the Run app to your taskbar or Start menu, or create a desktop shortcut that launches it directly. The simplest method is to press Windows key + R at any time, but if you prefer a mouse-based shortcut, here’s how to make one that works on all current versions of Windows.

Why Create a Run Shortcut?

The Run dialog is a quick way to launch programs, open folders, or access system tools by typing a command. While the keyboard shortcut Win+R is fast, some users prefer a visible icon on the desktop or taskbar—especially on touch devices or when using a mouse most of the time. A dedicated shortcut also lets you open Run with a single click, and you can even assign a custom keyboard shortcut to it.

Method 1: Pin Run to Taskbar or Start Menu

The easiest no‑download method uses the built‑in Run app that ships with Windows 10 and Windows 11.

  1. Click the Start button (or press the Windows key).
  2. Type Run in the search box.
  3. Right‑click the Run app that appears in the results.
  4. Choose Pin to taskbar or Pin to Start.

That’s it. The Run icon (a small window with a cursor) will appear on your taskbar or in the Start menu. Clicking it opens the dialog instantly.

Method 2: Create a Desktop Shortcut

If you want the shortcut on your desktop, follow these steps:

  1. Right‑click an empty area on your desktop.
  2. Select New → Shortcut.
  3. In the location field, type explorer.exe shell:::{2559a1f3-21d7-11d4-bdaf-00c04f60b9f0} (this is the Windows shell command that opens the Run dialog).
  4. Click Next.
  5. Name the shortcut Run (or anything you like) and click Finish.

Double‑clicking this shortcut will open the Run dialog. You can also right‑click the shortcut, select Properties, and assign a keyboard shortcut (e.g., Ctrl+Alt+R) in the “Shortcut key” field.

Method 3: Use the Windows Key + R (Built‑in)

If you don’t need a visible icon, the fastest way to open Run is the built‑in keyboard shortcut: Windows key + R. This works on Windows 7, 8, 10, and 11, and requires no setup. Many power users rely on this exclusively because it’s faster than moving a mouse to a shortcut.

Common Problems and Fixes

  • Shortcut doesn’t open Run: Make sure you typed the shell command exactly as shown. A common mistake is adding a space or omitting the braces. Copy‑paste the command directly.
  • Taskbar pin disappears after restart: This can happen if Windows Explorer crashes or if you’re using a third‑party taskbar tool. Re‑pin the shortcut; it usually stays after that.
  • Win+R doesn’t work: If the keyboard shortcut fails, check if your keyboard’s Windows key is disabled (some gaming keyboards have a “Win Lock” mode). Also, some enterprise policies can disable the Run dialog—check with your IT admin.
  • Shortcut opens a folder instead of Run: If you accidentally used a different shell command (like shell:::{20D04FE0-3AEA-1069-A2D8-08002B30309D} which opens “This PC”), replace it with the correct one.

What Can You Do With the Run Command?

The Run dialog is a gateway to many system tools and apps. Here are a few common commands you can type:

  • cmd – opens the command prompt
  • powershell – opens PowerShell
  • notepad – opens Notepad
  • control – opens the Control Panel
  • msconfig – opens System Configuration (useful for startup settings)
  • regedit – opens the Registry Editor (be careful)
  • %temp% – opens the temporary files folder

You can also type a full path to a folder (e.g., C:\Users\YourName\Documents) or a URL (e.g., https://example.com) to open it in your default browser.

Frequently Asked Questions

Can I create a shortcut that opens the Run command with a specific program already typed?

Yes, but that’s not a shortcut to the Run dialog itself—it’s a shortcut to the program. For example, you could create a shortcut to cmd.exe directly. To open Run with a pre‑filled command, you would need a third‑party scripting tool; the built‑in Run dialog doesn’t accept command‑line arguments.

Is there a way to open Run from the File Explorer?

Yes. In File Explorer, click the address bar, type shell:::{2559a1f3-21d7-11d4-bdaf-00c04f60b9f0} and press Enter. This opens the Run dialog from within the Explorer window. It’s a handy fallback if your keyboard shortcut fails.

Does the Run shortcut work on Windows 11?

Yes, all the methods above work on Windows 11, including the shell command for the desktop shortcut. The taskbar pinning works the same way as Windows 10.

Why does my Run dialog open but close immediately?

This usually happens if you typed a command that doesn’t exist or if the program you’re trying to open has been removed. The Run dialog itself doesn’t crash; it simply closes after you press Enter. Try typing cmd and see if the command prompt opens.

Can I change the keyboard shortcut for Run?

No, Windows does not allow you to remap the built‑in Win+R shortcut without third‑party software. If you want a different shortcut, you can create a desktop shortcut and assign a custom key combination as described in Method 2.

Is there a way to open Run as administrator?

Yes, but the Run dialog itself doesn’t have an “admin” mode. Instead, you can type a command and press Ctrl+Shift+Enter to run it as administrator. For example, type cmd and press Ctrl+Shift+Enter to open an elevated command prompt.

Alternatives to the Run Command

If you find yourself using Run frequently, you might also like:

  • PowerToys Run – a free Microsoft utility that gives you a Spotlight‑style launcher (press Alt+Space) with more features than the built‑in Run.
  • Windows Terminal – if you mainly use Run to launch command‑line tools, you can pin Windows Terminal to the taskbar and use tabs.
  • Start Menu search – typing a program name in the Start menu often finds it faster than remembering the exact command.

Creating a shortcut for the Run command is a small convenience that can save you a few seconds every day. Whether you choose the taskbar pin, a desktop icon, or just stick with Win+R, you’ll have the dialog at your fingertips whenever you need it.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.