none
关于Windows Server 2012 R2无人值守问题 RRS feed

  • 问题

  • 服务器DHCP和Windows部署服务两个应用都搭建好了,现在在做无人值守,应答文件用微软的ADK工具已经做好,但是通过网卡进入系统以后,界面卡在硬盘分区的界面,还是需要手动操作才能安装,请问这个怎么解决。
    2020年4月16日 5:57

全部回复

  • 应答文件里面设置的wds服务器的域用户凭据和同意许可条款,这个已经可以实现了,剩下的选择系统版本和分区过不去了。
    2020年4月16日 6:02
  • <?xml version="1.0" encoding="UTF-8"?>

    -<unattend xmlns="urn:schemas-microsoft-com:unattend">


    -<settings pass="windowsPE">


    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-International-Core-WinPE">

    <InputLocale>zh-CN</InputLocale>

    <SystemLocale>zh-CN</SystemLocale>

    <UILanguage>zh-CN</UILanguage>

    <UILanguageFallback>zh-CN</UILanguageFallback>

    <UserLocale>zh-CN</UserLocale>

    </component>


    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Setup">


    -<WindowsDeploymentServices>


    -<Login>


    -<Credentials>

    <Domain>inspur</Domain>

    <Password>inspur1!</Password>

    <Username>Administrator</Username>

    </Credentials>

    </Login>

    </WindowsDeploymentServices>


    -<DiskConfiguration>


    -<Disk wcm:action="add">


    -<CreatePartitions>


    -<CreatePartition wcm:action="add">

    <Order>1</Order>

    <Size>152600</Size>

    <Type>Primary</Type>

    </CreatePartition>

    </CreatePartitions>


    -<ModifyPartitions>


    -<ModifyPartition wcm:action="add">

    <Active>true</Active>

    <Format>NTFS</Format>

    <Label>OS</Label>

    <Letter>C</Letter>

    <Order>1</Order>

    <PartitionID>1</PartitionID>

    </ModifyPartition>

    </ModifyPartitions>

    <DiskID>0</DiskID>

    <WillWipeDisk>true</WillWipeDisk>

    </Disk>

    </DiskConfiguration>


    -<ImageInstall>


    -<OSImage>


    -<InstallFrom>


    -<MetaData wcm:action="add">

    <Key>/Image/Name</Key>

    <Value>Windows Server 2012 R2 ServerDatacenter</Value>

    </MetaData>

    </InstallFrom>


    -<InstallTo>

    <DiskID>0</DiskID>

    <PartitionID>1</PartitionID>

    </InstallTo>

    </OSImage>

    </ImageInstall>


    -<UserData>


    -<ProductKey>

    <WillShowUI>Never</WillShowUI>

    <Key>BH9T4-4N7CW-67J3M-64J36-WW98Y</Key>

    </ProductKey>

    <AcceptEula>true</AcceptEula>

    <FullName>INSPUR</FullName>

    <Organization>INSPUR</Organization>

    </UserData>

    </component>

    </settings>


    -<settings pass="specialize">


    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup">

    <ComputerName>*</ComputerName>

    <TimeZone>Pacific Standard Time</TimeZone>

    </component>


    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Security-SPP-UX">

    <SkipAutoActivation>false</SkipAutoActivation>

    </component>

    </settings>


    -<settings pass="oobeSystem">


    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup">


    -<OOBE>

    <NetworkLocation>Work</NetworkLocation>

    <ProtectYourPC>1</ProtectYourPC>

    <HideEULAPage>true</HideEULAPage>

    </OOBE>

    </component>

    </settings>

    <cpi:offlineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim://desktop-t9dchv6/diso/%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6%E5%A4%B9/sources/install.wim#Windows Server 2012 R2 SERVERDATACENTER"/>

    </unattend>

    这个是应答文件的内容

    2020年4月16日 6:27