Windows Server 2019 Core 到 Window Server 2022 Core 中的就地升級已停用

Windows Server 2019 Core 到 Window 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 標準版。這為我解決了這個問題。

相關內容