Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit focus mode

Launch the Windows Settings app

  • 2025-02-13
Feedback

In this article

Learn how to launch the Windows Settings app. This topic describes thems-settings: URI scheme. Use this URI scheme to launch the Windows Settings app to specific settings pages.

Launching to the Settings app is an important part of writing a privacy-aware app. If your app can't access a sensitive resource, we recommend providing the user a convenient link to the privacy settings for that resource. For more information, seeSecurity and identity.

Important APIs

The following Windows Runtime (WinRT) APIs are used in this topic:

Note that the WinRT APIs used in this topic can be used in both UWP apps, WinUI apps, and other desktop apps. To read more about enabling your desktop app to work with WinRT APIs, seeCall Windows Runtime APIs in desktop apps.

How to launch the Settings app

To launch theSettings app, use thems-settings: URI scheme as shown in the following examples.

XAML hyperlink control

In this example, a Hyperlink XAML control is used to launch the privacy settings page for the microphone using thems-settings:privacy-microphone URI.

<!--Set Visibility to Visible when access to the microphone is denied --><TextBlock x:Name="LocationDisabledMessage" FontStyle="Italic"                 Visibility="Collapsed" Margin="0,15,0,0" TextWrapping="Wrap" >          <Run Text="This app is not able to access the microphone. Go to " />              <Hyperlink NavigateUri="ms-settings:privacy-microphone">                  <Run Text="Settings" />              </Hyperlink>          <Run Text=" to check the microphone privacy settings."/></TextBlock>

Calling LaunchUriAsync

Alternatively, your app can call theLaunchUriAsync method to launch theSettings app. This example shows how to launch to the privacy settings page for the camera using thems-settings:privacy-webcam URI.

bool result = await Windows.System.Launcher.LaunchUriAsync(new Uri("ms-settings:privacy-webcam"));
bool result = co_await Windows::System::Launcher::LaunchUriAsync(Windows::Foundation::Uri(L"ms-settings:privacy-webcam"));

The code above launches the privacy settings page for the camera:

A screenshot of the Windows camera privacy settings.

For more info about launching URIs, seeLaunch the default app for a URI.

ms-settings: URI scheme reference

The following sections describe different categories of ms-settings URIs used to open various pages of the Settings app:

Note

The availability of some settings pages varies by Windows version and SKU. For some settings, the URI column also captures some usage information and any additional requirements that must be met for a page to be available.

Accounts

Settings pageURI
Access work or schoolms-settings:workplace
Email & app accountsms-settings:emailandaccounts
Family & other peoplems-settings:otherusers
Provisioningms-settings:provisioning (only available on mobile and if the enterprise has deployed a provisioning package)
ms-settings:workplace-provisioning (only available if enterprise has deployed a provisioning package)
Repair tokenms-settings:workplace-repairtoken
Set up a kioskms-settings:assignedaccess
Sign-in optionsms-settings:signinoptions
ms-settings:signinoptions-dynamiclock
Sync your settingsms-settings:sync
ms-settings:backup (Backup page deprecated in Windows 11)
Windows Anywherems-settings:windowsanywhere (device must be Windows Anywhere-capable)
Windows Hello setupms-settings:signinoptions-launchfaceenrollment
ms-settings:signinoptions-launchfingerprintenrollment
Your infoms-settings:yourinfo

Apps

Settings pageURI
Apps & Featuresms-settings:appsfeatures
App featuresms-settings:appsfeatures-app (Reset, manage add-on & downloadable content, etc. for the app)

To access this page with a URI, use the ms-settings:appsfeatures-app URI and pass an optional parameter of thepackage family name of the app.

Example:ms-settings:appsfeatures-app?<PFN>
Apps for websitesms-settings:appsforwebsites
Default appsms-settings:defaultapps (Behavior introduced in Windows 11, version 21H2 (with 2023-04 Cumulative Update) or 22H2 (with 2023-04 Cumulative Update), or later.)
Append the query string parameter in the following formats using the Uri-escaped name of an app to directly launch the default settings page for that app:

- registeredAppMachine=<Uri-escaped per machine installed name of app>
- registeredAppUser=<Uri-escaped per user installed name of app>
- registeredAUMID=<Uri-escaped Application User Model ID>

For more information, seeLaunch the Default Apps settings page.
Default browser settingsms-settings:defaultbrowsersettings (Deprecated in Windows 11)
Manage optional featuresms-settings:optionalfeatures
Offline Mapsms-settings:maps
ms-settings:maps-downloadmaps (Download maps)
Startup appsms-settings:startupapps
Video playbackms-settings:videoplayback

Control Center

