— Kiaasa Dhanori Pune

The Windows Run dialog lets you open any tool, folder, or Control Panel applet instantly by typing a short command and pressing Enter, skipping menus entirely. This is the complete, verified list of Windows Run commands for Windows 10 and Windows 11, with the legacy XP-era entries corrected and modern replacements noted.
Press Win + R to open the Run box from anywhere. Type a command, press Enter, and the target launches. Because most of these commands are also valid in Command Prompt, PowerShell, the Start menu search box, and the File Explorer address bar, learning them once pays off everywhere in the operating system.
Why Run commands still matter for system administration
Modern Windows hides many classic tools behind redesigned Settings pages, but the underlying executables and Microsoft Management Console (MMC) snap-ins are still present. Typing a Run command jumps straight to the real tool, which is faster than clicking through Settings and far more reliable when you script tasks or support a machine remotely.
A few ground rules before the lists:
- Run commands are not case-sensitive.
NOTEPADandnotepadbehave identically. - Environment variables work too. Anything wrapped in percent signs, such as
%temp%, expands to a real path. - Some tools need elevation. For administrative snap-ins, type the command in an elevated prompt, or press
Ctrl + Shift + Enterin the Run box to launch as administrator.
Everyday apps and core Windows Run commands
These open the built-in applications that ship with every copy of Windows. Third-party programs such as web browsers are not Run commands by default; you can only launch a browser this way if you create the alias yourself (covered later), so the old firefox and iexplore entries from XP-era lists do not work on a clean install.
| Command | Opens |
calc | Calculator |
cmd | Command Prompt |
powershell | Windows PowerShell |
wt | Windows Terminal (Windows 11 / installed) |
notepad | Notepad |
write | WordPad (deprecated, removed in newer Windows 11 builds) |
mspaint | Paint |
snippingtool | Snipping Tool |
charmap | Character Map |
osk | On-Screen Keyboard |
magnify | Magnifier |
explorer | File Explorer |
control | Control Panel |
ms-settings: | Settings app (Windows 10/11) |
winword | Microsoft Word (if Office is installed) |
excel | Microsoft Excel (if installed) |
outlook | Microsoft Outlook (if installed) |
Note on WordPad: Microsoft deprecated WordPad and removed it from Windows 11 24H2 and later. On systems where it still exists, the correct Run command is write (not wordpad). For rich-text editing on modern Windows, use Word or a free editor instead.
Power and session Run commands
The classic one-word commands have been replaced by shutdown with switches, which gives you precise control and is what you should script.
| Task | Command |
| Shut down (60-second timer) | shutdown /s |
| Shut down immediately | shutdown /s /t 0 |
| Restart immediately | shutdown /r /t 0 |
| Restart into advanced boot options | shutdown /r /o |
| Log off the current user | logoff |
| Lock the workstation | rundll32 user32.dll,LockWorkStation (or Win + L) |
| Cancel a pending shutdown | shutdown /a |
The bare shutdown command with no switches only prints the help text on modern Windows, so always include /s or /r. The XP-style shutdown -r still works because the executable accepts both dash and slash switches, but slash is the documented Windows form.
Administrative MMC snap-ins (the sysadmin core)
These are the most valuable Windows Run commands for system administration. Each .msc file is a Microsoft Management Console snap-in that opens a specific management tool. Run them from an elevated prompt for full functionality.
| Command | Tool |
compmgmt.msc | Computer Management (umbrella console) |
devmgmt.msc | Device Manager |
diskmgmt.msc | Disk Management |
services.msc | Services |
eventvwr.msc | Event Viewer |
taskschd.msc | Task Scheduler |
gpedit.msc | Local Group Policy Editor (Pro/Enterprise only) |
secpol.msc | Local Security Policy |
lusrmgr.msc | Local Users and Groups (Pro/Enterprise) |
perfmon.msc | Performance Monitor |
perfmon /res | Resource Monitor |
fsmgmt.msc | Shared Folders |
rsop.msc | Resultant Set of Policy |
wf.msc | Windows Defender Firewall with Advanced Security |
certmgr.msc | Certificate Manager (current user) |
tpm.msc | Trusted Platform Module Management |
Corrections from older lists: The legacy dfrg.msc (Disk Defragmenter) no longer exists; the modern tool is launched with dfrgui. schedtasks was the XP path to Scheduled Tasks; the current snap-in is taskschd.msc. Remember that gpedit.msc, secpol.msc, and lusrmgr.msc are absent on Windows Home editions because those editions do not include the policy and local-user management features.
System utilities and troubleshooting Run commands
This group covers maintenance, configuration, and diagnostics, the commands you reach for when fixing a slow or misbehaving machine.
| Command | Tool |
taskmgr | Task Manager |
regedit | Registry Editor |
msconfig | System Configuration |
msinfo32 | System Information |
dxdiag | DirectX Diagnostic Tool |
cleanmgr | Disk Cleanup |
dfrgui | Optimize Drives (defragment) |
diskpart | DiskPart partition tool (elevated) |
chkdsk | Check Disk (run from elevated CMD with switches) |
sfc /scannow | System File Checker (elevated) |
verifier | Driver Verifier Manager |
resmon | Resource Monitor |
cleanmgr /sageset:1 | Configure advanced Disk Cleanup profile |
winver | Windows version and build number |
control update | Windows Update (opens Settings page) |
Retired tools to know about: Dr. Watson (drwtsn32), the Clipboard Viewer (clipbrd), the System Configuration Editor (sysedit), syskey, and the standalone Windows Update Manager (wupdmgr) were all removed years ago. Crash analysis now lives in Event Viewer and Windows Error Reporting; clipboard history is enabled with Win + V; and Windows Update is part of the Settings app.
Control Panel applets (.cpl files)
Control Panel items are .cpl files you can open directly. Many now redirect to a Settings page on Windows 11, but the command still works as a shortcut.
| Command | Applet |
appwiz.cpl | Programs and Features (uninstall) |
desk.cpl | Display settings |
main.cpl | Mouse Properties |
powercfg.cpl | Power Options |
timedate.cpl | Date and Time |
intl.cpl | Region settings |
inetcpl.cpl | Internet Properties |
ncpa.cpl | Network Connections |
mmsys.cpl | Sound |
sysdm.cpl | System Properties (advanced, env vars) |
joy.cpl | Game Controllers |
firewall.cpl | Windows Defender Firewall |
hdwwiz.cpl | Device Manager / Add Hardware |
wscui.cpl | Security and Maintenance |
telephon.cpl | Phone and Modem |
Corrections from XP-era lists: Several old .cpl names are gone. Network Connections is now ncpa.cpl (the old control netconnections path still routes there). Mouse Properties is main.cpl. The applets access.cpl, wuaucpl.cpl (Automatic Updates), netsetup.cpl, odbccp32.cpl, password.cpl, sticpl.cpl, and nusrmgr.cpl no longer exist on modern Windows. Use these replacements:
- Accessibility:
ms-settings:easeofaccessinstead ofaccess.cpl. - ODBC:
odbcad32(32-bit) orC:\Windows\SysWOW64\odbcad32.exefor the matching architecture. - User accounts:
netplwiz(advanced user accounts) replacesnusrmgr.cplandpassword.cpl. - Scanners and cameras:
ms-settings:printersor the Camera app replacesticpl.cpl.
Shell folders and environment-variable shortcuts
You can open key folders by typing their environment variable into Run. These expand to the correct path on any machine, which makes them ideal for scripts and remote support.
| Command | Opens / value |
%temp% | Current user temp folder |
%appdata% | Roaming application data |
%localappdata% | Local application data |
%userprofile% | Your user home folder |
%homepath% | Home path (relative to home drive) |
%homedrive% | Drive letter of the home directory |
%programfiles% | Program Files folder |
%programdata% | Shared application data |
%systemdrive% | The drive Windows is installed on (usually C:) |
%windir% | Windows installation directory |
shell:startup | Current user Startup folder |
shell:common startup | All-users Startup folder |
shell:sendto | SendTo menu folder |
The shell: prefix is one of the most useful modern additions. Typing shell: followed by a known folder name opens special locations that have no fixed path, such as shell:startup for the per-user autostart folder.
Step-by-step: create your own Run command for any app
Browsers and other third-party programs are not Run commands by default. To make one work, register an App Path so the system can find the executable by a short name.
- Open the Registry Editor with
regedit(elevated). - Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths. - Create a new key named after the command you want, for example
firefox.exe. - Set the key's
(Default)value to the full path of the program, such asC:\Program Files\Mozilla Firefox\firefox.exe. - Optionally add a string value named
Pathpointing to the program's folder so it finds its own DLLs. - Close
regedit. NowWin + R, typefirefox, and it launches.
A simpler, registry-free alternative is to drop a shortcut into a folder that is on your PATH environment variable, or to add the program's folder to PATH via sysdm.cpl → Advanced → Environment Variables.
Common pitfalls to avoid
- Expecting browser aliases to work out of the box.
firefoxandiexploreare not built-in; Internet Explorer itself is retired and redirects to Microsoft Edge on Windows 11. - Using removed XP-era commands.
clipbrd,drwtsn32,winchat,sysedit,syskey, anddfrg.mscsimply error out. Use the modern equivalents listed above. - Forgetting elevation. Snap-ins like
secpol.mscor commands likesfc /scannowneed administrator rights, or they fail silently or with access-denied errors. - Edition mismatches.
gpedit.mscandlusrmgr.mscare missing on Windows Home; do not assume they exist on every PC you support. - Typing destructive commands without switches.
diskpartandchkdskare powerful; always know the target disk before issuing write operations.
How to verify a command worked
- After pressing Enter, confirm the expected window or tool opens. If nothing happens, the command is wrong or the tool is not installed on that edition.
- For folder shortcuts, check that the File Explorer title bar shows the resolved path. If Run reports it cannot find the item, the environment variable may be undefined in that session.
- For an elevated snap-in, look for the User Account Control prompt; if it never appeared and the tool shows read-only or greyed-out options, you launched it without admin rights.
- To confirm an executable exists before relying on it, run
where toolnamein Command Prompt; it prints the full path or reports that the file was not found.
Key Takeaways
- Win + R plus a short command is the fastest way to reach any Windows tool, folder, or Control Panel applet.
- The most valuable sysadmin commands are the MMC snap-ins:
compmgmt.msc,devmgmt.msc,services.msc,eventvwr.msc, anddiskmgmt.msc. - Many XP-era commands are dead; use modern replacements such as
dfrgui,ncpa.cpl,main.cpl,netplwiz, andtaskschd.msc. - Environment-variable shortcuts like
%temp%and%appdata%, plus theshell:prefix, open paths that differ from machine to machine. - Browsers and third-party apps need an App Paths registry entry or a
PATHaddition before they respond to a Run command.
Frequently Asked Questions
How do I open the Run dialog in Windows 11?
Press Win + R anywhere in Windows. You can also right-click the Start button and choose Run, or search for "Run" in the Start menu. The shortcut works identically across Windows 10 and Windows 11.
Why does my Run command say Windows cannot find the file?
The executable either does not exist on your edition (for example gpedit.msc on Windows Home), has been retired (like clipbrd or dfrg.msc), or is a third-party app that has no registered App Path. Verify the correct modern command or register the program in the App Paths registry key.
Do Run commands work in Command Prompt and PowerShell?
Most do, because they are real executables on the system PATH. You can type notepad, services.msc, or %temp% in CMD or PowerShell and they launch the same target. The File Explorer address bar and the Start menu search box also accept these commands.
How do I run a command as administrator from the Run box?
Type the command, then press Ctrl + Shift + Enter instead of plain Enter to launch it elevated. You will see a User Account Control prompt; approve it to get full administrative access for tools like regedit or secpol.msc.
For more Windows tips and walkthroughs, subscribe to @explorenystream on YouTube.