Cheat Sheets

Windows Run Commands Cheat Sheet: .msc, .cpl, ms-settings (PDF)

The Run dialog opens any Windows console, Control Panel applet, Settings page or system folder by name. Press Win+R, type devmgmt.msc, press Enter, and Device Manager is on screen without a single menu. If you support Windows machines, a dozen of these names will save you more clicks than anything else.

Original content from computingforgeeks.com - post 189909

This Windows Run commands cheat sheet puts the .msc, .cpl, ms-settings: and shell: names into printable tables, then covers the cases where Run rejects a name that looks right. I checked the tables in November 2026 on Windows 11 24H2 (build 26100.9457) and Windows Server 2025 Datacenter (build 26100.33650), and the two systems disagree more often than most lists admit.

Windows Run commands cheat sheet

Type any name from the first column into Run and press Enter. A row marked Windows 11 only was missing from the Server 2025 VM. The last table covers the opposite case, consoles that need Server or the RSAT tools. Every .msc, .cpl, control and shell: row was opened on the lab VMs or confirmed present in System32. The Windows 11 VM ran the Enterprise edition, so expect policy consoles such as gpedit.msc to be missing on Home. Each Settings row was opened in a signed-in session on both VMs, and the table records the page Settings landed on. Microsoft’s ms-settings URI reference lists more pages and warns that some depend on the edition and the hardware.

Management consoles (.msc)

CommandWhat it opens
devmgmt.mscDevice Manager
compmgmt.mscComputer Management: disks, services, users and logs in one window
diskmgmt.mscDisk Management
services.mscServices
eventvwr.mscEvent Viewer
taskschd.mscTask Scheduler
gpedit.mscLocal Group Policy Editor
secpol.mscLocal Security Policy
lusrmgr.mscLocal Users and Groups
certmgr.mscCertificates for the current user
certlm.mscCertificates for the local computer
perfmon.mscPerformance Monitor
fsmgmt.mscShared Folders and open files
wf.mscWindows Defender Firewall with Advanced Security
tpm.mscTPM Management
printmanagement.mscPrint Management (Windows 11 only by default)
rsop.mscResultant Set of Policy
comexp.mscComponent Services
wmimgmt.mscWMI Control

Control Panel applets (.cpl)

CommandWhat it opens
ncpa.cplNetwork Connections, the adapter list
appwiz.cplPrograms and Features
sysdm.cplSystem Properties
firewall.cplWindows Defender Firewall
powercfg.cplPower Options
inetcpl.cplInternet Properties (proxy, certificates)
mmsys.cplSound devices
main.cplMouse Properties
timedate.cplDate and Time
intl.cplRegion and formats
joy.cplGame Controllers
tabletpc.cplPen and Touch
telephon.cplLocation Information (dialing rules)
wscui.cplSecurity and Maintenance (Windows 11 only)
hdwwiz.cplLands in Device Manager
desk.cplRedirects to the Settings app

Control Panel by name or tab

CommandWhat it opens
control /name Microsoft.ProgramsAndFeaturesPrograms and Features
control /name Microsoft.NetworkAndSharingCenterNetwork and Sharing Center
control /name Microsoft.WindowsFirewallWindows Defender Firewall
control /name Microsoft.PowerOptionsPower Options
control /name Microsoft.CredentialManagerCredential Manager
control /name Microsoft.AdministrativeToolsThe Windows Tools folder
control /name Microsoft.DeviceManagerDevice Manager
control /name Microsoft.SystemRedirects to Settings
control sysdm.cpl,,3System Properties on the Advanced tab
SystemPropertiesAdvancedThe same Advanced tab, no commas
rundll32 sysdm.cpl,EditEnvironmentVariablesEnvironment Variables dialog

Settings pages (ms-settings:)

CommandPage it opened on Windows 11Server 2025
ms-settings:windowsupdateWindows UpdateSame page
ms-settings:installed-appsApps, Installed appsSame page
ms-settings:appsfeaturesApps, Installed appsSame page
ms-settings:aboutSystem, About (device name, specs)Same page
ms-settings:displaySystem, DisplaySame page
ms-settings:soundSystem, SoundSame page, activation banner
ms-settings:bluetoothBluetooth & devices, DevicesSame page
ms-settings:network-statusNetwork & internetSame page
ms-settings:defaultappsApps, Default appsSame page
ms-settings:startupappsApps, StartupSame page
ms-settings:optionalfeaturesSystem, Optional featuresSame page
ms-settings:storagesenseSystem, StorageSame page
ms-settings:dateandtimeTime & language, Date & timeSame page
ms-settings:windowsdefenderPrivacy & security, Windows SecuritySame page
ms-settings:troubleshootSystem, TroubleshootSame page
ms-settings:recoverySystem, RecoverySame page
ms-settings:activationSystem, ActivationSame page
ms-settings:remotedesktopSystem, Remote DesktopSame page
ms-settings:developersSystem, AdvancedSystem, For developers

