mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-16 15:27:22 +00:00
33 lines
872 B
Markdown
33 lines
872 B
Markdown
---
|
|
title: WESL_UserSetting.RemoveCustomShell
|
|
description: WESL_UserSetting.RemoveCustomShell
|
|
ms.date: 3/7/2025
|
|
ms.topic: reference
|
|
---
|
|
|
|
# WESL_UserSetting.RemoveCustomShell
|
|
|
|
This method removes a Shell Launcher configuration for a specific user or group, based on the security identifier (SID).
|
|
|
|
[!INCLUDE [shell-launcher](../../../includes/licensing/shell-launcher.md)]
|
|
|
|
## Syntax
|
|
|
|
```mof
|
|
[Static] uint32 RemoveCustomShell (
|
|
[In, Required] string Sid
|
|
);
|
|
```
|
|
|
|
## Parameters
|
|
|
|
**Sid**<br/>\[in, required\] A string containing the security identifier (SID) of the user or group that Shell Launcher is configured for.
|
|
|
|
## Return Value
|
|
|
|
Returns an HRESULT value that indicates [WMI status](/windows/win32/wmisdk/wmi-non-error-constants) or a [WMI error](/windows/win32/wmisdk/wmi-error-constants).
|
|
|
|
## Remarks
|
|
|
|
You must restart your device for the changes to take effect.
|