From 26100f7493c7fb1a49eee8c2cf01424d118a1224 Mon Sep 17 00:00:00 2001 From: Gary Moore <5432776+garycentric@users.noreply.github.com> Date: Mon, 10 Mar 2025 13:59:18 -0700 Subject: [PATCH 1/4] Remove unnecessary backticks --- windows/configuration/shell-launcher/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/windows/configuration/shell-launcher/index.md b/windows/configuration/shell-launcher/index.md index 50eeb99ef6..c62d38837a 100644 --- a/windows/configuration/shell-launcher/index.md +++ b/windows/configuration/shell-launcher/index.md @@ -38,8 +38,8 @@ Methods of controlling access to other desktop applications and system component ## Differences between Shell Launcher v1 and Shell Launcher v2 -Shell Launcher v1 replaces ```explorer.exe```, the default shell, with ```eshell.exe```, which can launch a Windows desktop application. -Shell Launcher v2 replaces ```explorer.exe``` with ```customshellhost.exe```. This new executable file can launch a Windows desktop application or a UWP app. +Shell Launcher v1 replaces `explorer.exe`, the default shell, with `eshell.exe`, which can launch a Windows desktop application. +Shell Launcher v2 replaces `explorer.exe` with `customshellhost.exe`. This new executable file can launch a Windows desktop application or a UWP app. In addition to allowing you to use a UWP app for your replacement shell, Shell Launcher v2 offers more enhancements: - You can use a custom Windows desktop application that can then launch UWP apps, such as Settings and Touch Keyboard. From c149678551fb179ad774180d19bbe9de18d24a9a Mon Sep 17 00:00:00 2001 From: Gary Moore <5432776+garycentric@users.noreply.github.com> Date: Mon, 10 Mar 2025 14:00:16 -0700 Subject: [PATCH 2/4] Correct self-closing BR tags --- .../configuration/shell-launcher/wesl-usersetting.md | 6 +++--- .../shell-launcher/wesl-usersettinggetcustomshell.md | 10 +++++----- .../shell-launcher/wesl-usersettinggetdefaultshell.md | 4 ++-- .../shell-launcher/wesl-usersettingisenabled.md | 2 +- .../wesl-usersettingremovecustomshell.md | 2 +- .../shell-launcher/wesl-usersettingsetcustomshell.md | 10 +++++----- .../shell-launcher/wesl-usersettingsetdefaultshell.md | 4 ++-- .../shell-launcher/wesl-usersettingsetenabled.md | 2 +- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/windows/configuration/shell-launcher/wesl-usersetting.md b/windows/configuration/shell-launcher/wesl-usersetting.md index ce3019dbf0..4e3cf46894 100644 --- a/windows/configuration/shell-launcher/wesl-usersetting.md +++ b/windows/configuration/shell-launcher/wesl-usersetting.md @@ -76,10 +76,10 @@ The following tables list any methods and properties that belong to this class. | Property | Data type | Qualifiers | Description | |----------|----------------|------------|-------------| | **Sid** | string | [read, write, required] | User or group SID. | -| **shell** | string | [read, write, required] | The application to start as the shell.
The **shell** property can be a filename in the *Path* environment variable, or it can contain a fully qualified path to the application. You can also use environment variables in the path.
Any spaces in the **shell** property must be part of a quote-delimited string. | +| **shell** | string | [read, write, required] | The application to start as the shell.
The **shell** property can be a filename in the *Path* environment variable, or it can contain a fully qualified path to the application. You can also use environment variables in the path.
Any spaces in the **shell** property must be part of a quote-delimited string. | | **CustomReturnCodes** | Sint32[] |[read, write] | An array of custom return codes that can be returned by the shell. | -| **CustomReturnCodesAction** | Sint32[] | [read, write] | An array of custom return code actions that determine what action Shell Launcher takes when the shell exits. The custom actions map to the array of **CustomReturnCodes**.
The possible actions are:
0 - Restart the shell.
1 - Restart the device.
2 - Shut down the device.
3 - Do nothing. | -| **DefaultAction** | Sint32 | [read, write] | The default action Shell Launcher takes when the shell exits.
The possible actions are defined as follows:
0 - Restart the shell.
1 - Restart the device.
2 - Shut down the device.
3 - Do nothing. | +| **CustomReturnCodesAction** | Sint32[] | [read, write] | An array of custom return code actions that determine what action Shell Launcher takes when the shell exits. The custom actions map to the array of **CustomReturnCodes**.
The possible actions are:
0 - Restart the shell.
1 - Restart the device.
2 - Shut down the device.
3 - Do nothing. | +| **DefaultAction** | Sint32 | [read, write] | The default action Shell Launcher takes when the shell exits.
The possible actions are defined as follows:
0 - Restart the shell.
1 - Restart the device.
2 - Shut down the device.
3 - Do nothing. | ### Remarks diff --git a/windows/configuration/shell-launcher/wesl-usersettinggetcustomshell.md b/windows/configuration/shell-launcher/wesl-usersettinggetcustomshell.md index 6be4813c8c..98c7eaa8c3 100644 --- a/windows/configuration/shell-launcher/wesl-usersettinggetcustomshell.md +++ b/windows/configuration/shell-launcher/wesl-usersettinggetcustomshell.md @@ -25,13 +25,13 @@ This method retrieves the Shell Launcher configuration for a specific user or gr ## Parameters -**Sid**
\[in, required\] A string containing the security identifier (SID) of the user or group that Shell Launcher is configured for. +**Sid**
\[in, required\] A string containing the security identifier (SID) of the user or group that Shell Launcher is configured for. -**Shell**
\[out, required\] The application or executable that Shell Launcher starts as the shell. +**Shell**
\[out, required\] The application or executable that Shell Launcher starts as the shell. -**CustomReturnCodes**
\[out, required\] An array of custom return codes returned by the shell application. +**CustomReturnCodes**
\[out, required\] An array of custom return codes returned by the shell application. -**CustomReturnCodesAction**
\[out, required\] An array of custom return code actions that determine the action that Shell Launcher takes when the shell application exits. The custom actions map to the array of *CustomReturnCodes*. +**CustomReturnCodesAction**
\[out, required\] An array of custom return code actions that determine the action that Shell Launcher takes when the shell application exits. The custom actions map to the array of *CustomReturnCodes*. The possible actions are defined in the following table: @@ -42,7 +42,7 @@ The possible actions are defined in the following table: | 2 | Shut down the device. | | 3 | Do nothing. | -**DefaultAction**
\[out, required\] The default action that Shell Launcher takes when the shell application exits. +**DefaultAction**
\[out, required\] The default action that Shell Launcher takes when the shell application exits. The possible actions are defined in the following table: diff --git a/windows/configuration/shell-launcher/wesl-usersettinggetdefaultshell.md b/windows/configuration/shell-launcher/wesl-usersettinggetdefaultshell.md index c32948ad15..3a7f52dfd3 100644 --- a/windows/configuration/shell-launcher/wesl-usersettinggetdefaultshell.md +++ b/windows/configuration/shell-launcher/wesl-usersettinggetdefaultshell.md @@ -22,9 +22,9 @@ This method retrieves the default Shell Launcher configuration. ## Parameters -**Shell**
\[out, required\] The application or executable that Shell Launcher starts as the shell. +**Shell**
\[out, required\] The application or executable that Shell Launcher starts as the shell. -**DefaultAction**
\[out, required\] The default action Shell Launcher takes when the shell application exits. +**DefaultAction**
\[out, required\] The default action Shell Launcher takes when the shell application exits. The possible actions are defined in the following table: diff --git a/windows/configuration/shell-launcher/wesl-usersettingisenabled.md b/windows/configuration/shell-launcher/wesl-usersettingisenabled.md index 1125bb1d92..0b2753c1c7 100644 --- a/windows/configuration/shell-launcher/wesl-usersettingisenabled.md +++ b/windows/configuration/shell-launcher/wesl-usersettingisenabled.md @@ -21,7 +21,7 @@ This method retrieves a value that indicates if Shell Launcher is enabled or dis ## Parameters -**Enabled**
\[out, required\] A Boolean value that indicates if Shell Launcher is enabled. +**Enabled**
\[out, required\] A Boolean value that indicates if Shell Launcher is enabled. ## Return Value diff --git a/windows/configuration/shell-launcher/wesl-usersettingremovecustomshell.md b/windows/configuration/shell-launcher/wesl-usersettingremovecustomshell.md index e5058577a9..6fead06a2b 100644 --- a/windows/configuration/shell-launcher/wesl-usersettingremovecustomshell.md +++ b/windows/configuration/shell-launcher/wesl-usersettingremovecustomshell.md @@ -21,7 +21,7 @@ This method removes a Shell Launcher configuration for a specific user or group, ## Parameters -**Sid**
\[in, required\] A string containing the security identifier (SID) of the user or group that Shell Launcher is configured for. +**Sid**
\[in, required\] A string containing the security identifier (SID) of the user or group that Shell Launcher is configured for. ## Return Value diff --git a/windows/configuration/shell-launcher/wesl-usersettingsetcustomshell.md b/windows/configuration/shell-launcher/wesl-usersettingsetcustomshell.md index 5b788c9295..0d3a9a6045 100644 --- a/windows/configuration/shell-launcher/wesl-usersettingsetcustomshell.md +++ b/windows/configuration/shell-launcher/wesl-usersettingsetcustomshell.md @@ -25,13 +25,13 @@ This method configures Shell Launcher for a specific user or group, based on the ## Parameters -**Sid**
\[in, required\] A string containing the security identifier (SID) of the user or group that Shell Launcher is being configured for. +**Sid**
\[in, required\] A string containing the security identifier (SID) of the user or group that Shell Launcher is being configured for. -**Shell**
\[in, required\] The application or executable that Shell Launcher starts as the shell. +**Shell**
\[in, required\] The application or executable that Shell Launcher starts as the shell. -**CustomReturnCodes**
\[in\] An array of custom return codes that can be returned by the shell application. +**CustomReturnCodes**
\[in\] An array of custom return codes that can be returned by the shell application. -**CustomReturnCodesAction**
\[in\] An array of custom return code actions that determine the action that Shell Launcher takes when the shell application exits. The custom actions map to the array of *CustomReturnCodes*. +**CustomReturnCodesAction**
\[in\] An array of custom return code actions that determine the action that Shell Launcher takes when the shell application exits. The custom actions map to the array of *CustomReturnCodes*. The possible actions are defined in the following table: @@ -42,7 +42,7 @@ The possible actions are defined in the following table: | 2 | Shut down the device. | | 3 | Do nothing. | -**DefaultAction**
\[In\] The default action that Shell Launcher takes when the shell application exits. +**DefaultAction**
\[In\] The default action that Shell Launcher takes when the shell application exits. The possible actions are defined in the following table: diff --git a/windows/configuration/shell-launcher/wesl-usersettingsetdefaultshell.md b/windows/configuration/shell-launcher/wesl-usersettingsetdefaultshell.md index d829d7d717..efe4587efe 100644 --- a/windows/configuration/shell-launcher/wesl-usersettingsetdefaultshell.md +++ b/windows/configuration/shell-launcher/wesl-usersettingsetdefaultshell.md @@ -22,9 +22,9 @@ This method sets the default Shell Launcher configuration. ## Parameters -**Shell**
\[in, required\] The application or executable that Shell Launcher starts as the shell. +**Shell**
\[in, required\] The application or executable that Shell Launcher starts as the shell. -**DefaultAction**
\[in, required\] The default action that Shell Launcher takes when the *Shell* application exits. +**DefaultAction**
\[in, required\] The default action that Shell Launcher takes when the *Shell* application exits. The possible actions are defined in the following table: diff --git a/windows/configuration/shell-launcher/wesl-usersettingsetenabled.md b/windows/configuration/shell-launcher/wesl-usersettingsetenabled.md index 64d952bf88..c143bf6206 100644 --- a/windows/configuration/shell-launcher/wesl-usersettingsetenabled.md +++ b/windows/configuration/shell-launcher/wesl-usersettingsetenabled.md @@ -21,7 +21,7 @@ This method enables or disables Shell Launcher. ## Parameters -**Enabled**
\[in, required\] A Boolean value that indicates whether to enable or disable Shell Launcher. +**Enabled**
\[in, required\] A Boolean value that indicates whether to enable or disable Shell Launcher. ## Return Value From 4f90afc3ca4af9a9f5d858374437bc90be0561be Mon Sep 17 00:00:00 2001 From: Gary Moore <5432776+garycentric@users.noreply.github.com> Date: Mon, 10 Mar 2025 14:09:01 -0700 Subject: [PATCH 3/4] Correct slugs for content types For a list of valid slugs, see the instructions in https://review.learn.microsoft.com/en-us/help/platform/metadata-taxonomies?branch=main --- windows/configuration/shell-launcher/index.md | 8 ++++---- .../configuration/shell-launcher/wedl-assignedaccess.md | 2 +- windows/configuration/shell-launcher/wesl-usersetting.md | 2 +- .../shell-launcher/wesl-usersettinggetcustomshell.md | 2 +- .../shell-launcher/wesl-usersettinggetdefaultshell.md | 2 +- .../shell-launcher/wesl-usersettingisenabled.md | 2 +- .../shell-launcher/wesl-usersettingremovecustomshell.md | 2 +- .../shell-launcher/wesl-usersettingsetcustomshell.md | 2 +- .../shell-launcher/wesl-usersettingsetdefaultshell.md | 2 +- .../shell-launcher/wesl-usersettingsetenabled.md | 2 +- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/windows/configuration/shell-launcher/index.md b/windows/configuration/shell-launcher/index.md index c62d38837a..bcdfe0fba9 100644 --- a/windows/configuration/shell-launcher/index.md +++ b/windows/configuration/shell-launcher/index.md @@ -86,25 +86,25 @@ This example uses a Windows image called install.wim, but you can use the same p 1. Copy install.wim to a temporary folder on hard drive (in the following steps, we assume it's called C:\\wim). 1. Create a new directory. - ```CMD + ```cmd md c:\wim ``` 1. Mount the image. - ```CMD + ```cmd dism /mount-wim /wimfile:c:\bootmedia\sources\install.wim /index:1 /MountDir:c:\wim ``` 1. Enable the feature. - ```CMD + ```cmd dism /image:c:\wim /enable-feature /all /featureName:Client-EmbeddedShellLauncher ``` 1. Commit the change. - ```CMD + ```cmd dism /unmount-wim /MountDir:c:\wim /Commit ``` diff --git a/windows/configuration/shell-launcher/wedl-assignedaccess.md b/windows/configuration/shell-launcher/wedl-assignedaccess.md index acdd00a9df..aa991281b3 100644 --- a/windows/configuration/shell-launcher/wedl-assignedaccess.md +++ b/windows/configuration/shell-launcher/wedl-assignedaccess.md @@ -13,7 +13,7 @@ This Windows Management Instrumentation (WMI) provider class configures settings ## Syntax -```powershell +```mof class WEDL_AssignedAccess { [Key] string UserSID; [Read, Write] string AppUserModelId; diff --git a/windows/configuration/shell-launcher/wesl-usersetting.md b/windows/configuration/shell-launcher/wesl-usersetting.md index 4e3cf46894..56ab9c4ffc 100644 --- a/windows/configuration/shell-launcher/wesl-usersetting.md +++ b/windows/configuration/shell-launcher/wesl-usersetting.md @@ -13,7 +13,7 @@ This class configures which application Shell Launcher starts based on the secur ## Syntax -```powershell +```mof class WESL_UserSetting { [read, write, Required] string Sid; [read, write, Required] string Shell; diff --git a/windows/configuration/shell-launcher/wesl-usersettinggetcustomshell.md b/windows/configuration/shell-launcher/wesl-usersettinggetcustomshell.md index 98c7eaa8c3..f36d7aeb54 100644 --- a/windows/configuration/shell-launcher/wesl-usersettinggetcustomshell.md +++ b/windows/configuration/shell-launcher/wesl-usersettinggetcustomshell.md @@ -13,7 +13,7 @@ This method retrieves the Shell Launcher configuration for a specific user or gr ## Syntax -```powershell +```mof [Static] uint32 GetCustomShell ( [In, Required] string Sid, [Out, Required] string Shell, diff --git a/windows/configuration/shell-launcher/wesl-usersettinggetdefaultshell.md b/windows/configuration/shell-launcher/wesl-usersettinggetdefaultshell.md index 3a7f52dfd3..31d20adae5 100644 --- a/windows/configuration/shell-launcher/wesl-usersettinggetdefaultshell.md +++ b/windows/configuration/shell-launcher/wesl-usersettinggetdefaultshell.md @@ -13,7 +13,7 @@ This method retrieves the default Shell Launcher configuration. ## Syntax -```powershell +```mof [Static] uint32 GetDefaultShell ( [Out, Required] string Shell, [Out, Required] sint32 DefaultAction diff --git a/windows/configuration/shell-launcher/wesl-usersettingisenabled.md b/windows/configuration/shell-launcher/wesl-usersettingisenabled.md index 0b2753c1c7..5ed82b449e 100644 --- a/windows/configuration/shell-launcher/wesl-usersettingisenabled.md +++ b/windows/configuration/shell-launcher/wesl-usersettingisenabled.md @@ -13,7 +13,7 @@ This method retrieves a value that indicates if Shell Launcher is enabled or dis ## Syntax -```powershell +```mof [Static] uint32 IsEnabled( [Out, Required] boolean Enabled ); diff --git a/windows/configuration/shell-launcher/wesl-usersettingremovecustomshell.md b/windows/configuration/shell-launcher/wesl-usersettingremovecustomshell.md index 6fead06a2b..63bb9b7782 100644 --- a/windows/configuration/shell-launcher/wesl-usersettingremovecustomshell.md +++ b/windows/configuration/shell-launcher/wesl-usersettingremovecustomshell.md @@ -13,7 +13,7 @@ This method removes a Shell Launcher configuration for a specific user or group, ## Syntax -```powershell +```mof [Static] uint32 RemoveCustomShell ( [In, Required] string Sid ); diff --git a/windows/configuration/shell-launcher/wesl-usersettingsetcustomshell.md b/windows/configuration/shell-launcher/wesl-usersettingsetcustomshell.md index 0d3a9a6045..a83258af31 100644 --- a/windows/configuration/shell-launcher/wesl-usersettingsetcustomshell.md +++ b/windows/configuration/shell-launcher/wesl-usersettingsetcustomshell.md @@ -13,7 +13,7 @@ This method configures Shell Launcher for a specific user or group, based on the ## Syntax -```powershell +```mof [Static] uint32 SetCustomShell ( [In, Required] string Sid, [In, Required] string Shell, diff --git a/windows/configuration/shell-launcher/wesl-usersettingsetdefaultshell.md b/windows/configuration/shell-launcher/wesl-usersettingsetdefaultshell.md index efe4587efe..6f8e169487 100644 --- a/windows/configuration/shell-launcher/wesl-usersettingsetdefaultshell.md +++ b/windows/configuration/shell-launcher/wesl-usersettingsetdefaultshell.md @@ -13,7 +13,7 @@ This method sets the default Shell Launcher configuration. ## Syntax -```powershell +```mof [Static] uint32 SetDefaultShell ( [In, Required] string Shell, [In, Required] sint32 DefaultAction diff --git a/windows/configuration/shell-launcher/wesl-usersettingsetenabled.md b/windows/configuration/shell-launcher/wesl-usersettingsetenabled.md index c143bf6206..ca5dbebba8 100644 --- a/windows/configuration/shell-launcher/wesl-usersettingsetenabled.md +++ b/windows/configuration/shell-launcher/wesl-usersettingsetenabled.md @@ -13,7 +13,7 @@ This method enables or disables Shell Launcher. ## Syntax -```powershell +```mof [Static] uint32 SetEnabled( [In, Required] boolean Enabled ); From d796d7bf2772b6b76d0463fb3e9c69af385899bd Mon Sep 17 00:00:00 2001 From: David Strome <21028455+dstrome@users.noreply.github.com> Date: Mon, 10 Mar 2025 14:45:02 -0700 Subject: [PATCH 4/4] Update AutoLabelMsftContributor workflow from PAT to GH app --- .github/workflows/AutoLabelMsftContributor.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/AutoLabelMsftContributor.yml b/.github/workflows/AutoLabelMsftContributor.yml index 66992cfeef..c41825acc8 100644 --- a/.github/workflows/AutoLabelMsftContributor.yml +++ b/.github/workflows/AutoLabelMsftContributor.yml @@ -31,10 +31,5 @@ jobs: PayloadJson: ${{ needs.download-payload.outputs.WorkflowPayload }} secrets: AccessToken: ${{ secrets.GITHUB_TOKEN }} - TeamReadAccessToken: ${{ secrets.ORG_READTEAMS_TOKEN }} - - - - - - + ClientId: ${{ secrets.M365_APP_CLIENT_ID }} + PrivateKey: ${{ secrets.M365_APP_PRIVATE_KEY }}