UsernameUsername
Username
指定用於驗證的帳戶的使用者名稱。Username
specifies the user name of the account used for authentication.
值Values
User_nameUser_name |
指定用於驗證的帳戶的使用者名稱。Specifies the user name of the account used for authentication. User_name是一個字串。User_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-setup- | ImageInstall | OSImage | InstallFrom | Credentials | Usernamemicrosoft-windows-setup- | ImageInstall | OSImage | InstallFrom | Credentials | Username
套用至Applies To
如需支援的 Windows 版本和架構,此元件支援的清單,請參閱microsoft-windows-安裝程式-。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>