Quantcast
Channel: Remote Desktop Services (Terminal Services) forum
Viewing all articles
Browse latest Browse all 1106

Using RDG with Azure NPS Extension and Remote Desktop Connection Manager Freezes

$
0
0

In my environment I have an on-premise Remote Desktop Gateway that is configured to use Azure for MFA.  The configuration for this follows the steps outlined in the following article: Integrate your Remote Desktop Gateway infrastructure using the Network Policy Server (NPS) extension and Azure AD

The issue I experience appears to be limited to the following scenario.

I use Remote Desktop Connection Manager that is configured to use the RDG.  I connect to a Windows server and successfully negotiate the second factor of authentication.  So far so good.  The problem is when performing a Log Off or Disconnect from a Windows server, the Remote Desktop Connection Manager consistently freezes and is unresponsive for approximately 30 seconds.

This problem does not appear to affect RDP sessions which use the Remote Desktop Client (therefore still using the RDG) although the experience isn't necessarily the same.

My environment consists of the following 2 servers:

  • Server 1 - Windows Server 2019 with both Remote Desktop Gateway with NPS Server Roles
  • Server 2 - Windows Server 2019 with NPS Server Role and the Azure NPS Extension installed

The version of Remote desktop Connection Manager is "RDCMan v2.7 build 1406.0" and I am connecting from a Windows 10 Device with Build 1803.

UPDATE 1:

On the Windows 10 (1803) device, when the RDCM becomes responsive again, the following errors are logged in the Remote Desktop Services eventlog...

Level	Date and Time	Source	Event ID	Task Category
Error	10/01/2020 16:16:18	Microsoft-Windows-TerminalServices-ClientActiveXCore	1033	General	Component name:CheckInternetConnectionTask, :: 'Connection-to-server is alive. Server checked: https://externaladdresshere' in CheckInternetConnectionTask::ExecuteTask at 3639 err=[0x0], Error code:0x0
Error	10/01/2020 16:16:18	Microsoft-Windows-TerminalServices-ClientActiveXCore	1033	General	Component name:CheckInternetConnectionTask, :: 'Internet-connection is not alive. RdpX_InternetCheckConnection(http://www.microsoft.com) failed' in CheckInternetConnectionTask::ExecuteTask at 3620 err=[0xffffffff], Error code:0xFFFFFFFF
Error	10/01/2020 16:15:57	Microsoft-Windows-TerminalServices-ClientActiveXCore	1033	General	Component name:CAATunnel, :: 'Cleaning up CAATunnel' in CAATunnel::~CAATunnel at 121 err=[0x80004005], Error code:0x80004005

UPDATE 2:

I have now reproduced the issue when  connecting from a Windows 10 Build 1909 device.

Any help appreciated.  Thanks









Viewing all articles
Browse latest Browse all 1106

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>