Cannot open mstsc.exe as Remote Application

|
  • 834
  • 7

Issue Description

The remote application resource mstsc remote desktop resource was released, but an error was reported when it opened, and the server rejected

Error/Warning Information

The validity is 'Yes' when added. After failed to open the remote app (mstsc.exe) the vailidity become 'No'.

Handling Process

1.Due to some circumstances, the RDP protocol needs to be used, so it is mandatory to change the server protocol to RDP protocol.
2.Create a registry key named ForceUseRdp and type REG_DWORD under the registry HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sangfor\SSL\SRAPServer\SRAPSrv, the value is "1" and restart the agent service after modification.

3.After the modification is completed, it is found that it still cannot be solved.
4. Then it was found that mstsc needs to be deleted in the registry to release mstsc.
5.Enter regedit in the remote application server [Start]-[Run] to open the registry, find mstsc.exe under the HKEY_LOCAL_MACHINE\SOFTWARE\Sangfor\SSL\RemoteAppServer\RemoteAppApiHook\NotAllowProList node, and right-click mstsc.exe [Delete].
6.Restart the agent service after modification.

Root Cause

Change the server protocol to RDP protocol.

Solution

When publishing the remote application resource mstsc.exe, you need to delete mstsc.exe in the registry to access successfully. In some cases, if you cannot access, you can configure the remote desktop to use the RDP protocol in the group policy.

Suggestions

Note: It is recommended to create a backup of the registry if you are not familiar with it.
Faisal Posted 18 Oct 2020 14:52
  
Thank you very much for the information ...
Faisal Posted 05 Nov 2020 08:13
  
Nice article ...
Faisal Posted 02 Dec 2020 12:22
  
Great Info
Ellechar Lv4Posted 11 Jan 2021 09:47
  
Very Nice Information
Faisal Posted 03 Mar 2021 09:16
  
Very informative …
Faisal Posted 20 May 2021 06:18
  
Nice guidance ...
Raza Islam Lv3Posted 17 Aug 2022 13:06
  
Very informative.

I want to write a case
Doc ID: 3968
Author: Sangfor_Siva
Updated: 2020-09-28 17:57
Version: