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

指定要根據傳回碼採取的動作。

描述

0

重新開機殼層。

1

重新啟動裝置。

2

關閉裝置。

3

不執行任何動作。

父階層

Microsoft-Windows-Embedded-ShellLauncher | UserSettings | 使用者 | 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>