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

WESL_UserSetting.GetDefaultShell

Last Updated: 12/12/2016

This method retrieves the default Shell Launcher configuration.

Syntax

[Static] uint32 GetDefaultShell (
    [Out, Required] string Shell,
    [Out, Required] sint32 DefaultAction
);

Parameters

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.

The possible actions are defined in the following table:

ValueDescription

0

Restarts the shell application.

1

Restarts the device.

2

Shuts down the device.

Return Value

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

Remarks

Shell Launcher uses the default configuration when the security identifier (SID) of the user who is currently signed in does not match any custom defined Shell Launcher configurations.

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