DefaultReturnCodeAction (microsoft-windows-embedded-shelllauncher-defaultreturncodeaction)
Specifies what action to take, based on the return code.
When a custom shell exits, shell launcher can perform one of four actions, based on the return codes.
Values
Value | Description |
---|---|
0 |
Restart the shell. This is the default value. |
1 |
Restart the device. |
2 |
Shut down the device. |
3 |
Do nothing. |
Parent Hierarchy
Microsoft-Windows-Embedded-ShellLauncher | DefaultReturnCodeAction
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">
<Shell>testshell.exe</Shell>
<DefaultReturnCodeAction>1</DefaultReturnCodeAction>
</component>
</settings>