免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6495 | 回复: 1
打印 上一主题 下一主题

[Windows 7] WDS 无人值守自动安装windows7问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-06-13 16:45 |只看该作者 |倒序浏览
本帖最后由 linewer 于 2014-06-13 16:45 编辑

通过windows server 2008 wds自动安装windows7,目前遇到两个地方无法自动化(相关截图见附件)
1).选择要安装的操作系统
    AutoUnattend.xml是通过系统镜像管理器制作的,其中选的就是windows7旗舰版
  其中相关段写成:
   <cpifflineImage cpi:source="catalog:c:/windows7_iso/sources/install_windows 7 ultimate.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
   或者
<cpifflineImage cpi:source="wim:c:/windows7_iso/sources/install.wim#Windows 7 ultimate" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
都没效果

2).将windows安装到何处 ----->引申一下,如何自动分区并安装系统?

AutoUnattend.xml见下,这个应该怎么修改呢?多谢!
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <unattend xmlns="urn:schemas-microsoft-com:unattend">
  3.     <settings pass="windowsPE">
  4.         <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">
  5.             <SetupUILanguage>
  6.                 <UILanguage>zh-CN</UILanguage>
  7.             </SetupUILanguage>
  8.             <InputLocale>zh-CN</InputLocale>
  9.             <SystemLocale>zh-CN</SystemLocale>
  10.             <UILanguage>zh-CN</UILanguage>
  11.             <UserLocale>zh-CN</UserLocale>
  12.         </component>
  13.         <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">
  14.             <UserData>
  15.                 <AcceptEula>true</AcceptEula>
  16.                 <ProductKey>
  17.                     <WillShowUI>OnError</WillShowUI>
  18.                 </ProductKey>
  19.             </UserData>
  20.             <WindowsDeploymentServices>
  21.                 <Login>
  22.                     <Credentials>
  23.                         <Domain>my.com</Domain>
  24.                         <Password>password2014</Password>
  25.                         <Username>Administrator</Username>
  26.                     </Credentials>
  27.                 </Login>
  28.             </WindowsDeploymentServices>
  29.             <DiskConfiguration>
  30.                 <Disk wcm:action="add">
  31.                     <DiskID>0</DiskID>
  32.                     <WillWipeDisk>true</WillWipeDisk>
  33.                 </Disk>
  34.             </DiskConfiguration>
  35.             <ImageInstall>
  36.                 <OSImage>
  37.                     <InstallFrom>
  38.                         <MetaData wcm:action="add">
  39.                             <Key>/image/index</Key>
  40.                             <Value>5</Value>
  41.                         </MetaData>
  42.                     </InstallFrom>
  43.                     <InstallTo>
  44.                         <DiskID>0</DiskID>
  45.                         <PartitionID>2</PartitionID>
  46.                     </InstallTo>
  47.                 </OSImage>
  48.             </ImageInstall>
  49.         </component>
  50.     </settings>
  51.     <settings pass="specialize">
  52.         <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">
  53.             <ComputerName>ZBEZJ</ComputerName>
  54.         </component>
  55.         <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">
  56.             <SkipAutoActivation>true</SkipAutoActivation>
  57.         </component>
  58.     </settings>
  59.     <settings pass="oobeSystem">
  60.         <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">
  61.             <OOBE>
  62.                 <SkipMachineOOBE>true</SkipMachineOOBE>
  63.             </OOBE>
  64.             <TimeZone>China Standand Time</TimeZone>
  65.             <AutoLogon>
  66.                 <Password>
  67.                     <Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
  68.                     <PlainText>false</PlainText>
  69.                 </Password>
  70.                 <Username>Administrator</Username>
  71.                 <Enabled>true</Enabled>
  72.             </AutoLogon>
  73.         </component>
  74.     </settings>
  75.     <cpi:offlineImage cpi:source="catalog:c:/windows7_iso/sources/install_windows 7 ultimate.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
  76. </unattend>
复制代码

论坛徽章:
0
2 [报告]
发表于 2014-06-13 16:48 |只看该作者
刚才不知怎么,上传不了附件...

Screenshot-Untitled Window-2.png (297.1 KB, 下载次数: 62)

Screenshot-Untitled Window-2.png

Screenshot-Untitled Window-3.png (290.21 KB, 下载次数: 53)

Screenshot-Untitled Window-3.png
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP