- 论坛徽章:
- 0
|
本帖最后由 linewer 于 2014-06-13 16:45 编辑
通过windows server 2008 wds自动安装windows7,目前遇到两个地方无法自动化(相关截图见附件)
1).选择要安装的操作系统
AutoUnattend.xml是通过系统镜像管理器制作的,其中选的就是windows7旗舰版
其中相关段写成:
<cpi fflineImage cpi:source="catalog:c:/windows7_iso/sources/install_windows 7 ultimate.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
或者
<cpi fflineImage cpi:source="wim:c:/windows7_iso/sources/install.wim#Windows 7 ultimate" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
都没效果
2).将windows安装到何处 ----->引申一下,如何自动分区并安装系统?
AutoUnattend.xml见下,这个应该怎么修改呢?多谢!- <?xml version="1.0" encoding="utf-8"?>
- <unattend xmlns="urn:schemas-microsoft-com:unattend">
- <settings pass="windowsPE">
- <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <SetupUILanguage>
- <UILanguage>zh-CN</UILanguage>
- </SetupUILanguage>
- <InputLocale>zh-CN</InputLocale>
- <SystemLocale>zh-CN</SystemLocale>
- <UILanguage>zh-CN</UILanguage>
- <UserLocale>zh-CN</UserLocale>
- </component>
- <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <UserData>
- <AcceptEula>true</AcceptEula>
- <ProductKey>
- <WillShowUI>OnError</WillShowUI>
- </ProductKey>
- </UserData>
- <WindowsDeploymentServices>
- <Login>
- <Credentials>
- <Domain>my.com</Domain>
- <Password>password2014</Password>
- <Username>Administrator</Username>
- </Credentials>
- </Login>
- </WindowsDeploymentServices>
- <DiskConfiguration>
- <Disk wcm:action="add">
- <DiskID>0</DiskID>
- <WillWipeDisk>true</WillWipeDisk>
- </Disk>
- </DiskConfiguration>
- <ImageInstall>
- <OSImage>
- <InstallFrom>
- <MetaData wcm:action="add">
- <Key>/image/index</Key>
- <Value>5</Value>
- </MetaData>
- </InstallFrom>
- <InstallTo>
- <DiskID>0</DiskID>
- <PartitionID>2</PartitionID>
- </InstallTo>
- </OSImage>
- </ImageInstall>
- </component>
- </settings>
- <settings pass="specialize">
- <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <ComputerName>ZBEZJ</ComputerName>
- </component>
- <component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <SkipAutoActivation>true</SkipAutoActivation>
- </component>
- </settings>
- <settings pass="oobeSystem">
- <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <OOBE>
- <SkipMachineOOBE>true</SkipMachineOOBE>
- </OOBE>
- <TimeZone>China Standand Time</TimeZone>
- <AutoLogon>
- <Password>
- <Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
- <PlainText>false</PlainText>
- </Password>
- <Username>Administrator</Username>
- <Enabled>true</Enabled>
- </AutoLogon>
- </component>
- </settings>
- <cpi:offlineImage cpi:source="catalog:c:/windows7_iso/sources/install_windows 7 ultimate.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
- </unattend>
复制代码 |
|