我是使用Windows服务器软件的新手,目前我们正在使用Windows Server 2008 R2数据中心。 我们想升级到服务器2012。
我们如何在Windows服务器上执行无人参与的升级。 我们没有物理访问这台服务器。 我已经find了有关如何进行无人值守安装(擦除磁盘非升级)的说明,但我们如何升级?
我能够通过简单地将ISO的内容复制到桌面并使用简单的升级模式运行安装程序,将我的Server 2008R2 DC服务器升级到2012R2 DC。 我知道这不是无人看pipe,但是你会保持连接,直到它需要重新启动。 等待大约5分钟,你应该能够RDP回来。
您需要确保您的Windows更新是最新的。 而且我不会在生产服务器上推荐这个function,除非您先备份备份,并且在发生最坏情况时备份恢复的维护窗口很多。
按照上面的build议,这就是我所做的。
使用本网站作为附加属性的参考: windows-server-2012-automated-install-settings
我可以通过RDP会话自动将Windows 2008R2升级到2012R2。
总之步骤是:
<?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>