Folders (shell:)

CommandWhat it opens
shell:startupYour Startup folder
shell:common startupStartup folder for all users
shell:sendtoSend to menu entries
shell:appdataAppData\Roaming
shell:local appdataAppData\Local
shell:profileYour user profile folder
shell:downloadsDownloads
shell:recentRecent items
shell:start menuYour Start menu folder
shell:common administrative toolsAdministrative Tools shortcuts
shell:appsfolderEvery installed app, Store apps included
shell:fontsC:\Windows\Fonts
shell:systemC:\Windows\System32
shell:recyclebinfolderRecycle Bin
shell:printersfolderPrinters

Tools and utilities

CommandWhat it opens
msinfo32System Information
msconfigSystem Configuration (boot options)
regeditRegistry Editor
resmonResource Monitor
taskmgrTask Manager
winverWindows version and build
optionalfeaturesWindows Features on or off
dxdiagDirectX Diagnostic Tool
mstscRemote Desktop Connection
mdschedWindows Memory Diagnostic
netplwizUser Accounts, advanced
dfrguiOptimize Drives
credwizBack up or restore saved credentials
UserAccountControlSettingsUAC slider
odbcad32ODBC Data Source Administrator
charmapCharacter Map
oskOn-Screen Keyboard
rstruiSystem Restore (Windows 11 only)
msraWindows Remote Assistance (Windows 11 only)
wtWindows Terminal
cmdCommand Prompt

Windows Server and RSAT consoles

CommandWhat it opens
servermanagerServer Manager (Server only)
dsa.mscActive Directory Users and Computers
gpmc.mscGroup Policy Management
dnsmgmt.mscDNS Manager
dhcpmgmt.mscDHCP
adsiedit.mscADSI Edit
dssite.mscActive Directory Sites and Services
domain.mscActive Directory Domains and Trusts
wbadmin.mscWindows Server Backup (Server only)

Apart from servermanager and wbadmin.msc, none of the consoles in that last table exist on a fresh install of either system. They arrive with the RSAT features, and until then Run answers with the same error it gives for a typo, which is the first problem covered below.

How do you open the Run dialog as administrator?

Press Win+R, or right-click Start and pick Run. The dialog has a single field, the Open box, and it keeps a history of what you typed, so a console you use every day is usually one arrow key away. Type the name into the Open box (1) and press Enter or click OK (2).

Windows 11 Run dialog with devmgmt.msc typed in the Open box
  1. 1Open box
  2. 2OK

Enter starts the program with your normal token, even when your account is a local administrator. Press Ctrl+Shift+Enter instead and Windows asks for elevation first: on our Windows 11 VM, typing cmd and pressing Ctrl+Shift+Enter brought up the UAC prompt for Windows Command Processor, with Microsoft Windows as the verified publisher.

UAC prompt for Windows Command Processor after pressing Ctrl+Shift+Enter in the Run dialog

After clicking Yes, the window title read Administrator: C:\WINDOWS\system32\cmd.exe. A title is only a label, so we also checked the token’s integrity level from inside that prompt:

whoami /groups | findstr /c:"Mandatory Label"

The output names the label in plain words. High is what an elevated process carries:

Mandatory Label\High Mandatory Level                          Label            S-1-16-12288

Anything lower than High means the prompt is not elevated. That difference matters most for cmd and powershell, because neither asks for elevation on its own: open them unelevated and the admin command you paste five minutes later fails with access denied. Make Ctrl+Shift+Enter the habit for shells, and the Windows CMD commands cheat sheet covers what to run once you are in.

Why does Run say Windows cannot find a command?

