Edit

Share via


Error 80244007 when a WSUS client scans for updates

Original product version:   Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Original KB number:   4096317

Summary

When Windows Server Update Services (WSUS) clients scan for updates, they might fail with error [80244007] SyncUpdates_WithRecovery failed. This error occurs when the number of updates to be synchronized exceeds the default maximum number of installed prerequisites that a client can pass to the SyncUpdates method.

This article describes how to identify and resolve this issue by adjusting WSUS server configuration settings.

Symptom

You use WSUS to deploy software updates to computers in your organization. When a WSUS client computer scans for updates on the WSUS server, you see the following error message in the WindowsUpdate.log file on the client computer:

WS error: <detail><ErrorCode>InvalidParameters</ErrorCode><Message>parameters.InstalledNonLeafUpdateIDs</Message><ID>GUID</ID><Method> http://www.microsoft.com/SoftwareDistribution/Server/ClientWebService/SyncUpdates"</Method></detail>"

*FAILED\* [80244007] SyncUpdates_WithRecovery failed

Additionally, the following exception is logged in the SoftwareDistribution.log file on the WSUS server:

ThrowException: actor = http://WSUSServerName:8530/ClientWebService/client.asmxs, ID=GUID, ErrorCode=InvalidParameters, Message=parameters.InstalledNonLeafUpdateIDs, Client=Client_ID

Cause

This issue occurs when the number of updates to be synchronized exceeds the maximum number of installed prerequisites that a WSUS client can pass to SyncUpdates.

Resolution

To fix the issue, follow these steps on the WSUS server:

  1. Open an elevated Command Prompt window, and then go to %programfiles%\Update Services\WebServices\ClientWebService.

  2. Type the following commands, and press Enter after each command:

    takeown /f web.config
    icacls web.config /grant administrator:(F)
    notepad.exe web.config
    
  3. In web.config, locate the following entries, and then update their values as indicated:

    <add key="maxInstalledPrerequisites" value="800"/>
    <add key="maxCachedUpdates" value="44000"/>
    

    This change increases maxInstalledPrerequisites from 400 to 800 and maxCachedUpdates from 22,000 to 44,000.

  4. Save the web.config file.

  5. Run IISReset.