How to launch the Settings app (XAML)
Collapse the table of content
Expand the table of content

How to launch the Settings app (XAML)

Launch the built-in Settings app by using the ms-settings URI scheme described in this topic.

For example, the following line of code displays the page of Wi-Fi settings.


using Windows.System;
...
bool result = 
    await Launcher.LaunchUriAsync(new Uri("ms-settings:network-wifi"));

For more info about launching apps by using URI schemes, see How to launch the default app for a URI.

Settings pages that you can display

The following table lists the URIs that you can use to display built-in settings pages.

The Supported SKUs column indicates whether the settings page exists in Windows 10 for desktop editions (Home, Pro, and Enterprise), Windows 10 Mobile, or both.

CategorySettings pageSupported SKUsUri for apps that target Windows 10Uri for apps that target Windows Phone 8.1
HomeLanding page for SettingsBothms-settings:
SystemDisplay Both

ms-settings:display

ms-settings:screenrotation

ms-settings-screenrotation:
NotificationsBothms-settings:notificationsms-settings-notifications:
StorageDesktop onlyms-settings:storagesensen/a
Battery SaverBothms-settings:batterysaverms-settings-power://
Battery SaverBothms-settings:batterysaver-settingsn/a
Battery SaverBothms-settings:batterysaver-usagedetailsn/a
Offline MapsBothms-settings:mapsn/a
DevicesBluetooth

Mobile

Desktop

ms-settings-bluetooth:

ms-settings:bluetooth

ms-settings-bluetooth:
Connected DevicesDesktop onlyms-settings:connecteddevicesn/a
Mouse & TouchpadBothms-settings:mousetouchpadn/a
Network and Wi-fiWi-Fi

Mobile

Desktop

ms-settings-wifi:

ms-settings:network-wifi

ms-settings-wifi://
Airplane mode

Mobile

Desktop

ms-settings-airplanemode:

ms-settings:network-airplanemode

ms-settings-airplanemode://
CellularBothms-settings:network-cellularms-settings-cellular://
Dial-upDesktop onlyms-settings:network-dialupn/a
EthernetDesktop onlyms-settings:network-ethernetn/a
ProxyDesktop onlyms-settings:network-proxyn/a
Data SenseBothms-settings:datausagen/a
NFCMobile onlyn/ams-settings-proximity://
NFCMobile onlyn/ams-settings-nfctransactions://
Mobile Hotspot

Mobile

Desktop

ms-settings-mobilehotspot:

ms-settings:network-mobilehotspot

n/a
PersonalizationLock screenBothms-settings:lockscreenms-settings-lock://
PersonalizationBothms-settings:personalizationn/a
AccountsYour accountBothms-settings:emailandaccountsms-settings-emailandaccounts://
Your workplace

Mobile

Desktop

ms-settings-workplace:

ms-settings:workplace

ms-settings-workplace:
Time and languageDate & timeBothms-settings:dateandtimen/a
Region & languageDesktop onlyms-settings:regionlanguagen/a
SpeechBothms-settings:speechn/a
PrivacyCalendarBothms-settings:privacy-calendarn/a
ContactsBothms-settings:privacy-contactsn/a
Feedback & diagnosticsBothms-settings:privacy-feedbackn/a
LocationBothms-settings:privacy-locationms-settings-location:
MessagingBothms-settings:privacy-messagingn/a
MicrophoneBothms-settings:privacy-microphonen/a
OtherBothms-settings:privacy-customdevicesn/a
RadioBothms-settings:privacy-radiosn/a
SpeechBothms-settings:privacy-speechtypingn/a
WebcamBothms-settings:privacy-webcamn/a
Update & SecurityWindows updateBothms-settings:windowsupdaten/a

 

Related topics

How to launch the default app for a URI

 

 

Show:
© 2017 Microsoft