Run gives one message for several different problems: “Windows cannot find ‘name‘. Make sure you typed the name correctly, and then try again.” On our Windows 11 VM it came from a missing extension, a console that was not installed, and a Control Panel argument that Run does not parse. Before you retype anything, check these:

  • The name ends in its extension, so it reads devmgmt.msc and not devmgmt.
  • Test-Path C:\Windows\System32\dsa.msc in PowerShell returns True for the console you want.
  • Any .cpl name followed by commas starts with the word control.

Each of those failed for us at least once, and the fix differs. The three errors below show the exact message, what caused it and what got the console open.

Windows cannot find ‘devmgmt’

Leaving the extension off a console name fails, even though .MSC is on the PATHEXT list. We typed devmgmt into Run on Windows 11 and got the cannot-find error. The PATHEXT value on the same machine ended in .MSC, as the PATHEXT row in the Environment Variables figure further down shows.

PATHEXT is the list the command shell uses to guess an extension, and the Run box did not apply it to the console here. So type the full file name for every .msc and .cpl entry. Plain programs such as cmd and msinfo32 open fine without one.

Windows cannot find ‘dsa.msc’

On Windows 11, dsa.msc (Active Directory Users and Computers) does not exist until you add the RSAT tools. Our Windows 11 VM had 21 .msc files in System32 and none of the directory consoles: dsa, gpmc, dnsmgmt, dhcpmgmt, adsiedit, dssite and domain were all absent. Run cannot tell you that a console is an optional feature, so the error reads exactly like a typo.

Run error Windows cannot find dsa.msc on Windows 11 without RSAT

On Windows 11 the fix is the RSAT optional features, which our guide to install RSAT on Windows 11 walks through. On Windows Server it takes one Install-WindowsFeature command, shown in the Server section below. Either way, confirm the file is in System32 before you blame the spelling, because the console name is the same on both systems once the tools are in.

Windows cannot find ‘sysdm.cpl,,3’

The comma suffix opens a Control Panel applet on a chosen tab, but only when control runs it. Typed on its own, Run treats sysdm.cpl,,3 as a file name and shows the cannot-find error. With the prefix, control sysdm.cpl,,3 opened System Properties straight on the Advanced tab, where Performance, User Profiles and Startup and Recovery live.

System Properties opened on the Advanced tab with control sysdm.cpl,,3

For this particular tab, SystemPropertiesAdvanced lands in the same place without the commas and is easier to remember. Keep the control form for applets that have no shortcut of their own, and for the control /name canonical names in the table, which open the same windows by a readable name.

Which ms-settings pages can you open from Run?

Any page on Microsoft’s ms-settings list that your edition and hardware support opens from Run. We opened all 19 names in the table on both VMs from a non-elevated user session, and every one landed on a named page, not on the Settings home screen. Only ms-settings:developers differed. It opened System, Advanced on Windows 11 and the older System, For developers page on Server 2025. Server’s Sound page also carried a “You need to activate Windows” banner, since our evaluation install was not activated. ms-settings:windowsupdate went straight to Windows Update, the fastest route to Check for updates on a machine you are setting up.

Settings app on the Windows Update page opened with ms-settings:windowsupdate from Run

Microsoft’s list is not complete. ms-settings:installed-apps does not appear on it, yet on Windows 11 it opened Apps, Installed apps and counted 36 apps on the VM. Microsoft documents ms-settings:appsfeatures for that page, and it opened the same Installed apps list on both VMs, so use the documented name in scripts you hand to other people and the short one when you are typing it yourself.

More of Control Panel now sends you to Settings than most cheat sheets admit. These classic names still work on Windows 11, but they no longer open the window you might remember:

  • desk.cpl opens the Settings app.
  • control /name Microsoft.System opens the Settings app.
  • control /name Microsoft.WindowsUpdate opens the Settings app.
  • hdwwiz.cpl opens Device Manager.

Microsoft says Control Panel settings “are in the process of being migrated to the Settings app” and that Control Panel stays for compatibility. So the old names keep working, they just land somewhere new. Applets such as ncpa.cpl still open their classic windows, and that one is still the quickest route to adapter properties when you open a port in Windows Server Firewall or set a static address.

Network Connections window opened with ncpa.cpl from the Run dialog

Network Connections shows every adapter with its driver name, which on the lab VM was the emulated Intel PRO/1000. Right-click an adapter and choose Properties to reach the IPv4 settings, the one dialog Settings still hides several clicks deep.

Which shell: folders are worth remembering?

