Windows Server 2012无人参与升级

我是使用Windows服务器软件的新手,目前我们正在使用Windows Server 2008 R2数据中心。 我们想升级到服务器2012。

我们如何在Windows服务器上执行无人参与的升级。 我们没有物理访问这台服务器。 我已经find了有关如何进行无人值守安装(擦除磁盘非升级)的说明,但我们如何升级?

我能够通过简单地将ISO的内容复制到桌面并使用简单的升级模式运行安装程序,将我的Server 2008R2 DC服务器升级到2012R2 DC。 我知道这不是无人看pipe,但是你会保持连接,直到它需要重新启动。 等待大约5分钟,你应该能够RDP回来。

您需要确保您的Windows更新是最新的。 而且我不会在生产服务器上推荐这个function,除非您先备份备份,并且在发生最坏情况时备份恢复的维护窗口很多。

按照上面的build议,这就是我所做的。

  1. 在虚拟机中安装了Windows Server 2008R2的演示版本。
  2. 获得了windows server 2012R2的Demo版本
  3. 接下来的这篇文章windows-server-2012-unattended (不得不添加一些调整来添加IP)

使用本网站作为附加属性的参考: windows-server-2012-automated-install-settings

我可以通过RDP会话自动将Windows 2008R2升级到2012R2。

总之步骤是:

  1. searchWindows ADK(评估和部署工具包)(adksetup.exe至less版本8.100.26866)
  2. 运行安装时,请select部署工具和Windows预安装环境(Windows PE)。
  3. 一旦安装打开:Windows系统映像pipe理器。 (从开始菜单)
  4. 您将需要访问ISO并findinstall.wim源文件(通常位于:[iso] \ sources中)
  5. 创build图像时,您需要select要使用的操作系统版本。
  6. 一旦图像准备就绪,您将需要开始将不同的设置添加到configuration中。
    复制configuration示例,并根据需要将其命名为Autounattend.xml更新(无论是使用工具还是使用记事本,build议使用该工具)以执行升级,您将需要:[windows source] \ setup.exe / unattend:“\ path \ OS \ Autounattend.xml的”

configuration示例

<?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="specialize"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" 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>mysuperComputer</ComputerName> <ProductKey>123-1234-12345-12345-XXXX</ProductKey> <RegisteredOrganization>Somewhere</RegisteredOrganization> <RegisteredOwner>Me</RegisteredOwner> <TimeZone>Pacific Standard Time</TimeZone> </component> <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <fDenyTSConnections>false</fDenyTSConnections> </component> </settings> <settings pass="windowsPE"> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" 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>en-US</UILanguage> </SetupUILanguage> <InputLocale>en-US</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale> </component> <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" 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> <ProductKey> <Key>123-1234-12345-12345-XXXX</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <AcceptEula>true</AcceptEula> <FullName>Me</FullName> <Organization>Me</Organization> </UserData> <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key> /IMAGE/NAME</Key> <Value>Windows Server 2012 SERVERSTANDARD</Value> </MetaData> <Path>\\SOMESERVER\Windows Server\install.wim</Path> </InstallFrom> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> </OSImage> </ImageInstall> <DiskConfiguration> <WillShowUI>OnError</WillShowUI> <Disk wcm:action="add"> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>1</Order> <Size>1000</Size> <Type>Primary</Type> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>true</Active> <Extend>true</Extend> <Format>NTFS</Format> <Letter>C</Letter> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> </DiskConfiguration> <WindowsDeploymentServices> <Login> <Credentials> <Password>thisisasecret</Password> <Username>Administrator</Username> </Credentials> </Login> </WindowsDeploymentServices> <UpgradeData> <Upgrade>false</Upgrade> </UpgradeData> </component> <component name="Microsoft-Windows-TCPIP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Interfaces> <Interface wcm:action="add"> <Ipv4Settings> <DhcpEnabled>true</DhcpEnabled> </Ipv4Settings> <Identifier>1</Identifier> </Interface> </Interfaces> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RegisteredOrganization>-</RegisteredOrganization> <RegisteredOwner>-</RegisteredOwner> </component> </settings> <cpi:offlineImage cpi:source="wim:c:/temp/install.wim#Windows Server 2012 R2 SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>