Windows Server 2019 Core 到 Windows Server 2022 Core 的就地升级功能已被禁用

Windows Server 2019 Core 到 Windows Server 2022 Core 的就地升级功能已被禁用

信息网络管理协会

你好,

我拥有许可媒体,并且可以从 Windows Server 2019 Data Center [桌面体验] 就地升级到 Windows Server 2022 Data Center [桌面体验]。

但是,当我想从 Windows Server 2019 Data Center Core 就地升级到 Windows Server 2022 Data Center Core 时,“保留文件、设置和应用程序”选项被禁用。如何解决这个问题?

在此处输入图片描述

我当前的 Windows Server 2019 核心详细信息如下

Get-ComputerInfo -Property WindowsProductName,WindowsBuildLabEx,WindowsEditionID

WindowsProductName        WindowsBuildLabEx                       WindowsEditionId
------------------        -----------------                       ----------------
Windows Server Datacenter 19041.1.amd64fre.vb_release.191206-1406 ServerDatacenterACor

我在服务器核心上安装的所有角色是

Get-WindowsFeature | Where-Object {$_. installstate -eq "installed"} | Format-List Name,Installstate | more

Name         : AD-Domain-Services
InstallState : Installed

Name         : DNS
InstallState : Installed

Name         : FileAndStorage-Services
InstallState : Installed

Name         : File-Services
InstallState : Installed

Name         : FS-FileServer
InstallState : Installed

Name         : Storage-Services
InstallState : Installed

Name         : NET-Framework-Features
InstallState : Installed

Name         : NET-Framework-Core
InstallState : Installed

Name         : NET-Framework-45-Features
InstallState : Installed

Name         : NET-Framework-45-Core
InstallState : Installed

Name         : NET-WCF-Services45
InstallState : Installed

Name         : NET-WCF-TCP-PortSharing45
InstallState : Installed

Name         : Containers
InstallState : Installed

Name         : GPMC
InstallState : Installed

Name         : RSAT
InstallState : Installed

Name         : RSAT-Feature-Tools
InstallState : Installed

Name         : RSAT-System-Insights
InstallState : Installed

Name         : RSAT-Role-Tools
InstallState : Installed

Name         : RSAT-AD-Tools
InstallState : Installed

Name         : RSAT-AD-PowerShell
InstallState : Installed

Name         : RSAT-DNS-Server
InstallState : Installed

Name         : System-DataArchiver
InstallState : Installed

Name         : System-Insights
InstallState : Installed

Name         : Windows-Defender
InstallState : Installed

Name         : PowerShellRoot
InstallState : Installed

Name         : PowerShell
InstallState : Installed

Name         : PowerShell-V2
InstallState : Installed

Name         : WoW64-Support
InstallState : Installed

我的 Windows Core 服务器版本是

DISM /Online Get-CurrentEdition

Deployment Image Servicing and Management tool
Version: 10.0.19041.844

Image Version: 10.0.19042.1889

Current edition is:

Current Edition : ServerDatacenterACor

The operation completed successfully.

我的服务器上安装的修补程序如下所示

PS C:\Users\Administrator> wmic qfe get hotfixid,installedon
HotFixID   InstalledOn
KB5015730  12/9/2022
KB4534170  4/20/2020
KB4545706  4/20/2020
KB4562830  3/11/2021
KB5016616  12/9/2022
KB5007273  12/30/2021
KB5011352  3/19/2022
KB5015895  12/9/2022
KB5003242  5/21/2021

我的dcdiag命令输出如下

PS C:\Users\Administrator> dcdiag

Directory Server Diagnosis

Performing initial setup:
   Trying to find home server...
   Home Server = WS2019CORE-MAIN
   * Identified AD Forest.
   Done gathering initial info.

Doing initial required tests

   Testing server: Default-First-Site-Name\WS2019CORE-MAIN
      Starting test: Connectivity
         ......................... WS2019CORE-MAIN passed test Connectivity

Doing primary tests

   Testing server: Default-First-Site-Name\WS2019CORE-MAIN
      Starting test: Advertising
         ......................... WS2019CORE-MAIN passed test Advertising
      Starting test: FrsEvent
         ......................... WS2019CORE-MAIN passed test FrsEvent
      Starting test: DFSREvent
         ......................... WS2019CORE-MAIN passed test DFSREvent
      Starting test: SysVolCheck
         ......................... WS2019CORE-MAIN passed test SysVolCheck
      Starting test: KccEvent
         ......................... WS2019CORE-MAIN passed test KccEvent
      Starting test: KnowsOfRoleHolders
         ......................... WS2019CORE-MAIN passed test KnowsOfRoleHolders
      Starting test: MachineAccount
         ......................... WS2019CORE-MAIN passed test MachineAccount
      Starting test: NCSecDesc
         ......................... WS2019CORE-MAIN passed test NCSecDesc
      Starting test: NetLogons
         ......................... WS2019CORE-MAIN passed test NetLogons
      Starting test: ObjectsReplicated
         ......................... WS2019CORE-MAIN passed test ObjectsReplicated
      Starting test: Replications
         ......................... WS2019CORE-MAIN passed test Replications
      Starting test: RidManager
         ......................... WS2019CORE-MAIN passed test RidManager
      Starting test: Services
         ......................... WS2019CORE-MAIN passed test Services
      Starting test: SystemLog
         An error event occurred.  EventID: 0x00000022
            Time Generated: 12/13/2022   11:08:42
            Event String:
            The time service has detected that the system time needs to be  changed by 0 seconds. The time service will not change the system time by more than 172800 seconds. Verify that your time and time zone are correct, and that the time source VM IC Time Synchronization Provider is working properly.
         ......................... WS2019CORE-MAIN failed test SystemLog
      Starting test: VerifyReferences
         ......................... WS2019CORE-MAIN passed test VerifyReferences


   Running partition tests on : ForestDnsZones
      Starting test: CheckSDRefDom
         ......................... ForestDnsZones passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... ForestDnsZones passed test CrossRefValidation

   Running partition tests on : DomainDnsZones
      Starting test: CheckSDRefDom
         ......................... DomainDnsZones passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... DomainDnsZones passed test CrossRefValidation

   Running partition tests on : Schema
      Starting test: CheckSDRefDom
         ......................... Schema passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... Schema passed test CrossRefValidation

   Running partition tests on : Configuration
      Starting test: CheckSDRefDom
         ......................... Configuration passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... Configuration passed test CrossRefValidation

   Running partition tests on : test
      Starting test: CheckSDRefDom
         ......................... test passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... test passed test CrossRefValidation

   Running enterprise tests on : test.local
      Starting test: LocatorCheck
         ......................... test.local passed test LocatorCheck
      Starting test: Intersite
         ......................... test.local passed test Intersite

更新

我在微软创建问题https://learn.microsoft.com/en-us/answers/questions/1123512/in-place-upgrade-disable-in-windows-server-core-20但我仍找不到解决方案。

谢谢

答案1

我尝试使用 Microsoft 免费提供的 Windows Server ISO 评估版进行升级,但它不允许我保留文件和设置。

当我使用标准版 ISO 时它确实起作用。

这里的教训似乎是,您尝试使用的安装程序的确切版本确实很重要。

答案2

选择您想要的 Windows 升级版本,并选择(桌面体验),而不是只选择 Windows 20222 标准版。这为我解决了这个问题。

相关内容