Microsoft Remote Desktop Mac Detecting Network Quality

263 views
Skip to first unread message

Eddie Listner

unread,
Jun 30, 2024, 8:44:57 AM6/30/24
to epunecmo

I'm having a problem with remote desktop getting stuck on the "Estimating connection quality" stage, but what's strange is that this is only affecting Windows 11 PCs within my organisation. Has anyone experienced this problem specifically with Windows 11 whilst seemingly not affecting Windows 10 machines at all? So far, I've established that using a WiFi connection on 2.4Ghz, 5Ghz, or a LAN cable makes no difference. I appreciate any help on this matter.

Same problem but when I take a fresh Windows 11 machine it works. But not on the Windows 11 machine that the RDP had worked before. Have tho Windows 11 computers at work now that cant connect o our servers Windows Server 2012.
Same updates on both but the diffrence is that the machine that works has a fresh setup works correctly. I you press stpoo on the "Estimating connection Quality" you can se that RDP software has gon stuck and you need to X it down. So somthing is wrong since some update on windows 11 or Windows 2012 Server

Same problem here; Windows Home 11 (22H2) using MSTSC version 10.0.22621 unable to connect to RDS running on Server 2019 via RDWGateway running on Server 2019 remotely
When on local network connecting via the RDWGateway the connection works flawlessly.
Cleaned RDclient bitmap cache & cleaned registry under: HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default
This solves the problem once.
Next logon the client hangs again on estimating connection quality...

The other option, mentioned below, of setting HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\RDGClientTransport to 1 threw an "Your conputer can't connect to the remote computer because a security package occurred in the transport layer. Retry the connection or contact your network administrator for assistance" error. So I set it back to 0 and use this fix and we are all good.

Thank you! I couldn't log in at all today, I tried everything that would come to mind then I decided to Google it and saw these answers. I tried this one since I know updates are usually important. I thought I didn't have an update since the laptop usually tells me...but I did, I had 2 updates.. ran both updates...restarted.. and the remote desktop worked right away.

The new Microsoft Teams 2.1 is now generally available for VDA. This Microsoft Teams version is compatible with Citrix Microsoft Teams Optimization using WebRTC (VDI 1.0). This requires a new registry configuration setting in the VDA to enable the new Microsoft Teams to access the Citrix virtual channel.To enable Microsoft Teams 2.1 optimization, configure the following registry key in the VDA:

Citrix delivers optimization for desktop-based Microsoft Teams using Citrix Virtual Apps and Desktops and Citrix Workspace app. By default, we bundle all the necessary components into the Citrix Workspace app and the Virtual Delivery Agent (VDA).

Our optimization for Microsoft Teams includes VDA-side HDX services and an API to interface with the Microsoft Teams hosted app to receive commands. These components open a control virtual channel (CTXMTOP) to the Citrix Workspace app-side media engine. The endpoint decodes and provides the multimedia locally, moving the Citrix Workspace app window back into the hosted Microsoft Teams app.

We recommend that you follow the Microsoft Teams machine-wide installation guidelines. Avoid using the .exe installer that installs Microsoft Teams in AppData. Instead, install in C:\Program Files (x86)\Microsoft\Teams by using the ALLUSER=1 flag from the command line.

This example also uses the ALLUSERS=1 parameter. When you set this parameter, the Microsoft Teams Machine-Wide Installer appears in Programs and Features in the Control Panel. Also, in Apps & features in Windows Settings for all users of the computer. All users can then uninstall Microsoft Teams if they have administrator credentials.

Suppose you have a Windows 10 dedicated persistent VDI environment. You want the Microsoft Teams application to auto-update and prefer Microsoft Teams to install per-user under Appdata/Local. In this case, use the .exe installer or the MSI without ALLUSER=1.

Citrix recommends installing the VDA before installing Microsoft Teams in the golden image. This installation order is needed for the ALLUSER=1 flag to take effect. If you installed Microsoft Teams in the virtual machine before installing the VDA, uninstall and reinstall Microsoft Teams.

When you roam from a local session to an HDX session and if Microsoft Teams is kept open and running on the background, you must exit and relaunch Microsoft Teams to optimize with HDX correctly.Conversely, if you use Microsoft Teams remotely via an optimized HDX session, disconnect the HDX session and reconnect to the same Windows session locally at the device. When working from the office, you must relaunch Microsoft Teams so it can correctly detect the Remote PC Access state (HDX or local). Because Microsoft Teams can only assess VDI mode at app launch time, and not while it is already running on the background. Without a restart, Microsoft Teams might fail to load features like pop-out Windows, Breakout Rooms, or meeting reactions.

