July 07-2024 Updates Break Remote Desktop Gateway Servers

Martin 65 Reputation points
2024-07-16T11:35:31.4233333+00:00

We are seeing the issue on 2 of our four RDS Gateways (running 2022 STD).

Faulting application name: svchost.exe_TSGateway,
version: 10.0.20348.2520,
time stamp: 0xf862c7cb
Faulting module name: aaedge.dll,
version: 10.0.20348.2582,
time stamp: 0x78ded40f
Exception code: 0xc0000005
Fault offset: 0x000000000006613c
Faulting process id: 0x273c
Faulting application start time: 0x01dad77010a2bee1
Faulting application path: C:WINDOWS\system32\svchost.exe
Faulting module path: c:windows\system32\aaedge.dll
Report Id: d4502b05-b974-4660-bc13-5f2da108f403
Faulting package full name:
Faulting package-relative application ID:

and in TerminalServices-Gateway log:
The following exception code "3221225477" occured in the RD Gateway server. The RD Gateway will be restarted. No user action is required.

The results of these crashes are that all users connected via the affected gateway are immediately disconnected and must reconnect. Obviously very disruptive when its happening every 30 or so minutes!

Remove of the CU immediately "cures" the issue.

Anyone else seeing issues? Anyone managed to raise a case with PSS / get any feedback from Microsoft? Multiple reports of this starting to come out the woodwork on various forums.

Oh whilst I remember, why on earth did Microsoft kill off old technet forums, they were brilliant, compared to this garbage (progress right?)

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,509 questions
{count} votes

6 answers

Sort by: Most helpful
  1. Kristofer Layman 1 Reputation point
    2024-08-21T22:46:18.68+00:00

    The port 3388 Windows firewall blocks didnt change anything, still crashes when a user disconnects. I didnt try disabling the RPC protocol as Antonio Urban suggested so I am not sure if that would work for me. However, the non-public patch that I found on Reddit for Server 2019 did work.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.