Settings pageURI
Control centerms-settings:controlcenter

Cortana

Settings pageURI
Cortana across my devicesms-settings:cortana-notifications
More detailsms-settings:cortana-moredetails
Permissions & Historyms-settings:cortana-permissions
Searching Windowsms-settings:cortana-windowssearch
Talk to Cortanams-settings:cortana-language
ms-settings:cortana
ms-settings:cortana-talktocortana

Important

Cortana voice assistance in Windows as a standalone app was retired in the spring of 2023. For more information, seeEnd of support for Cortana.

Note

This Settings section on desktop will be called Search when the PC is set to regions where Cortana is not currently available or Cortana has been disabled. Cortana-specific pages (Cortana across my devices, and Talk to Cortana) will not be listed in this case.

Devices

Settings pageURI
AutoPlayms-settings:autoplay
Bluetoothms-settings:bluetooth
Connected Devicesms-settings:connecteddevices
Default camerams-settings:camera (Behavior deprecated in Windows 10, version 1809 and later)
Camera settingsms-settings:camera (Behavior introduced in Windows 11, build 22000 and later) Append the query string parametercameraId set to the Uri-escaped symbolic link name of a camera device to directly launch the settings for that camera. For more information, seeLaunch the camera settings page.
Mouse & touchpadms-settings:mousetouchpad (touchpad settings only available on devices that have a touchpad)
Pen & Windows Inkms-settings:pen
Printers & scannersms-settings:printers
Touchms-settings:devices-touch
Touchpadms-settings:devices-touchpad (only available if touchpad hardware is present)
Text Suggestionsms-settings:devicestyping-hwkbtextsuggestions
Typingms-settings:typing
USBms-settings:usb
Wheelms-settings:wheel (only available if aSurface Dial device is paired)
Your phonems-settings:mobile-devices

Ease of access

Settings pageURI
Audioms-settings:easeofaccess-audio
Closed captionsms-settings:easeofaccess-closedcaptioning
Color filtersms-settings:easeofaccess-colorfilter
ms-settings:easeofaccess-colorfilter-adaptivecolorlink
ms-settings:easeofaccess-colorfilter-bluelightlink
Displayms-settings:easeofaccess-display
Eye controlms-settings:easeofaccess-eyecontrol
Hearing devicesms-settings:easeofaccess-hearingaids (Added in Windows 11, Version 24H2)
High contrastms-settings:easeofaccess-highcontrast
Keyboardms-settings:easeofaccess-keyboard
Magnifierms-settings:easeofaccess-magnifier
Mousems-settings:easeofaccess-mouse
Mouse pointer & touchms-settings:easeofaccess-mousepointer
Narratorms-settings:easeofaccess-narrator
ms-settings:easeofaccess-narrator-isautostartenabled
Speechms-settings:easeofaccess-speechrecognition
Text cursorms-settings:easeofaccess-cursor
Visual Effectsms-settings:easeofaccess-visualeffects

Extras

Settings pageURI
Extrasms-settings:extras (only available if "settings apps" have been installed, for example, by a 3rd party)

Family Group

Settings pageURI
Family Groupms-settings:family-group

Gaming

Settings pageURI
Game barms-settings:gaming-gamebar
Game DVRms-settings:gaming-gamedvr
Game Modems-settings:gaming-gamemode
Playing a game full screenms-settings:quietmomentsgame
TruePlayms-settings:gaming-trueplay (As of Windows 10, version 1809 (10.0; Build 17763), this feature is removed from Windows)

Mixed reality

Note

These settings are only available if theMixed Reality Portal app is installed.

Important

Windows Mixed Reality devices are not supported with Windows 11, version 24H2 and newer.

Windows Mixed Reality support is limited to Windows 10, version 20H2 through Windows 11, version 23H2.

Settings pageURI
Audio and speechms-settings:holographic-audio
Environmentms-settings:privacy-holographic-environment
Headset displayms-settings:holographic-headset
Uninstallms-settings:holographic-management
Startup and desktopms-settings:holographic-startupandesktop

Network and internet

Settings pageURI
Network & internetms-settings:network-status
Advanced settingsms-settings:network-advancedsettings
Airplane modems-settings:network-airplanemode
ms-settings:proximity
Cellular & SIMms-settings:network-cellular
Dial-upms-settings:network-dialup
DirectAccessms-settings:network-directaccess (only available if DirectAccess is enabled)
Ethernetms-settings:network-ethernet
Manage known networksms-settings:network-wifisettings
Mobile hotspotms-settings:network-mobilehotspot
Proxyms-settings:network-proxy
VPNms-settings:network-vpn
Wi-Fims-settings:network-wifi (only available if the device has a wifi adapter)
Wi-Fi provisioningms-settings:wifi-provisioning

