密码 (imageinstall-dataimage-installfrom-password) Password (microsoft-windows-setup-imageinstall-dataimage-installfrom-credentials-password)

Password 指定用于访问由 InstallFrom指定的数据映像的帐户密码。Password specifies the password of the account used for authentication to access the data image specified by InstallFrom.

Values

密码Password

指定用于身份验证的用户帐户的密码。Specifies the password of the user account used for authentication. Password 是一个字符串。Password is a string.

有效的配置阶段Valid Configuration Passes

windowsPEwindowsPE

父层次结构Parent Hierarchy

microsoft-windows-设置- | ImageInstall | DataImage | InstallFrom | 凭据 | 密码microsoft-windows-setup- | ImageInstall | DataImage | InstallFrom | Credentials | Password

适用于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