A shell: name opens a special folder wherever Windows keeps it for the current user. You don’t need the real path, and hidden files can stay hidden. Windows 11 registers 134 of these names, and we resolved 36 of them on the lab VM to keep the ones people actually reach for. shell:startup is the one you will use most, because anything you drop in it starts when you sign in.

File Explorer at the user Startup folder opened with shell:startup

Explorer showed it as Start Menu, Programs, Startup, and the real path behind it was C:\Users\harrison\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup. Three details from the lab are worth keeping in mind:

  • shell:common startup resolves to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup and runs its items for every user.
  • shell:screenshots resolved to nothing on a fresh profile, because the Pictures\Screenshots folder did not exist yet.
  • shell:appsfolder is a virtual folder, so it lists Store apps that have no .exe you could browse to.

If a shell: name opens nothing, the folder probably has not been created yet; save one file there through the app that owns it and try again. For anything a whole team should start at sign-in, use the common folder or a scheduled task rather than each person’s own Startup folder.

What changes on Windows Server 2025?

Server 2025 runs almost the same Run commands as Windows 11, with a few gaps either way. We inventoried both VMs as SYSTEM, then repeated the alias check in the signed-in user’s session, because Store app aliases only exist per user. These are the differences that change what you type:

CommandWindows 11Server 2025, fresh install
servermanagerMissingPresent
wbadmin.mscMissingPresent
printmanagement.mscPresentNeeds RSAT-Print-Services
dsa.msc, gpmc.msc, dnsmgmt.mscNeeds RSATNeeds RSAT features
wscui.cplPresentMissing
rstrui, msraPresentMissing
sudoPresent, off by defaultMissing
wt, wingetPer-user aliasPer-user alias
wmicMissingMissing

The aliases explain a common surprise: an admin script that runs wt or winget as SYSTEM fails even though both work when you type them. We checked in each user session with Get-Command:

Get-Command wt, winget, mspaint, SnippingTool, sudo -ErrorAction SilentlyContinue | Format-Table Name, Source -AutoSize

On Server 2025, wt and winget resolve to the user’s WindowsApps folder, Paint and Snipping Tool are ordinary System32 programs, and sudo is simply not there:

Name             Source
----             ------
wt.exe           C:\Users\harrison\AppData\Local\Microsoft\WindowsApps\wt.exe
winget.exe       C:\Users\harrison\AppData\Local\Microsoft\WindowsApps\winget.exe
mspaint.exe      C:\WINDOWS\system32\mspaint.exe
SnippingTool.exe C:\WINDOWS\system32\SnippingTool.exe

On Windows 11 the same command also listed C:\WINDOWS\system32\sudo.exe. Running sudo config on the fresh VM answered “Sudo is disabled on this machine”, which matches Microsoft’s Sudo for Windows page: you switch it on under System, Advanced (ms-settings:developers). Paint and Snipping Tool came back as WindowsApps aliases rather than System32 files. Treat anything under WindowsApps as belonging to one user, and call the full System32 path in scripts that run as a service.

Add the directory consoles with Install-WindowsFeature

The consoles in the RSAT table come from Windows features on Server, and one elevated PowerShell line adds all of them. Drop any feature name you don’t need. This is the set we installed on the Server 2025 VM:

Install-WindowsFeature RSAT-ADDS,RSAT-DNS-Server,RSAT-DHCP,GPMC,RSAT-Print-Services

It took about six minutes on a 4 vCPU VM and needed no installation media. Watch the RestartNeeded line, which came back No:

Success       : True
RestartNeeded : No
FeatureResult : {Group Policy Management, Remote Server Administration Tools, Active Directory Administrative Center,
                Active Directory module for Windows PowerShell...}
ExitCode      : Success

Every console in the RSAT table landed in System32 in that one run. Before you close the elevated window, check the result the same way we did:

  • Get-WindowsFeature shows GPMC, RSAT-ADDS, RSAT-DHCP, RSAT-DNS-Server and RSAT-Print-Services as Installed.
  • Test-Path C:\Windows\System32\dsa.msc returns True, and so does the same check for gpmc.msc.
  • dsa.msc typed into Run opens a console, with no sign-out needed first.

All three passed on our VM. If you are building Group Policy next, our walkthrough on Group Policy on Windows Server 2025 picks up from gpmc.msc, and the same console is where you set up Windows LAPS for local admin passwords. On a server outside a domain, though, expect the warning in the next section.

