You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: uwp/launch-resume/launch-settings-app.md
+30-31Lines changed: 30 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,28 +1,31 @@
1
1
---
2
2
title: Launch the Windows Settings app
3
-
description: Learn how to launch the Windows Settings app from your app using the ms-settings URI scheme.
3
+
description: Learn how to launch the Windows Settings app from your own Windows apps using the ms-settings URI scheme.
4
4
ms.assetid: C84D4BEE-1FEE-4648-AD7D-8321EAC70290
5
-
ms.date: 07/24/2024
6
-
ms.topic: article
7
-
keywords: windows 10, uwp
5
+
ms.date: 11/27/2024
6
+
ms.topic: concept-article
7
+
keywords: windows 10, windows, settings, windows 11, uwp, uri
8
8
ms.localizationpriority: medium
9
9
dev_langs:
10
10
- csharp
11
11
- cppwinrt
12
+
# Customer intent: As a Windows developer, I want to learn how to launch the Windows Settings app from my app using the ms-settings URI scheme.
12
13
---
13
14
14
15
# Launch the Windows Settings app
15
16
16
-
**Important APIs**
17
+
Learn how to launch the Windows Settings app. This topic describes the `ms-settings:` URI scheme. Use this URI scheme to launch the Windows Settings app to specific settings pages.
18
+
19
+
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, see [Guidelines for privacy-aware apps](../security/index.md).
20
+
21
+
## Important APIs
22
+
23
+
The following Windows Runtime (WinRT) APIs are used in this topic:
Learn how to launch the Windows Settings app. This topic describes the `ms-settings:` URI scheme. Use this URI scheme to launch the Windows Settings app to specific settings pages.
23
-
24
-
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 info, see [Guidelines for privacy-aware apps](../security/index.md).
25
-
26
29
## How to launch the Settings app
27
30
28
31
To launch the **Settings** app, use the `ms-settings:` URI scheme as shown in the following examples.
@@ -45,7 +48,7 @@ In this example, a Hyperlink XAML control is used to launch the privacy settings
45
48
46
49
### Calling LaunchUriAsync
47
50
48
-
Alternatively, your app can call the [**LaunchUriAsync**](/uwp/api/windows.system.launcher.launchuriasync) method to launch the **Settings** app. This example shows how to launch to the privacy settings page for the camera using the `ms-settings:privacy-webcam` URI.
51
+
Alternatively, your app can call the [LaunchUriAsync](/uwp/api/windows.system.launcher.launchuriasync) method to launch the **Settings** app. This example shows how to launch to the privacy settings page for the camera using the `ms-settings:privacy-webcam` URI.
:::image type="content" source="images/privacyawarenesssettingsapp.png" alt-text="A screenshot of the Windows camera privacy settings.":::
61
64
62
65
For more info about launching URIs, see [Launch the default app for a URI](launch-default-app.md).
63
66
@@ -85,10 +88,9 @@ The following sections describe different categories of ms-settings URIs used to
85
88
-[System](#system)
86
89
-[Time and language](#time-and-language)
87
90
-[Update and security](#update-and-security)
88
-
-[User accounts](#user-accounts)
89
91
90
92
> [!NOTE]
91
-
> The availability of some settings pages varies by Windows version and SKU. The notes column also captures additional requirements that must be met for a page to be available.
93
+
> 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.
92
94
93
95
### Accounts
94
96
@@ -97,9 +99,12 @@ The following sections describe different categories of ms-settings URIs used to
| Provisioning | ms-settings:provisioning (only available on mobile and if the enterprise has deployed a provisioning package)<br>ms-settings:workplace-provisioning (only available if enterprise has deployed a provisioning package) |
| Sync your settings | ms-settings:sync<br>ms-settings:backup (**Backup page deprecated in Windows 11**) |
107
+
| Windows Anywhere | ms-settings:windowsanywhere (device must be Windows Anywhere-capable) |
103
108
| Windows Hello setup | ms-settings:signinoptions-launchfaceenrollment<br>ms-settings:signinoptions-launchfingerprintenrollment|
104
109
| Your info | ms-settings:yourinfo|
105
110
@@ -108,7 +113,7 @@ The following sections describe different categories of ms-settings URIs used to
108
113
|Settings page| URI |
109
114
|-------------|-----|
110
115
| Apps & Features | ms-settings:appsfeatures|
111
-
| App features | ms-settings:appsfeatures-app (Reset, manage add-on & downloadable content, etc. for the app) <br><br> To access this page with a URI, use the ms-settings:appsfeatures-app URI and pass an optional parameter of the _package family name_ of the app. |
116
+
| App features | ms-settings:appsfeatures-app (Reset, manage add-on & downloadable content, etc. for the app) <br><br> To access this page with a URI, use the ms-settings:appsfeatures-app URI and pass an optional parameter of the *package family name* of the app.<br><br>Example: `ms-settings:appsfeatures-app?<PFN>`|
112
117
| Apps for websites | ms-settings:appsforwebsites|
113
118
| Default apps | ms-settings:defaultapps (**Behavior introduced in Windows 11, version 21H2 (with 2023-04 Cumulative Update) or 22H2 (with 2023-04 Cumulative Update), or later.**)<br/>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:<br/><br/>- registeredAppMachine=\<Uri-escaped per machine installed name of app\><br/>- registeredAppUser=\<Uri-escaped per user installed name of app\><br/>- registeredAUMID=\<Uri-escaped Application User Model ID\><br/><br/>For more information, see [Launch the Default Apps settings page](launch-default-apps-settings.md). |
114
119
| Default browser settings | ms-settings:defaultbrowsersettings (**Deprecated in Windows 11**) |
@@ -168,7 +173,6 @@ The following sections describe different categories of ms-settings URIs used to
168
173
| Color filters | ms-settings:easeofaccess-colorfilter </br> ms-settings:easeofaccess-colorfilter-adaptivecolorlink </br> ms-settings:easeofaccess-colorfilter-bluelightlink|
169
174
| Display | ms-settings:easeofaccess-display|
170
175
| Eye control | ms-settings:easeofaccess-eyecontrol|
171
-
| Fonts | ms-settings:fonts|
172
176
| High contrast | ms-settings:easeofaccess-highcontrast|
173
177
| Keyboard | ms-settings:easeofaccess-keyboard|
174
178
| Magnifier | ms-settings:easeofaccess-magnifier|
@@ -206,6 +210,11 @@ The following sections describe different categories of ms-settings URIs used to
206
210
> [!NOTE]
207
211
> These settings are only available if the [Mixed Reality Portal](https://apps.microsoft.com/detail/9ng1h8b3zc7m) app is installed.
208
212
213
+
> [!IMPORTANT]
214
+
> Windows Mixed Reality devices are not supported with Windows 11, version 24H2 and newer.
215
+
>
216
+
> Windows Mixed Reality support is limited to Windows 10, version 20H2 through Windows 11, version 23H2.
217
+
209
218
| Settings page | URI |
210
219
|---------------|-----|
211
220
| Audio and speech | ms-settings:holographic-audio|
@@ -241,6 +250,7 @@ The following sections describe different categories of ms-settings URIs used to
| Background Apps | ms-settings:privacy-backgroundapps (**Deprecated in Windows 11, 21H2 and later**) <br><br> **Note:** In Windows 11, the background app permissions are accessed individually. To view the permissions, go to **Apps->Installed apps** and then select **"..."** on a modern app and choose **Advanced options**. The advanced page is present for modern apps, and the **Background 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 the `ms-settings:appsfeatures-app` URI and pass an optional parameter of the _package family name_ of the app. |
281
+
| Background Apps | ms-settings:privacy-backgroundapps (**Deprecated in Windows 11, 21H2 and later**) <br><br> **Note:** In Windows 11, the background app permissions are accessed individually. To view the permissions, go to **Apps->Installed apps** and then select **"..."** on a modern app and choose **Advanced options**. The advanced page is present for modern apps, and the **Background 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 the `ms-settings:appsfeatures-app` URI and pass an optional parameter of the *package family name* of the app. |
| Duplicating my display | ms-settings:quietmomentspresentation|
345
354
| During these hours | ms-settings:quietmomentsscheduled|
346
355
| Encryption | ms-settings:deviceencryption|
@@ -375,9 +384,6 @@ The following sections describe different categories of ms-settings URIs used to
375
384
| Pinyin IME settings | ms-settings:regionlanguage-chsime-pinyin (available if the Microsoft Pinyin input method editor is installed)</br>ms-settings:regionlanguage-chsime-pinyin-domainlexicon<br/>ms-settings:regionlanguage-chsime-pinyin-keyconfig<br/>ms-settings:regionlanguage-chsime-pinyin-udp|
376
385
| Speech | ms-settings:speech|
377
386
| Wubi IME settings | ms-settings:regionlanguage-chsime-wubi (available if the Microsoft Wubi input method editor is installed) |
378
-
| Add display language | ms-settings:regionlanguage-adddisplaylanguage|
379
-
| Language options | ms-settings:regionlanguage-languageoptions|
380
-
| Set display language | ms-settings:regionlanguage-setdisplaylanguage|
381
387
382
388
### Update and security
383
389
@@ -401,15 +407,8 @@ The following sections describe different categories of ms-settings URIs used to
401
407
| Windows Update-Seeker on demand| ms-settings:windowsupdate-seekerondemand|
402
408
| Windows Update-View update history | ms-settings:windowsupdate-history|
403
409
404
-
### User accounts
405
-
406
-
|Settings page| URI |
407
-
|-------------|-----|
408
-
| Provisioning | ms-settings:workplace-provisioning (only available if enterprise has deployed a provisioning package) |
0 commit comments