2026-06 Cumulative Update for Windows Server 2019 (1809) for x64-based Systems (KB5094123) - Error 0x80070057

Rajan Kumar Singh 0 Reputation points
2026-06-27T16:10:58.6633333+00:00

Azure sync ahent not installing , the updates on windows 2019 server is failing with (2026-06 Cumulative Update for Windows Server 2019 (1809) for x64-based Systems (KB5094123) - Error 0x80070057). Tried DISM or /scannow or everything but unable to install this update and Azure sync agent not getting installed

Windows for business | Windows Server | Devices and deployment | Set up, install, or upgrade
0 comments No comments

3 answers

Sort by: Most helpful
  1. Jubin Soni 160 Reputation points
    2026-06-27T23:15:59.3166667+00:00

    Hi @Rajan Kumar Singh , thanks for posting your issue here.

    The sfc stalling at 41% points to component store corruption, which is why DISM and the KB keep failing too. Try this sequence:

    1. Mount a Windows Server 2019 ISO and run DISM against it directly:
    DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:D:\Sources\install.wim:1 /LimitAccess
    
    1. Reboot, then retry sfc /scannow and KB5094123.

    If it still fails, check C:\Windows\Logs\CBS\CBS.log and search for [SR] cannot repair to identify exactly which files are broken. If the corruption is deep, an in-place upgrade repair using the Server 2019 ISO (running setup.exe without wiping data) will rebuild the component store completely and is usually the fastest way out.

    Please upvote and accept the answer if it helps!

    Was this answer helpful?


  2. Rajan Kumar Singh 0 Reputation points
    2026-06-27T20:02:37.89+00:00

    Yes, this is the Azure File Sync agent. Tried DISM /Online /Cleanup-Image /RestoreHealth , after reboot, also tried sfc /scannow , its getting stuck at 41% . Trying uudating windows server by downloading the KB or from online , get the error ,Windows Server 2019 (1809) for x64-based Systems (KB5094123) - Error 0x80070057). main issue I understand is windows security update is failing, I tried everything, but it's still failing

    Was this answer helpful?

    0 comments No comments

  3. Andrew Taylor - COREZENN 1,225 Reputation points Volunteer Moderator
    2026-06-27T19:01:21.63+00:00

    Hi @Rajan Kumar Singh

    Thank you for reaching out to Microsoft Q&A.

    If by "Azure sync agent" you mean Azure File Sync agent, this behavior is documented by Microsoft.

    Microsoft notes that Azure File Sync can fail with 0x80070057 / 0x80c84111 when required Windows updates are missing. The fix is to make sure the latest cumulative update for Windows Server 2019 is installed before installing/registering the agent.

    Please try this sequence:

    1. Run health repair from elevated Command Prompt:
      • DISM /Online /Cleanup-Image /RestoreHealth
      1. Reboot the server.
      2. Ensure latest servicing/cumulative updates are installed for Server 2019:
        • Use Windows Update, or download from Microsoft Update Catalog.
          • For manual install, verify prerequisites in the KB article and then install.
          1. Reboot again.
          2. Retry Azure File Sync agent installation/registration.

    If it still fails, please share:

    • Whether this is Azure File Sync agent or Microsoft Entra Connect/Cloud Sync agent
    • Exact installer/log error (FileSyncSvc, ServerRegistration.exe, or provisioning agent service name)
    • Output of installed updates check (for example, latest Server 2019 LCU present)

    Official Microsoft sources

    Please 'Upvote' (Thumbs-up) and 'Accept' as answer if the response was helpful. This will be helpful to other community members who face the same issue.

    Best regards,

    Andrew S Taylor

    Was this answer helpful?

    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.