Shell (shelllauncher-usersettings-user-shell) Shell (microsoft-windows-embedded-shelllauncher-usersettings-user-shell)

指定要用作默认自定义 shell 的应用程序或可执行文件。Specifies the application or executable to use as the default custom shell.

Values

“值”Value 说明Description

ExecutableFileNameExecutableFileName

指定要用作此用户的可执行文件的名称和路径(如果需要)'自定义外壳。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 | 用户 | ShellMicrosoft-Windows-Embedded-ShellLauncher | UserSettings | User | Shell

有效的配置阶段Valid Configuration Passes

oobeSystemoobeSystem

适用于Applies To

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 Microsoft Windows Embedded-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>