Skip to content
Browse tools

Windows 10 & 11 Β· Run dialog reference

Open any Windows tool
in two keystrokes,
without Search.

Press Win+R, type a short name, press Enter. That's faster and more predictable than the Start menu, and it reaches consoles the Start menu hides. This page lists the Run commands worth knowing β€” grouped by job, each one checked against current Windows 10 and 11. πŸ‘‡

⌨️
Open Run
Win + R

Or right-click Start β†’ Run. The box remembers your history.

πŸ›‘οΈ
As administrator
Ctrl + Shift + Enter

Instead of Enter or OK. You'll get a UAC prompt, then an elevated process.

πŸ“‹
Works in
Run, Explorer, CMD

Most commands also work in the Explorer address bar or a terminal.

πŸ‘‹

Who this is for: developers and power users who spend their day in Windows and are tired of clicking through Settings to find Environment Variables or Services. Commands are case-insensitive; the .exe extension is optional.

02 Β· Before the list

🧭 How the Run box finds things

Knowing what Run accepts means you can open far more than any list covers. It hands your text to the Windows shell, which tries these in turn:

You typeRun resolves it viaExample
A program nameThe App Paths registry key, then folders on your PATHnotepad, devenv, code
A management console.msc files in System32services.msc
A Control Panel applet.cpl files in System32ncpa.cpl
A folder or file pathOpens it in Explorer or the default app; environment variables expand%appdata%
A shell folderKnown-folder namesshell:startup
A URIThe registered protocol handlerms-settings:display, https://example.com
A network pathSMB\\server\share
A command with argumentsRuns it β€” a console window opens and closes when it finishescmd /k ipconfig /all

πŸ›‘οΈ Elevate anything

Type the command, then press Ctrl+Shift+Enter. It works for cmd, powershell, notepad (handy for editing the hosts file) and most consoles.

πŸ“Œ Keep console output visible

Console tools launched from Run close the moment they finish. Prefix with cmd /k to keep the window open: cmd /k ipconfig /all.

πŸ’‘

Two related shortcuts: Win+X opens the power-user menu (Device Manager, Terminal (Admin), Disk Management), and Win+Shift+S starts a screen snip. Neither is a Run command, but both save the same kind of time.

03 Β· Everyday

πŸ–₯️ System & settings

The commands most people end up using daily.

CommandOpensNote
cmdCommand PromptCtrl+Shift+Enter for an admin prompt.
powershellWindows PowerShell 5.1Built into Windows.
explorerFile ExplorerSame as Win+E.
taskmgrTask ManagerSame as Ctrl+Shift+Esc.
controlControl PanelStill present in Windows 11, though many pages now redirect to Settings.
ms-settings:Settings appSame as Win+I. Add a page name to jump straight there (below).
winverAbout WindowsExact version, edition and build number.
msinfo32System InformationHardware, BIOS, drivers, environment β€” exportable as a report.
msconfigSystem ConfigurationBoot options and safe mode. Startup apps moved to Task Manager.
regeditRegistry EditorExport a key before you change it.
sysdm.cplSystem PropertiesComputer name, performance, remote settings, Environment Variables.
notepadNotepad
calcCalculatorHas a Programmer mode for hex and bitwise maths.
mspaintPaint
snippingtoolSnipping ToolScreenshots and, on Windows 11, screen recording.
charmapCharacter MapFind and copy special characters and their code points.
oskOn-Screen Keyboard
magnifyMagnifierAlso Win++.
sndvolVolume Mixer (classic)Per-app volume.
netplwizUser Accounts (advanced)Also control userpasswords2.
useraccountcontrolsettingsUAC settingsThe slider for how often Windows prompts.
optionalfeaturesWindows FeaturesTurn on Hyper-V, IIS, WSL, .NET 3.5, Telnet client.
shell:AppsFolderEvery installed app, including Store appsThe quickest way to find, pin or create a shortcut for an app like Teams.

βš™οΈ Jump straight to a Settings page

