windows-itpro-docs/windows/configuration/shell-launcher/wesl-usersettingremovecustomshell.md
Paolo Matarazzo dbcbff2c9b updates
2025-01-14 18:46:37 -05:00

1.4 KiB

title, description, MSHAttr, ms.assetid, author, ms.author, ms.service, ms.subservice, ms.date, ms.topic
title description MSHAttr ms.assetid author ms.author ms.service ms.subservice ms.date ms.topic
WESL_UserSetting.RemoveCustomShell WESL_UserSetting.RemoveCustomShell
PreferredSiteName:MSDN
PreferredLib:/library/windows/hardware
161eb289-e3b5-4d16-b367-f79f2b90f291 TerryWarwick twarwick windows-iot iot 05/20/2024 article

WESL_UserSetting.RemoveCustomShell

This method removes a Shell Launcher configuration for a specific user or group, based on the security identifier (SID).

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.

Requirements

Windows Edition Supported
Windows Home No
Windows Pro No
Windows Enterprise Yes
Windows Education Yes
Windows IoT Enterprise Yes