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-10-14T06:18:12+00:00

    A recent cumulative update on October 8, 2024—KB5044281 has a fix to this issue. https://support.microsoft.com/en-au/topic/october-8-2024-kb5044281-os-build-20348-2762-e063059c-9122-4324-86e8-4f6f3383a20a

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-08-16T11:08:18+00:00

    Very poor. from Microsoft - again.

    An update has broken the only thing a server was used for - namely as a gateway server. Wasted over a day trying to fix it, not to mention the staff who cannot access their machines. Eventually discovered that it was not a configuration fault or a malicious attack, but an "update" which last time I checked was supposed to improve software.

    No dates for resolution - I wonder how many users have been affected by this?

    Disappointing.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-08-06T14:04:50+00:00

    After going through the painful experience of contacting Microsoft support they still don't have a practical fix for this. The only option they gave me was a client side registry change that isn't feasible with thousands of clients coming in from hundreds of different companies. Crowdstrike makes a huge programming error so Microsoft had to come in a scream hold my beer.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-07-16T16:46:08+00:00

    I have the same issue on Server 2019 and removing the KB5040430 patch stopped it. I believe that for me the service crashed anytime someone disconnected from the gateway since it could work for hours without issue and the crashing was sporadic.

    Was this answer helpful?

    0 comments No comments
  5. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more