CommandOpens
ms-settings:windowsupdateWindows Update
ms-settings:appsfeaturesInstalled apps (uninstall, modify)
ms-settings:defaultappsDefault apps
ms-settings:displayDisplay, scaling and resolution
ms-settings:aboutAbout β€” device name and specs
ms-settings:networkNetwork & internet
ms-settings:developersFor developers (Developer Mode, Terminal default, sudo on Windows 11 24H2+)
ms-settings:privacyPrivacy & security
ms-settings:troubleshootTroubleshoot

04 Β· Administration

🧩 Management consoles (.msc)

Microsoft Management Console snap-ins. These are the tools the Start menu buries deepest. Most need admin rights to change anything, so Ctrl+Shift+Enter is a good habit here.

CommandOpensNote
services.mscServicesStart, stop and set startup type β€” SQL Server, IIS, Windows Search, Docker.
devmgmt.mscDevice ManagerDrivers, disabled devices, hardware errors.
diskmgmt.mscDisk ManagementPartitions, drive letters, VHDs.
compmgmt.mscComputer ManagementServices, Event Viewer, Disk Management and more in one window.
eventvwr.mscEvent ViewerApplication crash logs live under Windows Logs β†’ Application.
taskschd.mscTask SchedulerScheduled jobs and what's running at logon.
perfmon.mscPerformance MonitorCounters and data collector sets.
certmgr.mscCertificates β€” current userWhere the ASP.NET Core dev certificate lives (Personal).
certlm.mscCertificates β€” local machineMachine-wide certificates, e.g. for IIS bindings. Needs admin.
wf.mscWindows Defender Firewall with Advanced SecurityInbound and outbound rules per port and program.
fsmgmt.mscShared FoldersShares, open sessions and open files.
comexp.mscComponent ServicesCOM+, DCOM config; also dcomcnfg.
tpm.mscTPM ManagementCheck TPM status and version.
gpedit.mscLocal Group Policy EditorPro+ Not included in Home editions.
secpol.mscLocal Security PolicyPro+
lusrmgr.mscLocal Users and GroupsPro+ On Home, use netplwiz.
printmanagement.mscPrint ManagementPro+
rsop.mscResultant Set of PolicyPro+ Which policies actually applied.
mmcEmpty Management ConsoleBuild your own console from snap-ins and save it.
πŸͺŸ

Windows Tools: on Windows 11, control admintools opens the Windows Tools folder β€” the renamed "Administrative Tools" β€” with shortcuts to every console above.

05 Β· The classic applets

πŸŽ›οΈ Control Panel applets (.cpl and control)

Microsoft keeps moving these pages into Settings, but the classic dialogs are often still quicker and show more options. On Windows 11 a few of them now just open the matching Settings page β€” noted below.

CommandOpensNote
appwiz.cplPrograms and FeaturesClassic uninstall list; "Turn Windows features on or off" link.
ncpa.cplNetwork ConnectionsAdapters, IPv4/DNS settings, disable/enable an adapter.
sysdm.cplSystem PropertiesAdvanced tab β†’ Environment Variables.
powercfg.cplPower OptionsPower plans.
mmsys.cplSoundPlayback and recording devices, the classic way.
main.cplMouse PropertiesPointer speed, buttons, pointers.
intl.cplRegionDate, time and number formats; system locale for non-Unicode programs.
timedate.cplDate and TimeTime zones, internet time sync.
inetcpl.cplInternet OptionsSystem proxy settings and certificates used by WinINet apps.
firewall.cplWindows Defender FirewallSimple view; use wf.msc for rules.
wscui.cplSecurity and MaintenanceReliability history link, maintenance status.
joy.cplGame ControllersTest and calibrate gamepads.
desk.cplDisplayOpens Settings β†’ Display on Windows 10 and 11.
hdwwiz.cplDevice ManagerSame as devmgmt.msc.
control printersDevices and PrintersNewer Windows 11 builds redirect to Settings β†’ Bluetooth & devices.
control foldersFile Explorer OptionsShow hidden files, file extensions.
control fontsFonts folderInstall or remove fonts.
control keyboardKeyboard PropertiesRepeat delay and rate.
control admintoolsWindows Tools / Administrative Tools
control userpasswords2User Accounts (advanced)Same as netplwiz.
control /name Microsoft.CredentialManagerCredential ManagerSaved Git, RDP and network passwords.
control /name Microsoft.NetworkAndSharingCenterNetwork and Sharing Center
control srchadmin.dllIndexing OptionsAdd or remove indexed folders; rebuild a broken search index.

