How to launch the Windows Settings app from Command line

November 19, 2021 22:21 by Jesper Nielsen • 2 minutes to read

The Windows Settings app is the entry point for everyday maintenance, configuration, and setup, and can be easily opened with Win + I keyboard shortcut, by clicking on the Settings icon in the Start Menu or Notification Center or by searching for it in the Windows Start Menu.

However, now, and then I need to ease the access to a particular Windows Settings page directly, and this can be easily achieved from either the Run dialog box, the Command Prompt, or using PowerShell. Access to a particular Windows Settings page is possible using URIs (Uniform Resource Identifier) which are unique references to identify specific pages in the Windows Settings app.

Open Windows Settings App from Run dialog box

  1. Open the Run dialog box by pressing Win+R.
  2. Type: “ms-settings:” without the outer quotes, and press Enter to open Windows Settings

Windows Run
Windows Run: ms-settings:

To open a specific section of the Windows Settings app type the target URI at the end of the above command and press enter. If you want to open the Windows Update section, open Windows Settings App from Run Dialog Box

  1. Open the Run dialog box by pressing Win+R
  2. Type: “ms-settings:windowsupdate” without the outer quotes, and press Enter to open Windows Settings

Windows Run
Windows Run: ms-settings:windowsupdate

You can use ms-settings: URI scheme to launch the Windows Settings app to specific settings pages.

Launch the Windows Settings app directly from the Command line

From a Command Prompt, or scripts, simple call the ms-settings: URI using Start.

Type: “start "” ms-settings:" without the outer quotes, and press Enter to open Windows Settings.

Command Prompt
Command Prompt: ms-settings:

To open the Windows Settings -> Privacy & Security -> Microphone, type:

Type: “start "” ms-settings:privacy-microphone" without the outer quotes, and press Enter to open Windows Settings.

Command Prompt
Command Prompt: ms-settings:privacy-microphone

A similar experience from within a PowerShell script can be easily achieved by calling the Start-Process cmdlet.

Type: Start-Process -FilePath “ms-settings:”, and press Enter to open Windows Settings.

Windows PowerShell
Windows PowerShell: ms-settings:

To open the Windows Settings -> Privacy & Security -> Microphone.

Type: Start-Process -FilePath “ms-settings:privacy-microphone”, and press Enter to open Windows Settings.

Windows PowerShell
Windows PowerShell: ms-settings:privacy-microphone

More information

To learn more about the Windows Settings URI schema, visit ms-settings: URI scheme reference guide  .

-Jesper