Win R Shortcut: What It Does and How to Use It

How-to basics · Updated November 23, 2026

The Win + R shortcut opens the Run dialog box in Windows. Press the Windows key and the R key at the same time, and a small window appears in the bottom-left corner of your screen with a single text field labeled Open. This dialog lets you launch programs, open folders, access system tools, and run commands by typing their names or paths.

What the Run Dialog Is For

The Run dialog has been a staple of Windows since the early days—it appeared in Windows 95 and has remained in every version since, including Windows 11. It provides a quick way to start applications without navigating through the Start menu or File Explorer. Instead of clicking through menus, you type a command and press Enter. For example, typing cmd opens Command Prompt, notepad launches Notepad, and control opens the Control Panel. The dialog also accepts full file paths, so you can type C:\Program Files\SomeApp\app.exe to run a specific executable.

How to Use Win + R Effectively

Using the shortcut is straightforward, but there are a few tricks that make it more powerful:

  • Launch system tools: Type msconfig for System Configuration, regedit for Registry Editor, taskmgr for Task Manager, or devmgmt.msc for Device Manager.
  • Open folders quickly: Type . to open the current user’s profile folder, .. to open the Users folder, or %temp% to open the temporary files folder.
  • Run commands with arguments: You can add parameters, like cmd /k ipconfig to run ipconfig and keep the window open, or notepad C:\path\to\file.txt to open a specific file.
  • Use environment variables: Type %appdata% to jump to the Roaming AppData folder, or %systemroot% to go to the Windows folder.
  • Remember your history: The Run dialog keeps a dropdown of recent commands. Click the arrow at the right end of the text field to see and re-run previous entries.

Common Commands to Try

Here is a list of useful commands you can type into the Run dialog. All of these work on Windows 10 and Windows 11 unless noted:

  • calc – Calculator
  • mspaint – Paint
  • winver – About Windows (shows your OS version)
  • services.msc – Services manager
  • diskmgmt.msc – Disk Management
  • ncpa.cpl – Network Connections
  • sysdm.cpl – System Properties (Advanced tab)
  • shutdown /s /t 0 – Shut down immediately (replace /s with /r to restart)

Note that some commands require administrator privileges. For example, regedit will prompt for UAC if you are not an admin, and cmd opens a standard command prompt unless you run it as administrator (you can press Ctrl+Shift+Enter after typing the command to run it elevated).

Why the Run Dialog Still Exists

Many users wonder why the Run dialog is still around when the Start menu has a search box that can also launch programs. The answer is speed and precision. The Start menu search is great for finding apps by name, but it can be slower for exact commands and system tools. The Run dialog is also handy when you know the exact command or path and want to avoid extra clicks. For power users, it is often faster to press Win + R, type cmd, and press Enter than to open the Start menu, type “Command Prompt,” and click the result. Additionally, some commands like msconfig or gpedit.msc (Group Policy Editor, only in Pro/Enterprise editions) are not always easy to find in the Start menu search, but they work instantly in Run.

Common Problems and How to Fix Them

If Win + R does not work, the most common cause is a keyboard issue—the Windows key may be disabled by a keyboard lock (often Fn + F6 or a dedicated key) or a software setting. Check your keyboard’s manual or try an on-screen keyboard. Another possibility is that the Run dialog has been disabled by Group Policy or the registry. In Windows 10/11 Pro, you can check gpedit.msc under User Configuration > Administrative Templates > Start Menu and Taskbar and look for “Remove Run menu from Start Menu.” If that is enabled, set it to Not Configured. For Home editions, you can edit the registry: navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer, create a DWORD named NoRun and set it to 0. Always back up the registry before editing. If the dialog opens but commands do not run, it might be a PATH issue—some commands like ipconfig work because they are in the system PATH, but a custom program might not. In that case, type the full path to the executable.

Win + R vs. Other Shortcuts

The Run dialog is often compared to the Start menu search (Win + S) and the Command Prompt (Win + X, then C or A). The key differences are:

  • Win + R – Opens a small dialog for one-off commands. Best for quick system utilities and exact paths.
  • Win + S – Opens the search box, which can find apps, files, settings, and web results. Better for fuzzy searches, but slower for exact commands.
  • Win + X – Opens the Quick Link menu with advanced options like Device Manager, Disk Management, and Terminal. This is a separate menu, not a text input.
  • Ctrl + Shift + Enter – When used in the Start menu search, it runs the highlighted result as administrator. In the Run dialog, you can also press Ctrl+Shift+Enter after typing a command to run it elevated.

For everyday use, Win + R is the fastest way to launch a known tool. For discovering new apps, use the Start menu search.

Customizing the Run Dialog

You cannot change the appearance of the Run dialog itself, but you can control which commands are available. The dialog reads from the system PATH and the registry, so you can add your own commands. For example, to create a custom command that opens a specific folder, you can create a shortcut to that folder, name it something like myfolder, and place it in C:\Windows (requires admin) or in a folder that is in your PATH. Then typing myfolder in Run will open that folder. Another option is to use the start command with a URL, like start https://example.com, to open a website in your default browser. However, be careful: adding too many items to the Windows folder can slow down system startup. A safer approach is to create a folder like C:\Commands, add it to your PATH via Environment Variables, and place shortcuts there.

Frequently Asked Questions

Does Win + R work on all versions of Windows?

Yes, the Win + R shortcut works on Windows 7, 8, 10, and 11, as well as Windows Server. The Run dialog has been present since Windows 95. On some older versions like Windows 3.1, the equivalent was File > Run, but the keyboard shortcut was not the same.

Can I open the Run dialog with the keyboard only?

Yes, Win + R is a keyboard-only shortcut. If your keyboard lacks a Windows key (rare), you can press Ctrl + Esc to open the Start menu, then press R, but that is not the same. Alternatively, you can right-click the Start button and select Run from the menu, but that requires a mouse or the context menu key.

Why does typing a command in Run sometimes do nothing?

This usually means the command is not recognized. The Run dialog only executes commands that are in the system PATH or that you type as a full path. For example, chrome might not work because Chrome is not in the default PATH, but C:\Program Files\Google\Chrome\Application\chrome.exe will. You can check your PATH by typing cmd in Run, then typing path in the Command Prompt.

Is there a way to make Run open as administrator by default?

No, the Run dialog itself does not have a “run as administrator” option. However, you can press Ctrl + Shift + Enter after typing a command to run it elevated. This works for commands like cmd, regedit, and msconfig. For other executables, you may need to right-click and select “Run as administrator” from the context menu, but that is not available in the Run dialog itself.

Can I use Win + R to open a folder with spaces in the name?

Yes, but you need to enclose the path in quotes. For example, type "C:\Program Files" to open the Program Files folder. Without quotes, Windows will try to run a program named C:\Program and fail. The same rule applies to file paths with spaces.

Does the Run dialog have any hidden features?

One useful trick is that you can type shell:startup to open the Startup folder, or shell:appsFolder to see all installed apps. These are known as shell commands and they work in Run. Another is \ (backslash) to open the root of the current drive, or \\server\share to open a network share. Also, if you type . and press Enter, it opens your user profile folder.

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.