06 Β· Connectivity

🌐 Networking & remote access

CommandOpensNote
ncpa.cplNetwork ConnectionsThe fastest way to change an adapter's DNS servers.
ms-settings:networkNetwork & internet settings
mstscRemote Desktop Connectionmstsc /v:server01 connects directly.
mstsc /adminRemote Desktop, admin sessionConnects to the console/admin session of a server.
msraWindows Remote AssistanceLegacy "invite someone to help" tool.
\\server\shareA network share in ExplorerAlso works with an IP: \\192.168.1.10\c$ (admin shares need admin credentials).
inetcpl.cplInternet OptionsConnections β†’ LAN settings for the system proxy.
wf.mscFirewall advanced rulesOpen a port for a local dev server.
rasphoneRemote Access PhonebookClassic VPN/dial-up connection dialog.
cmd /k ipconfig /allFull IP configurationAdapters, DNS servers, MAC addresses, DHCP lease.
cmd /k ipconfig /flushdnsClears the DNS resolver cacheAfter changing DNS or the hosts file.
cmd /k ping -t example.comContinuous pingCtrl+C to stop.
cmd /k tracert example.comRoute to a host
notepad C:\Windows\System32\drivers\etc\hostsThe hosts filePress Ctrl+Shift+Enter so Notepad can save it.

πŸ’‘ Checking from the outside instead? The site's Ping Test, Traceroute and Port Checker run from our servers, which is useful for comparing against what your own machine sees.

07 Β· Get there fast

πŸ“ Folders, environment variables & shell: locations

Anything that expands to a folder path opens in Explorer. Environment variables are wrapped in %; shell: names reach special folders that have no fixed path.

CommandOpensNote
.Your user profile folderC:\Users\<you>
..The Users folderC:\Users
%userprofile%Your user profile folder
%temp%Your temp folderSafe to clear out old files when disk space is low.
tempC:\Windows\TempSystem temp; asks for permission the first time.
%appdata%AppData\RoamingApp settings: VS Code user settings, NuGet config, npm.
%localappdata%AppData\LocalCaches and per-machine app data.
%programdata%C:\ProgramDataHidden by default; machine-wide app data.
%programfiles%C:\Program Files
%windir%C:\Windows
shell:startupYour Startup folderShortcuts here run when you sign in.
shell:common startupStartup folder for all usersNeeds admin to change.
shell:sendtoThe Send to menuAdd a shortcut to VS Code here for right-click β†’ Send to.
shell:downloadsDownloadsFollows the folder even if you moved it to another drive.
shell:desktopDesktop
shell:personalDocuments
shell:recentRecent items
shell:programsYour Start menu Programs folderWhere Start menu shortcuts live.
shell:fontsFonts
shell:RecycleBinFolderRecycle Bin
shell:AppsFolderAll installed appsIncluding Store apps that have no .exe you can find.

08 Β· For developers

πŸ§‘β€πŸ’» Developer-useful commands

Several of these only work if the tool is installed β€” they're resolved through App Paths or your PATH, so a "Windows cannot find…" message usually means it isn't installed or its folder isn't on PATH.

