OS upgrade error - Windows server 2019 to WIndows server 2022 - In place upgrade method

Suraj Krishnan 0 Reputation points
2023-06-20T20:52:44.4333333+00:00

I've been trying to upgrade the OS of my Windows instance from 2019 to the Windows Server 2022 version using the In-place upgrade method. I've attached a volume containing Windows 2022 installation media to the instance and performed the update. But the upgrade failed showing the following error:

0xC1900101 - 0x30018
The installation failed in the FIRST_BOOT phase with an error during SYSPREP_SPECIALIZE operation

How can I overcome this issue?

I upgrade the drivers first and afterward upgraded the domain controller schema to the latest as the server is hosting a domain controller.
Next, I attached the volume containing Windows 2022 installation media to the instance. Then I ran the following command on PowerShell to perform the upgrade:

.\setup.exe /auto upgrade /dynamicupdate disable

The installation proceeds after selecting the version but the installation failed after some time.

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,498 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,259 questions
Windows Server Setup
Windows Server Setup
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
241 questions
Windows Server Migration
Windows Server Migration
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Migration: The process of making existing applications and data work on a different computer or operating system.
411 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dave Patrick 426.2K Reputation points MVP
    2023-06-20T20:59:52.7033333+00:00

    You should never perform an in-place upgrade of a domain controller. It is much too risky. Better option is a migration.

    The two prerequisites to introducing the first 2019 or 2022 domain controller are that domain functional level needs to be 2008 or higher and older sysvol FRS replication needs to have been migrated to DFSR

    I'd use dcdiag / repadmin tools to verify health correcting all errors found before starting any operations. Then stand up the new 2019 or 2022, patch it fully, license it, join existing domain, add active directory domain services, promote it also making it a GC (recommended), transfer FSMO roles over (optional), transfer pdc emulator role (optional), use dcdiag / repadmin tools to again verify health, when all is good you can decommission / demote old one.

    --please don't forget to upvote and Accept as answer if the reply is helpful--