How to Enable Microsoft Remote Assistance on VDI?
Before attempting to enable MSRA, do the following:
-
Make sure that there is network connectivity between the system from which the Shadow user session command is issued (as a Remote Control Action), and the Windows virtual desktop on which that command should run;
-
Ensure that the following ports are opened on the firewall:
-
TCP Port 3389 (Remote Assistance Session)
-
TCP Port 135 (RPC Endpoint Mapper)
-
UDP Port 3389 - Session Optimization
-
TCP Ports 49152 to 65535 - Dynamic RPC Ports
-
TCP 445 - SMB (Optional)
-
-
Once the ports are opened, validate connectivity to the ports by running the following command at the PowerShell prompt of the remote system from which the Shadow user session command is issued as a Remote Control Action:.
Test-NetConnection <hostname-or-IP-of-virtual-desktop> -Port <port>
For instance, to check connectivity to the TCP port 3389 of the target virtual desktop, WVD01, the command you should run is as follows:
Test-NetConnection WVD01 -Port 3389
Once the aforesaid requirements are fulfilled, proceed to enable MSRA. For that, follow the steps discussed hereunder:
-
Login to the target Windows virtual desktop.
-
Type sysdm.cpl in the Search text area. When the corresponding Control panel item appears in the Search results, click on it (see Figure 328).
-
The System Properties window (see Figure 329) will then appear. Click on the Allow Remote Assistance connections to the computer check box to enable that option.
-
Finally, click the Apply and OK buttons in Figure 329 to save the changes.
-
Now, proceed to check if MSRA is functioning correctly. For that, do the following:
-
First, login to the system from which the Shadow user session command will be executed as a Remote Control Action.
-
From the command prompt, run the following command as an Administrator, so as to launch MSRA:
msra.exe /offerRA <Hostname_or_IPAddress_of_Windows-Desktop>
For instance, if you want to shadow a user session to the Windows virtual desktop, WVD01, then issue the following command:
msra.exe /offerRA WVD01
-
If this command runs successfully, you can conclude that MSRA has been properly enabled.
-