AccountName

指定將用於自訂殼層的使用者或群組帳戶名稱。

描述

UserOrGroupName

指定此自訂殼層將套用的使用者或使用者群組名稱。

父階層

Microsoft-Windows-Embedded-ShellLauncher | UserSettings | 使用者 | AccountName

有效的設定階段

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>