Share via

Product key mismatch between BIOS and HDA.

charles wall 0 Reputation points
2026-06-02T03:19:57.68+00:00

I am a MCP and a technician. I replaced the motherboard on a HP laptop. The Product Key within the BIOS does not match the original product key on the HDA. How do I fix this?

Windows for business | Windows Client for IT Pros | Devices and deployment | Licensing and activation
0 comments No comments

2 answers

Sort by: Most helpful
  1. Brian Huynh 3,045 Reputation points Microsoft External Staff Moderator
    2026-06-02T08:27:51.8733333+00:00

    Hello Charles, thank you for posting in the Microsoft Q&A community.

    When a motherboard is replaced on an OEM device, the OEM Activation 3.0 (OA 3.0) product key stored in the new motherboard's UEFI/BIOS firmware differs from the key originally installed on the Hard Drive Assembly (HDA). Windows activation and setup prioritize the embedded firmware key. Because the hardware identifier has changed, Windows detects a mismatch between the Software Licensing store on the hard drive and the ACPI MSDM table on the new motherboard, leading to an activation or installation failure.

    Depending on what you are trying to achieve, here are the most effective approaches to resolve:

    Open an elevated Command Prompt or PowerShell (as Administrator) and execute the following command to retrieve the new OA 3.0 key embedded in the BIOS:

    
    (Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
    
    

    Once you retrieve the 25-character product key, install it into the current Windows image using the Software Licensing Management Tool by running:

    
    slmgr.vbs /ipk <Your-25-Character-Product-Key>
    
    

    After successfully installing the key, force the activation to Microsoft's licensing servers by running:

    
    slmgr.vbs /ato
    
    

    I will follow up on this thread to ensure that you regain access to your licenses. If this helps, please consider clicking "Accept answers" to help others with the same issues.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-06-02T03:20:13.5133333+00:00

    The mismatch occurs because the OA 3.0 OEM product key is stored in the firmware (BIOS/UEFI) of the new HP motherboard and no longer matches the Windows image or the original key on the hard drive. Windows Setup and activation use the firmware key in a defined priority order, so a mismatch causes installation or activation issues.

    To fix it, use one of these approaches depending on the scenario:

    1. Align the installed Windows edition with the firmware key
    • Install or reinstall the edition of Windows that matches the OEM key injected into the new motherboard firmware.
    • During Windows Setup, do not override the key; let Setup use the OA 3.0 key from BIOS. This avoids the “product key does not match any of the Windows images” error.
    1. Override the firmware key with the correct key for the image If the goal is to keep the existing Windows edition/image on the hard drive:
    • Provide the correct product key for that image via one of these:
      • Unattend file (answer file)
      • EI.cfg
      • PID.txt
    • Windows Setup uses keys in this order:
      1. Answer file (Unattend, EI.cfg, PID.txt)
      2. OA 3.0 product key in BIOS/firmware
      3. Product key entry screen
    • By specifying the correct key in EI.cfg or PID.txt (or via an Unattend file), Setup will use that key instead of the BIOS key and match it to the existing image.
    1. Correct the firmware key (OEM/OA 3.0 scenario) If the motherboard’s OA 3.0 key itself is wrong for the edition that should be on the device (for example, wrong edition injected by OEM tooling):
    • Use the OA 3.0 tool to inject the correct edition key into the firmware, or have the OEM reflash the correct key.
    • Error 0xC00000A6 indicates “the edition of the injected product key does not match the edition of Windows”; the resolution is to ensure the correct product key for the edition is injected into firmware, or that the correct Windows edition is installed.

    In practice for a replaced HP motherboard:

    • If using OEM media and the new board’s OA 3.0 key is valid, install the matching edition so the firmware key and image align.
    • If preserving the original installation on the drive, override the firmware key with the original product key via EI.cfg/PID.txt or an Unattend file so Setup/activation uses the HDA key instead of the BIOS key.
    • If the firmware key is clearly wrong for this device, coordinate with HP or the OEM channel to inject the correct OA 3.0 key into the new board.

    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.