Personalization

Settings pageURI
Backgroundms-settings:personalization-background
Choose which folders appear on Startms-settings:personalization-start-places
Colorsms-settings:personalization-colors
ms-settings:colors
Customize Copilot key on keyboardms-settings:personalization-textinput-copilot-hardwarekey
Dynamic Lightingms-settings:personalization-lighting
Fontsms-settings:fonts
Glancems-settings:personalization-glance (Deprecated in Windows 10, version 1809 and later)
Lock screenms-settings:lockscreen
Navigation barms-settings:personalization-navbar (Deprecated in Windows 10, version 1809 and later)
Personalization (category)ms-settings:personalization
Startms-settings:personalization-start
Taskbarms-settings:taskbar
Text inputms-settings:personalization-textinput
Touch Keyboardms-settings:personalization-touchkeyboard
Themesms-settings:themes

Phone

Settings pageURI
Your phonems-settings:mobile-devices
ms-settings:mobile-devices-addphone
ms-settings:mobile-devices-addphone-direct (OpensYour Phone app)
Device Usagems-settings:deviceusage

Privacy

Settings pageURI
Accessory appsms-settings:privacy-accessoryapps (Deprecated in Windows 10, version 1809 and later)
Account infoms-settings:privacy-accountinfo
Activity historyms-settings:privacy-activityhistory
Advertising IDms-settings:privacy-advertisingid (Deprecated in Windows 10, version 1809 and later)
App diagnosticsms-settings:privacy-appdiagnostics
Automatic file downloadsms-settings:privacy-automaticfiledownloads
Background Appsms-settings:privacy-backgroundapps (Deprecated in Windows 11, 21H2 and later)

Note: In Windows 11, the background app permissions are accessed individually. To view the permissions, go toApps->Installed apps and then select"..." on a modern app and chooseAdvanced options. The advanced page is present for modern apps, and theBackground apps permissions section will be present unless a group policy has been set or the user’s global toggle value (the deprecated setting from Windows 10) is set. To access this page with a URI, use thems-settings:appsfeatures-app URI and pass an optional parameter of thepackage family name of the app.
Background Spatial Perceptionms-settings:privacy-backgroundspatialperception
Calendarms-settings:privacy-calendar
Call historyms-settings:privacy-callhistory
Camerams-settings:privacy-webcam
Contactsms-settings:privacy-contacts
Documentsms-settings:privacy-documents
Downloads folderms-settings:privacy-downloadsfolder
Emailms-settings:privacy-email
Eye trackerms-settings:privacy-eyetracker (requires eyetracker hardware)
Feedback & diagnosticsms-settings:privacy-feedback
File systemms-settings:privacy-broadfilesystemaccess
Generalms-settings:privacy or ms-settings:privacy-general
Graphicsms-settings:privacy-graphicscaptureprogrammatic
ms-settings:privacy-graphicscapturewithoutborder
Inking & typingms-settings:privacy-speechtyping
Locationms-settings:privacy-location
Messagingms-settings:privacy-messaging
Microphonems-settings:privacy-microphone
Motionms-settings:privacy-motion
Music Libraryms-settings:privacy-musiclibrary
Notificationsms-settings:privacy-notifications
Other devicesms-settings:privacy-customdevices
Phone callsms-settings:privacy-phonecalls
Picturesms-settings:privacy-pictures
Radiosms-settings:privacy-radios
Speechms-settings:privacy-speech
Tasksms-settings:privacy-tasks
Videosms-settings:privacy-videos
Voice activationms-settings:privacy-voiceactivation

Search

Settings pageURI
Searchms-settings:search
Search more detailsms-settings:search-moredetails
Search Permissionsms-settings:search-permissions

Sound

Settings pageURI
Volume mixerms-settings:apps-volume
Soundms-settings:sound
Sound devicesms-settings:sound-devices
Default microphonems-settings:sound-defaultinputproperties
Default audio outputms-settings:sound-defaultoutputproperties
Audio device properties
(specific device)
ms-settings:sound-properties?endpointId={0.0.0.00000000}.{aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb}

Note: User of URI must know theendpointId string to use.
Audio device properties
(specific device)
ms-settings:sound-properties?interfaceId=\\?\SWD#MMDEVAPI#{3.0.0.00000003}.{bbbbbbbb-1111-2222-3333-cccccccccccc}#{cccccccc-2222-3333-4444-dddddddddddd}

Note: User of URI must know theinterfaceId string to use and the string must be escaped correctly before sending.

Surface Hub

