命令介面Shell

指定要做為預設的自訂殼層的應用程式或可執行檔。Specifies the application or executable to use as the default custom shell.

Values

Value 描述Description

ExecutableFileNameExecutableFileName

指定的名稱和路徑,如有需要,使用做為此使用者可執行檔的's 自訂殼層。Specifies the name and path, if required, of the executable to use as this user's custom shell.

父階層Parent Hierarchy

Microsoft-Windows-Embedded-ShellLauncher | UserSettings | User | ShellMicrosoft-Windows-Embedded-ShellLauncher | UserSettings | User | Shell

有效的設定階段Valid Configuration Passes

oobeSystemoobeSystem

套用至Applies To

如需此元件支援的架構與 Windows 版本的清單,請參閱Microsoft-Windows-內嵌-ShellLauncherFor a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Embedded-ShellLauncher.

XML 範例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>