Table of contents
TOC
Collapse the table of content
Expand the table of content

WESL_UserSetting.SetEnabled

Last Updated: 12/12/2016

This method enables or disables Shell Launcher.

Syntax

[Static] uint32 SetEnabled(
    [In, Required] boolean Enabled
);

Parameters

Enabled
[in, required] A Boolean value that indicates whether to enable or disable Shell Launcher.

Return Value

Returns an HRESULT value that indicates WMI status or a WMI error.

Remarks

This method enables or disables Shell Launcher by modifying the Shell value in the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon. If Unified Write Filter (UWF) is enabled, you may need to disable UWF or commit this registry key by using UWF_RegistryFilter.CommitRegistry in order to enable or disable Shell Launcher.

Enabling or disabling Shell Launcher does not take effect until a user signs in.

Requirements

Windows EditionSupported
Windows 10 HomeNo
Windows 10 ProNo
Windows 10 EnterpriseYes
Windows 10 EducationYes

WESL_UserSetting

Shell Launcher

Send comments about this topic to Microsoft

© 2017 Microsoft