DefaultReturnCodeAction (microsoft-windows-embedded-shelllauncher-usersettings-user-defaultreturncodeaction)

根据返回代码指定要执行的操作。

说明

0

重启 shell。

1

重启设备。

2

关闭设备。

3

不执行任何操作。

父层次结构

Microsoft-Windows-Embedded-ShellLauncher | UserSettings | User | DefaultCodeReturnCodeAction

有效配置阶段

oobeSystem

应用于

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows-Embedded-ShellLauncher

XML 示例

<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>