dsa.msc warns to use Local Users and Groups

On a server that has not joined a domain, dsa.msc opens with a warning instead of your directory. The VM was a workgroup machine, so Active Directory Users and Computers had nothing to connect to. This is the message it showed:

Active Directory Domain Services warning when running dsa.msc on a workgroup Windows Server 2025

Clicking OK opens the console with a red X on the root node. Nothing is broken: the tools are installed, they just need a domain. Sign in with a domain account, or use lusrmgr.msc for the local accounts the message points to.

File system error (-2147219196) on ms-settings:about

About three minutes after the first sign-in on the Server 2025 VM, ms-settings:about failed instead of opening Settings. The dialog gives a number and nothing else:

ms-settings:about File system error -2147219196 on first logon to Windows Server 2025

We ran the same command about 40 seconds later and System, About opened normally, so on our VM the error came from first sign-in setup that was still running. If you hit it on a new profile, wait a minute and retry before you start repairing the Settings app. If it keeps happening on a profile that has been in use for days, that is a different problem from the one we saw.

How do you open Environment Variables from Run?

Type rundll32 sysdm.cpl,EditEnvironmentVariables in Run and the Environment Variables dialog opens directly, skipping System Properties. The PATHEXT row (1) is where we read the extension list from the devmgmt test. In the System variables pane, New, Edit and Delete were greyed out (2), because a dialog launched with plain Enter only edits your own user variables.

Environment Variables dialog opened from Run with rundll32 sysdm.cpl,EditEnvironmentVariables on Windows 11
  1. 1PATHEXT
  2. 2greyed out

To change a system variable such as Path for every user, open it from an elevated place instead: SystemPropertiesAdvanced started with Ctrl+Shift+Enter, then the Environment Variables button. User variables are the safer default anyway, since a bad edit there breaks one account rather than every service on the machine.

Where did wmic go?

It’s gone from both systems we tested. Microsoft’s removed features list says WMIC has been removed from current Windows 11 releases, and it is no longer offered as a Feature on Demand either. wmic.exe was missing from System32 on our Windows 11 and Server 2025 VMs alike. Old Run lists that still include wmic now produce the cannot-find error.

The WMI data itself is still there. wmimgmt.msc opens the WMI Control console, and PowerShell’s Get-CimInstance replaces the queries people used wmic for; our PowerShell cheat sheet has the common ones side by side.

Which Run commands should you try on a new machine?

Five commands tell you in about two minutes whether a machine is ready for the rest of this sheet. Run them in this order on any new Windows 11 or Server box, because each one assumes the one before it passed:

  1. winver shows the build you expect, so you know which rows above apply.
  2. ms-settings:windowsupdate reports no pending updates.
  3. devmgmt.msc shows no device with a yellow warning icon.
  4. cmd opened with Ctrl+Shift+Enter reports High Mandatory Level from the whoami check.
  5. dsa.msc opens a console instead of the cannot-find error, if you manage a domain from this machine.

If all five pass, the machine is ready and the tables above will behave as described. If one fails, the matching section above has the cause we hit and the fix. For the rest of a fresh Windows 11 build, our things to do after installing Windows 11 checklist and the Windows 11 keyboard shortcuts sheet pair well with this one, and every printable sheet is on the cheat sheets hub.

Keep reading

Claude Code Cheat Sheet: Commands, Shortcuts and Flags (PDF) AI Claude Code Cheat Sheet: Commands, Shortcuts and Flags (PDF) OpenAI Codex CLI Cheat Sheet: Shortcuts, Commands, Flags (PDF) AI OpenAI Codex CLI Cheat Sheet: Shortcuts, Commands, Flags (PDF) Create a Bootable Windows 11 USB and Install Windows 11 Windows Create a Bootable Windows 11 USB and Install Windows 11 uv Cheat Sheet: Python Package Manager Commands (PDF) Cheat Sheets uv Cheat Sheet: Python Package Manager Commands (PDF) DNF Cheat Sheet: dnf5 on Fedora, dnf on Rocky Linux 10 (PDF) Cheat Sheets DNF Cheat Sheet: dnf5 on Fedora, dnf on Rocky Linux 10 (PDF) Remove or Disable Azure Arc Setup on Windows Server 2025 Windows Remove or Disable Azure Arc Setup on Windows Server 2025

Leave a Comment

Press ESC to close