域 (imageinstall-osimage-installfrom-domain) Domain (microsoft-windows-setup-imageinstall-osimage-installfrom-credentials-domain)

Domain 指定用于身份验证的帐户的域。Domain specifies the domain of the account used for authentication.

Values

Domain_nameDomain_name

指定对帐户进行身份验证时所使用的域的名称。Specifies the name of the domain used when authenticating an account. Domain_name 是一个字符串。Domain_name is a string.

该字符串类型不支持空元素。This string type does not support empty elements. 请勿为该设置创建空值。Do not create an empty value for this setting.

有效的配置阶段Valid Configuration Passes

windowsPEwindowsPE

父层次结构Parent Hierarchy

microsoft-windows-设置- | ImageInstall | OSImage | InstallFrom | 凭据 | microsoft-windows-setup- | ImageInstall | OSImage | InstallFrom | Credentials | Domain

适用于Applies To

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 microsoft-安装-For the list of the supported Windows editions and architectures that this component supports, see microsoft-windows-setup-.

XML 示例XML Example

以下 XML 输出显示了如何设置 ImageInstall 安装操作系统映像和数据映像的设置。The following XML output shows how to set the ImageInstall setting to install both an operating system image and a data image.

<ImageInstall>
    <OSImage>
        <InstallFrom>
            <Credentials>
                <Domain>FabrikamDomain</Domain>
                <Password>MyPassword</Password>
                <Username>MyUsername</Username>
            </Credentials>
            <Path>\\networkshare\share\install.wim</Path>
            <MetaData wcm:action="add">
                <Key>/IMAGE/NAME</Key>
                <Value>FabrikamCustomOSImage</Value>
            </MetaData>
        </InstallFrom>
        <InstallTo>
            <DiskID>0</DiskID>
            <PartitionID>1</PartitionID>
        </InstallTo>
        <WillShowUI>OnError</WillShowUI>
        <InstallToAvailablePartition>false</InstallToAvailablePartition>
    </OSImage>
    <DataImage wcm:action="add">
        <InstallTo>
            <DiskID>0</DiskID>
            <PartitionID>2</PartitionID>
        </InstallTo>
        <InstallFrom>
            <Credentials>
                <Domain>FabrikamDomain</Domain>
                <Password>MyPassword</Password>
                <Username>MyUsername</Username>
            </Credentials>
            <Path>\\networkshare\share\data.wim</Path>
            <MetaData wcm:action="add">
                <Key>/IMAGE/NAME</Key>
                <Value>FabrikamData</Value>
            </MetaData>
        </InstallFrom>
        <Order>1</Order>
    </DataImage>
</ImageInstall>

凭据Credentials