Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies what action to take based on the return code.
Values
Value | Description |
---|---|
0 |
Restart the shell. |
1 |
Restart the device. |
2 |
Shut down the device. |
3 |
Do nothing. |
Parent Hierarchy
Microsoft-Windows-Embedded-ShellLauncher | UserSettings | User | DefaultCodeReturnCodeAction
Valid Configuration Passes
oobeSystem
Applies To
For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Embedded-ShellLauncher.
XML example
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Embedded-ShellLauncher" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserSettings>
<User wcm:action="add">
<AccountName>Tester1</AccountName>
<DefaultReturnCodeAction>0</DefaultReturnCodeAction>
<Domain>TestDomain</Domain>
<Key>1</Key>
<Shell>cmd.exe</Shell>
</User>
</component>
</settings>