CommandOpensNote
wtWindows TerminalBuilt into Windows 11; installable on Windows 10.
pwshPowerShell 7If installed
wslYour default WSL distributionIf installed
codeVisual Studio CodeIf installed code %userprofile%\source\repos opens a folder.
devenvVisual StudioIf installed Registered in App Paths by the installer.
"C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe"Visual Studio InstallerModify workloads, update, repair. Include the quotes.
ssmsSQL Server Management StudioIf installed
inetmgrIIS ManagerAfter enabling IIS in optionalfeatures.
odbcad32ODBC Data Source AdministratorDSNs and installed ODBC drivers.
rundll32 sysdm.cpl,EditEnvironmentVariablesEnvironment Variables dialog directlySkips System Properties. Elevate to edit system variables.
SystemPropertiesAdvancedSystem Properties β†’ Advanced tabOne click from Environment Variables.
certmgr.mscUser certificatesInspect the localhost dev certificate.
ms-settings:developersFor developers settingsDeveloper Mode, default terminal app.
resmonResource MonitorWhich process holds a file lock or a port (Network β†’ Listening Ports).
dxdiagDirectX Diagnostic ToolGPU and driver details.
cmd /k winget upgradeList available app updateswinget ships with current Windows 10 and 11.
cmd /k dotnet --infoInstalled .NET SDKs and runtimesIf installed
🧰

Make your own: any folder you add to your user PATH becomes Run-able. Drop a .cmd or .lnk named api.cmd into it β€” say, one that does cd /d C:\src\api && code . β€” and Win+R β†’ api opens your project.

09 Β· When things break

🩺 Troubleshooting & repair

Anything marked Admin must be launched with Ctrl+Shift+Enter.

CommandDoesNote
cmd /k sfc /scannowScans and repairs protected system filesAdmin Takes several minutes.
cmd /k DISM /Online /Cleanup-Image /RestoreHealthRepairs the Windows component storeAdmin Run this first if sfc can't fix everything, then run sfc again.
perfmon /relReliability MonitorTimeline of crashes, failed updates and installs. Often the fastest diagnosis.
perfmon /reportSystem Diagnostics reportAdmin Collects for about a minute, then shows a report.
eventvwr.mscEvent ViewerLook under Windows Logs β†’ System and Application.
resmonResource MonitorWhat's using CPU, disk, network and memory right now.
mdschedWindows Memory DiagnosticTests RAM on the next restart.
rstruiSystem RestoreOnly works if restore points exist β€” see SystemPropertiesProtection.
SystemPropertiesProtectionSystem Protection tabTurn restore points on and create one.
cleanmgrDisk Cleanup"Clean up system files" removes old update files.
dfrguiOptimize DrivesDefrag HDDs, TRIM SSDs.
msconfigSystem ConfigurationBoot tab β†’ Safe boot. Remember to untick it afterwards.
shutdown /r /o /t 0Restarts into Advanced Startup (WinRE)Startup Repair, Safe Mode, UEFI settings. Saves nothing β€” close your work first.
wsresetResets the Microsoft Store cacheWhen Store apps won't download or update.
mrtMalicious Software Removal ToolDelivered and updated through Windows Update.
control srchadmin.dllIndexing OptionsAdvanced β†’ Rebuild, when Windows Search returns nothing.
ms-settings:windowsupdateWindows UpdateCheck for pending restarts before deeper debugging.
ms-settings:troubleshootTroubleshoot settingsBuilt-in troubleshooters (now via the Get Help app on Windows 11).

πŸ—‘οΈ Removed or on the way out

These appear in many older lists but are gone, or going, on current Windows 11:

CommandWasStatus
writeWordPadRemoved Removed in Windows 11 24H2; still present on Windows 10.
iexploreInternet ExplorerRetired Opens Edge instead; IE mode in Edge covers legacy sites.
psrSteps RecorderDeprecated Shows a deprecation notice and is being removed from Windows 11. Use Snipping Tool's recording instead.
msdt.exe -id …Legacy troubleshootersRetired The MSDT troubleshooters were retired in favour of Get Help.
wmicWMI command lineDeprecated Not installed by default on new Windows 11 24H2 installs. Use PowerShell's Get-CimInstance.
⚠️

Registry and policy changes are immediate and have no undo. Before editing with regedit or gpedit.msc, export the key or create a restore point with SystemPropertiesProtection. It takes thirty seconds and has saved many afternoons.

πŸ“Œ Checked against Windows 10 22H2 and Windows 11 24H2. Microsoft continues to move Control Panel pages into Settings, so a few classic applets may open a Settings page on your build instead. Edition-specific consoles (gpedit.msc, secpol.msc, lusrmgr.msc) require Pro, Enterprise or Education.

Windows Run commands
11 min read