Receiving a RemoteApp Disconnected upon connection

Receiving a RemoteApp Disconnected upon connection

Problem:


When launching a RemoteApp the following error immediately pops up.



Reason: 

This error can be caused by the remote environment not being available. However, if it is happening only on one workstation, knowing that the service is in fact available, then the problem may be related to the local security of the workstation trying to connect. 

Resolution:

Using gpedit.msc: for Windows Pro/Enterprise Editions

There are 2 resolutions for this: 
  1. If the workstation is part of a domain, inheriting Group Policies from that domain, then the change may need to be made by an Administrator. 
  2. If the workstation is not part of a domain, that change can be made locally on the workstation. 
In either above cases, the following change would need to happen:
  • Open gpedit.msc (Start -> Run.. type gpedit.msc). On a domain changing the GPO connected to the workstation is the equivalent action.
  • Navigate to the following:
    Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options
  • Change the value of the following key: Network Security: LAN Manager authentication level
    to: "Send NTLMV2 reponse only" 
If this was done on the local workstation, no reboot is required, simply re-attempt the connection. If it was made on the domain level, the Group Policies need to be updated. (gpupdate /force) 

Using Regedit.exe: for Windows Home Edition

Important

Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. These problems might require that you reinstall the operating system. gotomyerp cannot guarantee that these problems can be solved. Modify the registry at your own risk. Before you modify it, back up the registry for restoration in case problems occur.

For information about how to edit the registry, see the "Changing Keys And Values" Help topic in Registry Editor. 
  1. Go to start > run
  2. Type: regedit
  3. Navigate to the following key: HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Lsa
  4. Modify the following key: "LmCompatibilityLevel" by double clicking on it, then change the value to 3
    1. If that key does not exist:
      1. right-click in the right pane, then select New > DWORD (32-bit value)
      2. Type in: LmCompatibilityLevel
      3. Double-click on the new value, and set it to 3 (Hexadecimal)