The fastest way to open Run on Windows is Windows key + R
The Run command is a small dialog box that lets you type a program name, file path, or system command and execute it immediately. On Windows, press Windows key + R at the same time. A box labeled "Run" will appear in the lower left of your screen. Type what you want to run and press Enter.
If the keyboard shortcut does not work, your keyboard may not have a Windows key, or it may be disabled. You can also open Run through the Start menu: click Start, type "run" in the search box, and select "Run" from the results. On Windows 11, you may see it listed as "Run" with a small icon. On Windows 10, it appears the same way.
The Run command is useful for launching programs without navigating through folders, opening system settings quickly, or running administrative commands. It also accepts file paths, so you can type a full path to a document and open it directly.
Key Takeaways
- Windows key + R is the keyboard shortcut to open Run on any Windows version.
- If the shortcut does not work, search for "Run" in the Start menu and click the result.
- You can type program names, file paths, or system commands into the Run box and press Enter to execute them.
- Mac does not have a Run command, but Spotlight (Command + Space) performs the same function.
- Common Run commands include cmd for Command Prompt, powershell for PowerShell, and devmgmt.msc for Device Manager.
What to type in the Run command box
Once the Run box is open, you can type a program name, a file path, or a system command. If you type just the program name — like notepad, calc, or mspaint — Windows will search your system and launch it. You do not need to type the full path or file extension.
For file paths, type the full path including the drive letter and folder names. For example, C:\Users\YourName\Documents\myfile.txt will open that specific file. You can also type a folder path like C:\Users\YourName\Documents to open that folder in File Explorer.
System commands are also accepted. cmd opens Command Prompt, powershell opens PowerShell, devmgmt.msc opens Device Manager, and services.msc opens Services. These are useful for system administration tasks. After typing, press Enter to execute the command.
Common Run commands for system administration
Several built-in Windows tools can be opened directly from Run. devmgmt.msc opens Device Manager, where you can view and manage hardware devices and drivers. services.msc opens Services, which shows running background processes. diskmgmt.msc opens Disk Management, used to partition and format drives.
eventvwr.msc opens Event Viewer, which displays system logs and error messages. compmgmt.msc opens Computer Management, a central hub for several system tools. devmgmt.msc is one of the most frequently used because driver issues often require checking Device Manager first.
You can also type cmd to open Command Prompt or powershell to open PowerShell, both of which accept typed commands for more advanced system tasks. If you need to run a command as administrator, right-click the Run box result and select "Run as administrator" before pressing Enter.
Opening Run as administrator
Some commands and programs require administrator permissions to run. If you type a command and it fails or says you do not have permission, you need to run it as administrator. The easiest way is to open Run normally (Windows key + R), type your command, then press Ctrl + Shift + Enter instead of just Enter. Windows will ask for confirmation, and the command will run with administrator rights.
Alternatively, after typing your command in Run, press Enter normally. If the program or command needs administrator access, Windows will prompt you with a User Account Control dialog asking for permission. Click "Yes" to allow it to run.
Some system commands like services.msc, devmgmt.msc, and diskmgmt.msc almost always require administrator rights. If you use them frequently, you may want to get in the habit of using Ctrl + Shift + Enter when opening them.
What to do if Run does not open
If Windows key + R does not open the Run dialog, the keyboard shortcut may be disabled or your keyboard may not have a Windows key. Try using the Start menu instead: click the Start button, type "run" in the search box, and select "Run" from the results. This method works on all Windows versions.
If the Start menu search does not show Run, your system may have a policy preventing it from being used. This is rare on personal computers but common on managed work computers. Contact your IT department if you need Run enabled. On a personal computer, you can try restarting Windows or checking Settings to see if any accessibility features are interfering.
Another option is to use Command Prompt or PowerShell directly instead. Press Windows key + X and select "Terminal" or "Command Prompt" from the menu. From there, you can type commands and execute them the same way you would in Run.
How Mac users can do the same thing
Mac does not have a Run command, but Spotlight performs the same function. Press Command + Space to open Spotlight, then type the name of the program or file you want to open. Spotlight will search your Mac and show results as you type. Press Enter to open the top result, or click the one you want.
Spotlight can launch applications, open files, perform calculations, and search your system — much like Run on Windows. If you want to run a terminal command on Mac, open Terminal (find it in Applications > Utilities or search for it in Spotlight), then type your command and press Enter.
For system administration on Mac, you may need to use Terminal for commands that Windows users would run through the Run dialog or Device Manager. Mac also has System Preferences and System Settings where many administrative tasks can be completed through a graphical interface instead.
Frequently Asked Questions
Can I run a batch file or script from the Run command?
Yes. Type the full path to the file, for example C:\Users\YourName\script.bat, and press Enter. If the script needs administrator rights, use Ctrl + Shift + Enter instead of just Enter. You can also type just the filename if the file is in a folder that Windows searches automatically, though using the full path is more reliable.
What does the Run command history do?
When you open Run and start typing, Windows shows a dropdown list of commands you have typed before. You can click one to select it without retyping. This history is stored locally on your computer. If you want to clear it, you can delete individual items by highlighting them and pressing Delete, or clear all history through Windows Settings under Privacy.
Can I use Run to open websites?
Yes, if you type a full web address like https://www.example.com, Windows will open it in your default browser. You can also type just the domain name without the protocol, like example.com, and Windows will usually figure it out. This is faster than opening a browser and typing the address manually.
Is there a way to run a program with specific parameters from Run?
Yes. Type the program name or path followed by a space and then the parameters. For example, notepad C:\file.txt will open Notepad and load that specific file. Parameters vary by program, so check the program's documentation to see what options it accepts.