In-place upgrade failed Server 2022 to Server 2025

Anonymous
2025-01-08T17:32:02+00:00

I've been working on in-place upgrades of Serve 2022 to Server 2025, and I have one server that fails to upgrade after a lengthy upgrade process. I've run the DISM /cleanup (Windows Server 2012 R2 upgrade to Windows Server 2019 fails - Microsoft Q&A), and even deployed both the Nov 2024 and Dec 24 ISOs, yet they all fail to upgrade this one server.

See attached setup*.log files.

Where to look to get this pesky server upgraded?? Thank you.

setuperr.log:

2025-01-08 10:58:13, Error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:$WINDOWS.~BT\Sources\ReplacementManifests\Microsoft-Windows-RasServer-MigPlugin\RasMigPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7f.[gle=0x0000007f]

2025-01-08 10:58:13, Error [0x080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007f.[gle=0x0000007f]

setupact.log

2025-01-08 10:39:50, Info UI Determining whether we should run ConX or legacy setup

2025-01-08 10:39:50, Info UI Will launch ConX setup experience

2025-01-08 10:39:50, Info UI Initializing Media class driver for audio support

2025-01-08 10:39:50, Info UI Initializing media class driver status: 126

2025-01-08 10:39:50, Info UI Launching ConX setup experience

2025-01-08 10:39:50, Info UI Inspecting ConX Setup Cmdline

2025-01-08 10:39:50, Info UI Launching E:\Sources\SetupPrep.exe

2025-01-08 10:58:13, Info MIG MigHost started with command line: {4F66F3FF-6E14-481B-B15C-597FA0868D11} /InitDoneEvent:MigHost.{4F66F3FF-6E14-481B-B15C-597FA0868D11}.Event /ParentPID:7364

2025-01-08 10:58:13, Info MIG MigHost: CMigPluginSurrogate::Init: Successfully initialized surrogate.

2025-01-08 10:58:13, Info MIG MigHost: Initialized successfully with CLSID[{4F66F3FF-6E14-481B-B15C-597FA0868D11}] and LogDir=[]

2025-01-08 10:58:13, Info MIG MigHost: CMigPluginSurrogate::LoadDllServer in progress: BinaryPath=[C:$WINDOWS.~BT\Sources\ReplacementManifests\Microsoft-Windows-RasServer-MigPlugin\RasMigPlugin.dll], CLSID=[{D26AA4A5-92AD-48DB-8D59-95EF0DCE6939}], ApartmentThreadingModel=[1].

2025-01-08 10:58:13, Info MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: ThreadID=[0x23fc], Server=[C:$WINDOWS.~BT\Sources\ReplacementManifests\Microsoft-Windows-RasServer-MigPlugin\RasMigPlugin.dll], CLSID=[{D26AA4A5-92AD-48DB-8D59-95EF0DCE6939}], ApartmentThreadingModel=[1], ExceptionPolicy=[1]

2025-01-08 10:58:13, Info MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: Loaded server(C:$WINDOWS.~BT\Sources\ReplacementManifests\Microsoft-Windows-RasServer-MigPlugin\RasMigPlugin.dll)

2025-01-08 10:58:13, Error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:$WINDOWS.~BT\Sources\ReplacementManifests\Microsoft-Windows-RasServer-MigPlugin\RasMigPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7f.[gle=0x0000007f]

2025-01-08 10:58:13, Info MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: File is present, most likely it does not load on the current OS version

2025-01-08 10:58:13, Error [0x080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007f.[gle=0x0000007f]

2025-01-08 10:58:13, Info MIG MigHost: CMigPluginSurrogate::LoadDllServer finished: Result=[0x8007007f].

2025-01-08 10:58:13, Info MIG MigHost: Exiting process.

Windows Server Devices and deployment Set up upgrades and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Anonymous
    2025-01-08T18:58:04+00:00

    Hi if you installed third party antivirus then turned it off and also close all the background apps then start the windows server 2025 setup. I hope it will fix your issue.

    0 comments No comments
  2. Anonymous
    2025-01-09T06:27:51+00:00

    Hello,

    Thank you for posting in Microsoft Community forum.

    Based on the description, I understand your question is related to Server 2025.

    Please check if your machine meets the minimum requirements of installing Server 2025:

    1. CPU
    • 1.4 GHz 64-bit processor
    • Compatible with x64 instruction set
    • Support for NX and DEP
    • Support for CMPXCHG16b, LAHF/SAHF, and PrefetchW instructions
    • Support for Second Level Address Translation (EPT or NPT)
    • Support for the SSE4.2 (Streaming SIMD Extensions 4.2) instruction set
    • Support for the POPCNT instruction

    You can utilize Coreinfo, which is a tool included in Windows Sysinternals, to verify the capabilities of your CPU.

    1. RAM
    • 512 MB for Server Core
    • 2 GB for Server with Desktop Experience, 4 GB recommended
    • ECC (Error Correcting Code) type or similar technology for physical host deployments
    1. Storage
    • 32 GB of space
    1. Network
    • An Ethernet adapter that can achieve a throughput of at least 1 gigabit per second
    • Compliant with the PCI Express architecture specification

    A network adapter that supports network debugging (KDNet) is useful, but not a minimum requirement.

    A network adapter that supports the Pre-boot Execution Environment (PXE) is useful, but not a minimum requirement.

    1. There are other hardware requirements to consider depending on your scenario:
    • DVD drive (if you intend to install the operating system from DVD media)

    The following items are only required for certain features:

    • UEFI 2.3.1c-based system and firmware that supports secure boot
    • Trusted Platform Module (TPM)
    • Graphics device and monitor capable of Super VGA (1024 x 768) or higher-resolution
    • Keyboard and Microsoft mouse (or other compatible pointing device)
    • Internet access (fees might apply)

    Have a nice day. 

    Best Regards,

    Molly

    0 comments No comments
  3. Anonymous
    2025-01-09T13:45:53+00:00

    I satisfy the server requirements. I have other servers that upgraded to 2025 no issue that used the same VM template as this server that errors on the upgrade.

    Not sure where to go to get this upgraded.

    0 comments No comments
  4. Anonymous
    2025-01-09T13:46:28+00:00

    AV disabled, but still failing on the upgrade.

    0 comments No comments
  5. Anonymous
    2025-01-16T02:26:16+00:00

    Hello,

    May I know what kind of VM it is? Is it an Azure VM/Hyper-v/VMWare?

    Best regards,

    Molly

    0 comments No comments