Having problem implementing Windows 10 ESU licensing

Anthony Fajardo 0 Reputation points
2025-10-08T18:44:17.7166667+00:00

Hello,

I am running a batch file (with elevated privileges) to activate Windows Extended Security Updates (ESU) to get an additional year of support. Below are the command and comments (not the actual batch file):

slmgr.vbs /ipk aaaaa-bbbbb-ccccc-ddddd-eeeee

slmgr.vbs /ato f520e45e-7413-4a34-a497-d2765967d094

slmgr.vbs /dlv f520e45e-7413-4a34-a497-d2765967d094

slmgr.vbs /dlv

Line 1 - New License Key - Will show Installed Product Key successfully (What is shown is not a valid key)

Line 2 - Activates Key - Will show Client-ESU-Year1 add-on Product activated successfully.

Line 3 - Shows Client-ESU-Year1 add-on License Status (should show Licensed)

Line 4 - Shows Windows License AND ESU License Status (both should show License Status: Licensed (with different Partial Product Keys)

I'm presently at a 50% success rate - MS Posted-success.jpgWin10 ESU fail.jpg

I ran the WMI commands to fix - they show no problems.

Your assistance would be greatly appreciated. Thanks.

Windows for business | Windows Client for IT Pros | Devices and deployment | Install Windows updates, features, or roles
{count} votes

5 answers

Sort by: Most helpful
  1. Domic Vo 7,830 Reputation points Independent Advisor
    2025-10-08T19:31:19.6033333+00:00

    Dear Anthony,

    Based on your description, it appears that the activation process is partially successful, with only some of the ESU components showing as licensed. Here are a few steps we recommend to help resolve the issue:

    1. Verify the ESU Key Format and Eligibility Ensure that the ESU key used in slmgr.vbs /ipk is valid and corresponds to the correct edition of Windows. Invalid or mismatched keys may result in partial activation.
    2. Confirm System Requirements ESU activation requires that your system meets specific prerequisites, including installation of the latest servicing stack update (SSU) and cumulative update. Please verify that these updates are installed.
    3. Check Activation Status with Full Output Run the following command to capture detailed license status:slmgr.vbs /dlv This will display both the Windows and ESU license states. Please review the output for any error codes or mismatches.
    4. Review Activation Logs You may also check the Event Viewer under Applications and Services Logs > Microsoft > Windows > Security-SPP for any activation-related errors.
    5. Image Review If possible, please share the screenshots (e.g., MS Posted-success.jpg, Win10 ESU fail.jpg) to help us better understand the discrepancy.

    If this guidance proves helpful, feel free to click “Accept Answer” so we know we’re heading in the right direction 😊. And of course, I’m here if you need further clarification or support. T&B, Domic

    0 comments No comments

  2. Anthony Fajardo 0 Reputation points
    2025-10-20T18:29:51.2666667+00:00

    Hi Anthony M,

    I got it fixed - Apparently there were problems with Win10 images on the machines I worked on.

    Please see the attached.

    Rename the txt file to cmd.

    I ran this as the actual Administrator of each affected user's machine.

    It works - be careful when inserting your Win10 ESU key near the top of the file, and only this needs to be replaced - nothing else, and remove { and }.

    Your ESU key should look like AAAAA-BBBB-CCCCC-DDDDD-EEEEE" - Please don't forget the " to close that line of code.

    Good Luck.

    postthis.txt


  3. Anthony Fajardo 0 Reputation points
    2025-10-20T18:58:23.75+00:00

    Anthony M,

    This is the error that necessitated the script file:

    User's image

    Please ensure of this - otherwise it could explain the problem you're having:

    Current Edition : Professional Current Build : 19045.5011

    That’s the edition your ESU key must match.


  4. Anthony Fajardo 0 Reputation points
    2025-10-20T19:47:34.2466667+00:00

    Hi ,

    If there are no errors try this- Rename from .txt to .bat and run as Administrator.

    Also, my key is a MAK license - if yours isn't that could be an issue.

    Hope this works for you.

    AddThe ESU.txt


  5. Anthony Fajardo 0 Reputation points
    2025-10-20T19:57:48.06+00:00

    A Followup - please verify this:

    user says his build is 19045.6456 and that he's getting a message "This version of Windows has reached end of support"

    ChatGPT said:

    Excellent follow-up — and you’re spot-on to ask that, because that specific situation (build 19045.6456 + “This version of Windows has reached end of support”) adds an extra wrinkle.

    Let’s unpack this carefully — because the difference between “license problem” and “end-of-support lockout” determines whether that repair sequence will work on its own or not.


    🧩 What Build 19045.6456 Means

    Build 19045.6456 = Windows 10 version 22H2, cumulative update from around October 2025 (KB5058976 or similar). That’s the final feature branch of Windows 10 — Microsoft ended mainstream support on October 14, 2025.

    So when the system says:

    “This version of Windows has reached end of support”

    …it’s not saying your license expired — it’s saying you’ve hit the lifecycle cutoff for standard updates. You’re now in the Extended Security Updates (ESU) era.


    🧱 How This Interacts With Your Activation Fix

    Here’s the key logic:

    Situation What Happens Will the “corruption fix” help?
    Base license valid + you have an ESU key but activation failed ✅ The repair will work — it clears the activation data and allows the ESU key to apply correctly
    Base license valid + you have an ESU key but activation failed ✅ The repair will work — it clears the activation data and allows the ESU key to apply correctly
    Base license valid but you haven’t yet enrolled in ESU ⚠️ The repair will complete fine, but you’ll still get the “End of support” message until ESU key is applied successfully
    Base license invalid or mismatched (e.g., Home OEM vs Pro ESU key) ❌ The repair won’t help; you need to fix the license first
    Machine fully patched but no ESU entitlement installed ❌ “End of support” warning continues no matter what you do, because it’s not a corruption issue but a lifecycle flag

    ✅ What To Do in This Exact Case

    1️⃣ Confirm the Edition

    Run:

    dism /online /get-currentedition
    

    You’ll likely see:

    Current edition : Professional

    If that’s correct, you need the Windows 10 Pro ESU Year 1 add-on key.


    2️⃣ Make Sure You Have All Prerequisite Updates

    Before the ESU key can be accepted, the following must be installed:

    KB5039211 (Servicing Stack)

    KB5039302 (ESU Licensing Prep)

    The latest cumulative update (yours is fine at 19045.6456)

    You can check what’s installed:

    wmic qfe list brief /format:table
    

    If those KBs are missing, install them manually first.


    3️⃣ Then Run the Activation Repair Sequence

    Yes — you can safely run the repair you described earlier (stop sppsvc, rename tokens.dat, re-activate, reapply ESU key). That will rebuild the activation store, then allow the ESU add-on key to attach correctly.


    4️⃣ Verify the Add-On Activation

    After applying the ESU key:

    slmgr /dlv
    

    Look for:

    Name: Windows(R) 10, ESU Year 1 Add-on License Status: Licensed

    When that appears, the “end of support” message will go away after reboot.


    5️⃣ If the Message Persists

    It may be cached in mssprxy.dll notifications. Reboot, then run:

    usoclient StartScan
    

    to force a Windows Update sync. Once the ESU entitlement is recognized, Windows Update stops showing the “end of support” alert and begins offering ESU-eligible security updates.

    0 comments No comments

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.