windows-itpro-docs/windows/configuration/shell-launcher/wesl-usersettingremovecustomshell.md
Paolo Matarazzo 21a9b5ee91 timestamps
2025-03-07 12:03:40 -05:00

879 B

title, description, ms.date, ms.topic
title description ms.date ms.topic
WESL_UserSetting.RemoveCustomShell WESL_UserSetting.RemoveCustomShell 3/7/2025 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]

Syntax

[Static] uint32 RemoveCustomShell (
    [In, Required] string Sid
);

Parameters

Sid
[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 or a WMI error.

Remarks

You must restart your device for the changes to take effect.