Settings pageURI
Accountsms-settings:surfacehub-accounts
Session cleanupms-settings:surfacehub-sessioncleanup
Team Conferencingms-settings:surfacehub-calling
Team device managementms-settings:surfacehub-devicemanagement
Welcome screenms-settings:surfacehub-welcome

System

Settings pageURI
Aboutms-settings:about
Advanced display settingsms-settings:display-advanced (only available on devices that support advanced display options)
Battery Saverms-settings:batterysaver (only available on devices that have a battery, such as a tablet)
Battery Saver settingsms-settings:batterysaver-settings (only available on devices that have a battery, such as a tablet)
Battery usems-settings:batterysaver-usagedetails (only available on devices that have a battery, such as a tablet)
Clipboardms-settings:clipboard
Default Save Locationsms-settings:savelocations
Displayms-settings:display
ms-settings:screenrotation
Duplicating my displayms-settings:quietmomentspresentation
During these hoursms-settings:quietmomentsscheduled
Encryptionms-settings:deviceencryption
Energy recommendationsms-settings:energyrecommendations(Available in February Moment update for Windows 11, Version 22H2, Build 22624 or later)
Focus assistms-settings:quiethours
Graphics Settingsms-settings:display-advancedgraphics (only available on devices that support advanced graphics options)
Graphics Default Settingsms-settings:display-advancedgraphics-default
Multitaskingms-settings:multitasking
ms-settings:multitasking-sgupdate
Night light settingsms-settings:nightlight
Projecting to this PCms-settings:project
Shared experiencesms-settings:crossdevice
Tablet modems-settings:tabletmode (Removed in Windows 11)
Taskbarms-settings:taskbar
Notifications & actionsms-settings:notifications
Remote Desktopms-settings:remotedesktop
Phonems-settings:phone (Deprecated in Windows 10, version 1809 and later)
Power & sleepms-settings:powersleep
Presence sensingms-settings:presence (Added in May Moment update for Windows 11, Version 22H2, Build 22624)
Storagems-settings:storagesense
Storage Sensems-settings:storagepolicies
Storage recommendationsms-settings:storagerecommendations
Disks & volumesms-settings:disksandvolumes

Time and language

Settings pageURI
Date & timems-settings:dateandtime
Japan IME settingsms-settings:regionlanguage-jpnime (available if the Microsoft Japan input method editor is installed)
Regionms-settings:regionformatting
Languagems-settings:keyboard
ms-settings:keyboard-advanced
ms-settings:regionlanguage
ms-settings:regionlanguage-bpmfime
ms-settings:regionlanguage-cangjieime
ms-settings:regionlanguage-chsime-wubi-udp
ms-settings:regionlanguage-quickime
ms-settings:regionlanguage-korime
Pinyin IME settingsms-settings:regionlanguage-chsime-pinyin (available if the Microsoft Pinyin input method editor is installed)
ms-settings:regionlanguage-chsime-pinyin-domainlexicon
ms-settings:regionlanguage-chsime-pinyin-keyconfig
ms-settings:regionlanguage-chsime-pinyin-udp
Speechms-settings:speech
Wubi IME settingsms-settings:regionlanguage-chsime-wubi (available if the Microsoft Wubi input method editor is installed)

Update and security

Settings pageURI
Activationms-settings:activation
Backupms-settings:backup (page removed in Windows 11; opens Sync)
Delivery Optimizationms-settings:delivery-optimization
ms-settings:delivery-optimization-activity
ms-settings:delivery-optimization-advanced
Find My Devicems-settings:findmydevice
For developersms-settings:developers
Recoveryms-settings:recovery
Launch Security Key Enrollmentms-settings:signinoptions-launchsecuritykeyenrollment
Troubleshootms-settings:troubleshoot
Windows Securityms-settings:windowsdefender
Windows Insider Programms-settings:windowsinsider (only present if user is enrolled in WIP)
ms-settings:windowsinsider-optin
Windows Updatems-settings:windowsupdate
ms-settings:windowsupdate-action
Windows Update-Active hoursms-settings:windowsupdate-activehours
Windows Update-Advanced optionsms-settings:windowsupdate-options
Windows Update-Optional updatesms-settings:windowsupdate-optionalupdates
Windows Update-Restart optionsms-settings:windowsupdate-restartoptions
Windows Update-Seeker on demandms-settings:windowsupdate-seekerondemand
Windows Update-View update historyms-settings:windowsupdate-history

Related content

Launch the default app for a URI

Launching, resuming, and background tasks

Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, seeour contributor guide.

Feedback

Was this page helpful?

YesNo

In this article

Was this page helpful?

YesNo