[DISCUSSION] Windows 10 ESU License: All options, Activation, and Troubleshooting

Discussion in 'Windows 10' started by Enthousiast, Sep 11, 2025.

  1. migascalp

    migascalp MDL Addicted

    Sep 18, 2009
    587
    982
    30
    Thank you.
    That works, but I had never had to do this before on a new installation using an updated CD (19045.7807).
     
  2. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    56,609
    133,510
    450
    That happens when problems suddenly arise.

    But that part is updated and fixed in MAS 3.14, which we released earlier this day.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. migascalp

    migascalp MDL Addicted

    Sep 18, 2009
    587
    982
    30
    Exactly, I used MAS 3.14 to activate 19045.7807 as specified in my initial message.
    I wonder what modifications should be made to my installation scripts (if of course they exist) in order to avoid this problem in the future.
     
  4. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    56,609
    133,510
    450
    In other words, the message about not being uptodate or whatever it says in french is what you want gone, that is not solved, afaik that is server side.

    This is my ESU setupcomplete:

    Code:
    @echo off
    fltmc >nul || exit /b
    
    call "%~dp0MAS_AIO.cmd" /HWID /Z-ESU >>"C:\MAS_log.txt"
    
    cd \
    (goto) 2>nul & (if "%~dp0"=="%SystemRoot%\Setup\Scripts\" rd /s /q "%~dp0")
    
    When you use MAS 3.14 it will do the same as 3.13 or older, but with the new settings to not install year 4-5-6..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. migascalp

    migascalp MDL Addicted

    Sep 18, 2009
    587
    982
    30
    Ok thanks.
    Now I understand well.
     
  6. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    56,609
    133,510
    450
    #486 Enthousiast, Nov 11, 2026
    Last edited: Nov 11, 2026
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. billybiro

    billybiro MDL Novice

    Nov 7, 2009
    8
    7
    0
    I can confirm that running the registry script (which clears out the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment hive and re-instates with only the Endpoint and Cache UpToDate entries) has worked to remove the "You're not up to date" and "Your device is missing important security and quality fixes".

    Thanks!
     
  8. migascalp

    migascalp MDL Addicted

    Sep 18, 2009
    587
    982
    30
    #488 migascalp, Nov 11, 2026
    Last edited: Nov 11, 2026
    Thanks for the solution.
    Personally, I was heading way off track. :)

    Edit
    See here
     
  9. AndyMutz

    AndyMutz MDL Senior Member

    Jun 30, 2011
    383
    727
    10
    hmm, this is the first time that HWID does fail on a fresh installation :(
    using the fix licensing option does not fix it.

    upload_2026-11-11_19-3-57.png

    -andy-
     
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    19,035
    102,797
    340
  11. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    56,609
    133,510
    450
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. migascalp

    migascalp MDL Addicted

    Sep 18, 2009
    587
    982
    30
    The solution proposed here does not work for me.
    This may be due to the activation method or one of my silent installation scripts.
    Rather than investigating the root cause, I looked for a workaround.

    Summary:
    Installation of Education edition, build 1945.7807
    MAS 3.14 used for activation
    In SetupComplete.cmd
    Code:
    if  %CurrentBuild% equ 19045 (
        set _ESU=/Z-ESU
        REM How to clear "Your device is missing important security and quality fixes." message
        Reg.exe delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment" /f
        Reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment" /v "Endpoint" /t REG_SZ /d "settings-win.data.microsoft.com" /f
        Reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment\Cache" /v "UpToDateStatus" /t REG_DWORD /d 0 /f
        Reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment\Cache" /v "UpToDateImpact" /t REG_DWORD /d 0 /f
        Reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment\Cache" /v "UpToDateDays" /t REG_DWORD /d 0 /f
    )
    call "%~dp0MAS_AIO.cmd" /Z-Windows %_ESU% >>%SystemDrive%\_%~n0.log
    
    After installation, there were no error messages in Windows Update, and KB5131096 was offered.
    I initiated the update.
    Following installation and a restart, the message "Your device is missing important security and quality fixes" appeared.

    Workaround (which worked for me):

    In SetupComplete.cmd
    Code:
    if  %CurrentBuild% equ 19045 (
        set _ESU=/Z-ESU
        REM How to clear "Your device is missing important security and quality fixes." message
        Reg.exe delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment" /f
        Reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment" /v "Endpoint" /t REG_SZ /d "settings-win.data.microsoft.com" /f
        Reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment\Cache" /v "UpToDateStatus" /t REG_DWORD /d 0 /f
        Reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment\Cache" /v "UpToDateImpact" /t REG_DWORD /d 0 /f
        Reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment\Cache" /v "UpToDateDays" /t REG_DWORD /d 0 /f
    )
    call "%~dp0MAS_AIO.cmd" /Z-Windows %_ESU% >>%SystemDrive%\_%~n0.log
    call "%~dp0WaaS_Reset.cmd" /install >>%SystemDrive%\_%~n0.log
    
    Code:
    <# :
    @echo off
    :: Check for /Help or /? before elevation
    for %%A in (%*) do (
        if /i "%%~A"=="/Help" goto :ShowHelp
        if /i "%%~A"=="-Help" goto :ShowHelp
        if "%%~A"=="/?" goto :ShowHelp
    )
    
    :: Run as Admin with native shell, any path, params, loop guard, minimal i/o, by AveYo
    >nul Reg.exe add hkcu\software\classes\.Admin\shell\runas\command /f /ve /d "cmd /x /d /r set \"f0=%%2\" &call \"%%2\" %%3" &set _= %*
    >nul fltmc || if "%f0%" neq "%~f0" ( cd.>"%tmp%\runas.Admin" &start "%~n0" /high "%tmp%\runas.Admin" "%~f0" "%_:"=""%" &exit /b )
    
    echo.
    echo.
    echo %~n0
    echo.
    echo.
    
    set "TARGET_FILE=%ProgramData%\WaaS_Reset.cmd"
    set "DO_INSTALL=0"
    set "DO_UNINSTALL=0"
    set "TRIGGER_MODE=update"
    
    :: Parse command-line arguments
    for %%A in (%*) do (
        if /i "%%~A"=="/Install" set "DO_INSTALL=1"
        if /i "%%~A"=="/UnInstall" set "DO_UNINSTALL=1"
        if /i "%%~A"=="/logon" set "TRIGGER_MODE=logon"
        if /i "%%~A"=="/update" set "TRIGGER_MODE=update"
    )
    
    :: Handle /UnInstall
    if "%DO_UNINSTALL%"=="1" (
        schtasks /delete /tn "WaaS_Reset" /f >nul 2>&1
        if exist "%TARGET_FILE%" del /f /q "%TARGET_FILE%" >nul 2>&1
        echo Uninstallation completed: Scheduled task and %TARGET_FILE% removed.
        timeout /t 5 /nobreak >nul 2>&1
        goto :eof
    )
    
    :: Handle /Install
    if "%DO_INSTALL%"=="1" (
        if /i "%~f0" neq "%TARGET_FILE%" (
            copy /y "%~f0" "%TARGET_FILE%" >nul
        )
        if /i "%TRIGGER_MODE%"=="logon" (
            schtasks /create /tn "WaaS_Reset" /tr "\"%TARGET_FILE%\"" /sc onlogon /ru "SYSTEM" /rl HIGHEST /f >nul
            echo Installed with ONLOGON trigger.
        ) else (
            schtasks /create /tn "WaaS_Reset" /tr "\"%TARGET_FILE%\"" /sc onevent /ec Setup /mo "*[System[Provider[@Name='Microsoft-Windows-Servicing'] and (EventID=2)]]" /ru "SYSTEM" /rl HIGHEST /f >nul
            echo Installed with POST-REBOOT UPDATE trigger ^(Servicing Event ID 2^).
        )
    )
    
    :: https://forums.mydigitallife.net/threads/discussion-windows-10-esu-license-all-options-activation-and-troubleshooting.89665/page-24#post-1927222
    schtasks.exe /Change /DISABLE /TN "\Microsoft\Windows\Clip\EnableClipESU" 2>nul
    schtasks.exe /Change /DISABLE /TN "\Microsoft\Windows\Clip\ClipESU" 2>nul
    schtasks.exe /Change /DISABLE /TN "\Microsoft\Windows\Clip\ClipEsuConsumer" 2>nul
    schtasks.exe /Change /DISABLE /TN "\Microsoft\Windows\Clip\ClipEsuConsumerProcessPreOrder" 2>nul
    schtasks.exe /Change /DISABLE /TN "\Microsoft\Windows\Clip\ClipEsuConsumerProcessRefund" 2>nul
    schtasks.exe /Change /DISABLE /TN "\Microsoft\Windows\Clip\ClipEsuConsumerProcessECUpdate" 2>nul
    reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\ESU" /v Win10CommercialW365ESUEligible /t REG_DWORD /d 1 /f
    reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\ESU" /v Win10CommercialKeybasedESUEligible /t REG_DWORD /d 3 /f
    
    :: Modify WaaSAssessment registry keys (normal execution)
    REM Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment" /f
    REM Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment" /v "Endpoint" /t REG_SZ /d "settings-win.data.microsoft.com" /f
    REM Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment\Cache" /v "UpToDateStatus" /t REG_DWORD /d "0" /f
    REM Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment\Cache" /v "UpToDateImpact" /t REG_DWORD /d "0" /f
    REM Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment\Cache" /v "UpToDateDays" /t REG_DWORD /d "0" /f
    
    :: Execute PowerShell section (COM evaluation only)
    REM >nul powershell -NoProfile -ExecutionPolicy Bypass -Command "Invoke-Expression ([System.IO.File]::ReadAllText('%~f0'))"
    REM if %errorlevel% equ 0 (
        REM echo Windows Update operation and evaluation completed successfully.
    REM ) else (
        REM echo Windows Update operation and evaluation an error occurred.
    REM )
    
    timeout /t 5 /nobreak >nul 2>&1
    goto :eof
    
    :ShowHelp
    echo.
    echo ============================================================================
    echo  WaaS_Reset.cmd - Windows Update Assessment Cache Reset ^& Evaluation Tool
    echo ============================================================================
    echo.
    echo DESCRIPTION:
    echo   Resets the Windows as a Service ^(WaaS^) assessment registry cache and
    echo   triggers an immediate COM-based OS update assessment.
    echo.
    echo USAGE:
    echo   WaaS_Reset.cmd [Options]
    echo.
    echo OPTIONS:
    echo   ^(No arguments^)   Runs the WaaS reset and evaluation once without installing.
    echo   /Install         Copies the script to %%ProgramData%%\WaaS_Reset.cmd and
    echo                    creates the scheduled task ^(defaults to /update trigger^).
    echo   /update          Used with /Install: triggers the task after a reboot when
    echo                    Windows Servicing finalizes an update ^(Setup Event ID 2^).
    echo   /logon           Used with /Install: triggers the task at every user logon.
    echo   /UnInstall       Removes the scheduled task and deletes the copied script
    echo                    from %%ProgramData%%.
    echo   /Help or /?      Displays this help screen.
    echo.
    echo EXAMPLES:
    echo   WaaS_Reset.cmd
    echo   WaaS_Reset.cmd /Install
    echo   WaaS_Reset.cmd /Install /logon
    echo   WaaS_Reset.cmd /UnInstall
    echo.
    pause
    goto :eof
    #>
    
    $src = @"
    using System;
    using System.Reflection;
    using System.Runtime.InteropServices;
    using System.Runtime.CompilerServices;
    
    namespace WaaSApi
    {
        [ComImport, Guid("2347bbef-1a3b-45a4-902d-3e09c269b45e"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
        public interface IWaaSAssessor
        {
            int GetOSUpdateAssessment(out IntPtr output);
        }
    }
    "@
    
    $WA = Add-Type -TypeDefinition $src -PassThru
    $comObj = [Activator]::CreateInstance([Type]::GetTypeFromCLSID("098ef871-fa9f-46af-8958-c083515d7c9c"))
    $comType = [WaaSApi.IWaaSAssessor]
    $null = $comType.GetMethod("GetOSUpdateAssessment").Invoke($comObj, @($null))
    
     
  13. gabu10

    gabu10 MDL Novice

    Jul 18, 2016
    4
    0
    0
    I tried the scripts mentioned above (in #463) to "reset" before using TSForge in MAS 3.14 version.
    Still, I get 2 times 0x800f0922 error with KB5131096.
     
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    19,035
    102,797
    340
    None of those "scripts" or "MAS 3.14 fix" affect updates installation in any way

    check log files in C:\Windows\Logs\CBS to see why it fails exactly
     
  15. billybiro

    billybiro MDL Novice

    Nov 7, 2009
    8
    7
    0
    Well, it seems I spoke too soon yesterday. Whilst running the registry script yesterday did indeed fix the issue and the "You're not up to date" and "Your device is missing important security and quality fixes" messages disappeared, upon checking Windows Update again today, the messages are back again. :(
     
  16. nicolast

    nicolast MDL Junior Member

    Jan 8, 2020
    50
    28
    0
    Hi,
    Got the same issue.
    Unfortunately, I had 4-6 years ESU enabled with MAS on my computer
    Today I merged WaaS-reset.reg, and ran MAS 3.14 to remove 4-6 years ESU. Updated my computer with the November CU.
    When I restarted my PC, got the same issue as you.
    I found on this very forum another registry edit for HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment

    Code:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment]
    "RESTRICTION"="1"
    "DISABLEASSESSMENT"="1"
    "AssessmentState"=dword:00000001
    "UseSecondarySource"=dword:00000001
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WaaSAssessment\Cache]
    
    You've got to log out or reboot your computer after applying this registry edit.
    Is there any chance, this "tweak" might work and last?
    Looking forward to hearing from the experts!
     
  17. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    8,399
    11,843
    270
    hi brother, very good info thanks a lot :good3:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    56,609
    133,510
    450
    https://forums.mydigitallife.net/th...nd-troubleshooting.89665/page-25#post-1927379

    Why wouldn't it last, it is just cosmetic.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. nicolast

    nicolast MDL Junior Member

    Jan 8, 2020
    50
    28
    0
    Hi Enthousiast
    Yes, I tried your reg fix on another computer too , but "You're not up to date" and "Your device is missing important security and quality fixes" messages are back after updating to the November CU. That's why I'm suggesting this alternative workaround.
     
  20. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    56,609
    133,510
    450
    On what build were you when you removed the "missing importan updates..." message?

    Whe need to keep the messages exact, some are looking similar but are different with different causes en solutions.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...