Remote Desktop Gateway frequent disconnects after KB5040430

Anonymous
2024-07-11T14:39:08+00:00

After installing KB5040430, we are seeing issues on the Server 2019 Remote Desktop Gateway on RDS.

All users get disconnected approximately every 30-60 minutes, and the following is logged in the Application log on the RD Gateway:

Faulting application name: svchost.exe_TSGateway, version: 10.0.17763.3346, time stamp: 0xb6a0daab

Faulting module name: aaedge.dll, version: 10.0.17763.6054, time stamp: 0xce1c5805

Exception code: 0xc0000005

Fault offset: 0x000000000005abe2

Faulting process id: 0x1db0

Faulting application start time: 0x01dad38ae65f65ae

Faulting application path: C:\Windows\system32\svchost.exe

Faulting module path: c:\windows\system32\aaedge.dll

Report Id: bbb10a26-fc25-4bba-9ed8-45c2eff5f5ba

Faulting package full name: 

Faulting package-relative application ID: 

The system was operating normally before the Windows Update.

What steps can be taken to resolve this issue please?

Windows for business | Windows Server | Performance | System performance

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

48 answers

Sort by: Most helpful
  1. Anonymous
    2024-09-13T12:36:27+00:00

    The RDGW problem is now listed under “known issues” in the KB article. So now officially not fixed.

    https://support.microsoft.com/en-us/topic/september-10-2024-kb5042881-os-build-20348-2700-5b548143-9613-4e5a-9454-8ed9be8b2bd2

    In the German article it is still under “Improvements”.

    KB5040437 July patch states: This issue is addressed in KB5042881

    Curious

    (Windows Server 2022)

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-09-12T14:59:34+00:00

    @aw.windowsnutzer What OS version are you seeing the issue with?

    I have Windows Server 2022, the only change is that the crash no longer occurs regularly every 30-40 minutes, but sometimes only after 90 minutes.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-09-12T13:39:38+00:00

    Hello,

    Not fixed for me on a Windows Server 2019 :

    the service crashes and restarts alone, the period between crashes is no longer stable but the problem is still present after update and restart of the server

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-07-26T10:55:19+00:00

    This is now listed as a Known Issue in each relevant KB article:

    Windows Server 2022 Link: KB5040437
    Windows Server 2019 Link: KB5040430
    Windows Server 2016 Link: KB5040434

    The Known Issue provides a couple of workaround options as well as the info:

     ***Next steps****: We are working on a resolution and will provide an update in an upcoming release.*
    

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2024-07-15T16:59:16+00:00

    Just incase it helps anyone else, 2016 servers are affected by a very similar update under KB5040434. Uninstall of the update resolves the issue.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments