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

リターン コードに基づいて実行するアクションを指定します。

内容

0

シェルを再起動します。

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>