If using Citrix App Layering to manage VDA and Microsoft Teams installations in different layers, you must create a registry key on Windows VDAs before installing Microsoft Teams with the ALLUSER=1 flag from the command line. For more information, see the Optimization for Microsoft Teams with Citrix App Layering section under Multimedia.

The best practice recommendations are based on the use-case scenarios.Using Microsoft Teams with a non-persistent setup requires a profile caching manager for efficient Microsoft Teams runtime data synchronization. With a profile caching manager, the appropriate user-specific information is cached during the user session. For example, the user-specific information includes user data, profile, and settings. Synchronize the data in these two folders:

Exclude the files and directories from the Microsoft Teams caching folder as described in the Microsoft documentation. This action helps you to reduce the user caching size to further optimize your non-persistent setup.

You can disable Microsoft Teams optimization by updating the value of the VDWEBRTC field to Off in the /opt/Citrix/ICAClient/config/module.ini file. The default is VDWEBRTC=On. After the update is completed, restart the Session. (Root permission is required).

The Citrix Viewer app requires access to macOS Security and Privacy preferences for screen sharing to work. Users configure this preference in Apple menu > System preferences > Security & Privacy > Privacy tab > Screen recording and select Citrix Viewer.

This section provides recommendations and guidance to estimate how many users or virtual machines (VMs) can be supported on a single physical host. This is commonly referred to as Citrix Virtual Apps and Desktops Single Server Scalability (SSS). In the context of Citrix Virtual Apps (CVA) or session virtualization, it is also commonly known as user density. The idea is to find out how many users or VMs can be ran on a single piece of hardware running a major hypervisor.

This section includes guidance to estimate SSS. The guidance is high level and might not necessarily be specific to your unique situation or environment. The only way to truly understand Citrix Virtual Apps and Desktops SSS is to use a scalability or load testing tool such as Login VSI. Citrix recommends using this guidance and these simple rules to quickly estimate SSS only. However, Citrix recommends using Login VSI or the load testing tool of your choice to validate results, especially before purchasing hardware or making any financial decisions.

To enable optimization for Microsoft Teams, use the Manage console policy described in the Microsoft Teams redirection policy. This policy is ON by default. In addition to this policy being enabled, HDX checks to verify that the version of the Citrix Workspace app is at least the minimum required version. If you enabled the policy and the Citrix Workspace app version is supported, HKEY_CURRENT_USER\Software\Citrix\HDXMediaStream\MSTeamsRedirSupport is set to 1 automatically on the VDA. Microsoft Teams reads the key to load in VDI mode.

So the network health between the peer and the Microsoft 365 cloud determines the performance of the call. Refer to Microsoft 365 network connectivity principles for detailed guidelines around network planning.

We recommend evaluating your environment to identify any risks and requirements that can influence your overall cloud voice and video deployment.Use the Skype for Business Network Assessment Tool to test if your network is ready for Microsoft Teams. For support information, see Support.

The WebRTC media engine in the Workspace app (HdxRtcEngine.exe) uses the Secure Real-time Transport Protocol (SRTP) for multimedia streams that are offloaded to the client. SRTP provides confidentiality and authentication to RTP. For this feature, symmetric keys (negotiated with DTLS) are used to encrypt media and control messages using the AES encryption cipher.

About performance, encoding is more expensive than decoding for CPU use at the client machine. You can hardcode the maximum encoding resolution in the Citrix Workspace app for Linux and Windows. See Encoder performance estimator and Optimization for Microsoft Teams.

If you configure an explicit proxy server in the VDA and route connections to localhost through a proxy, redirection fails. To configure the proxy correctly, you must select the Bypass proxy servers for local address setting in Internet Options > Connections > LAN Settings > Proxy Servers and bypass 127.0.0.1:9002.

When possible, the HDX WebRTC media engine in the Citrix Workspace app (HdxRtcEngine.exe) tries to establish a direct network Secure Real-time Transport Protocol (SRTP) connection over User Datagram Protocol (UDP) in a peer-to-peer call. If the UDP high ports are blocked, the media engine falls back to TCP/TLS 443.

d3342ee215
Reply all
Reply to author
Forward
0 new messages