2011年2月28日 星期一

WDS 自動安裝XML檔範例

<?xml version="1.0"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">

<component name ="Microsoft-Windows-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="X86">
 <WindowsDeploymentServices>
  <Login>
   <WillShowUI>OnError</WillShowUI>
   <Credentials>
     <Username>administrator</Username>
     <Domain>wds.com</Domain>
     <Password>password</Password>
   </Credentials>
  </Login>
  <ImageSelection>
   <WillShowUI>OnError</WillShowUI>
   <InstallImage>
    <ImageName>Windows Server 2008 R2 SERVERENTERPRISE</ImageName>
    <ImageGroup>ImageGroup1</ImageGroup>
    <Filename>install.wim</Filename>
   </InstallImage>
   <InstallTo>
    <DiskID>0</DiskID>
    <PartitionID>1</PartitionID>
   </InstallTo>
  </ImageSelection>
 </WindowsDeploymentServices>
 <DiskConfiguration>
  <WillShowUI>OnError</WillShowUI>
  <Disk>
   <DiskID>0</DiskID>
   <WillWipeDisk>false</WillWipeDisk>
   <ModifyPartitions>
    <ModifyPartition>
     <Order>1</Order>
     <PartitionID>1</PartitionID>
     <Letter>C</Letter>
     <Label>TestOS</Label>
     <Format>NTFS</Format>
     <Active>true</Active>
     <Extend>false</Extend>
    </ModifyPartition>
 </ModifyPartitions>
   </Disk>
  </DiskConfiguration>
 
 </component>
<component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31b3856ad364e35" language="neutral" versionScope="nonSxS"
  processorArchitecture="X86">
  <SetupUILanguage>
   <WillShowUI>OnError</WillShowUI>
   <UILanguage>zh-tw</UILanguage>
  </SetupUILanguage>
  <UILanguage>zh-tw</UILanguage>
 </component>
</settings>
</unattend>

沒有留言:

張貼留言