Symptom: When you try to connect to a VPN using Cisco AnyConnect VPN Client from a machine you're connected to with Remote Desktop, you get an error message saying 'VPN Establishment capability from a Remote Desktop is disabled. A VPN Connection will not be established.'
Workaround: A fairly easy workaround would be to use an alternative connection program (like TeamViewer) while establishing the tunnel. Once connected, you can connect back with Remote Desktop.
In a nutshell, the steps are the following:
- Install TeamViewer Full version in Service Mode
- Reboot the computer or manually start the Service
- Start TeamViewer, note the ID and Password
- Install TeamViewer Full or Portable on your local machine
- Disconnect the RDP Session and Connect via TeamViewer (or vice versa, doesn't matter)
- Connect to AnyConnect
- Disconnect with Teamviewer. Connect back with Remote Desktop.
The steps are detailed below.
1. Your're connected to the machine with Remote Desktop. Now you need to Download and Install
TeamViewer Full Version. The program is free for home use only so use accordingly.
Unfortunately, installation is obligatory, TeamViewer QS won't work once the RDP session is disconnected.
A direct link to TeamViewer:
http://www.teamviewer.com/download/TeamViewer_Setup.exe
Alternately, you can visit
TeamViewer's website and go to the Download page.
Install TeamViewer following the wizard. It's basically a next-next-next procedure, but you do need to install it as a service (choose Yes at the 4th step).
Once installed, start TeamViewer and follow the configuration wizard. You have to set a password but don't need to create a TeamViewer account.
2. Once you finish the wizard, you should see the TeamViewer icon at the System Tray. If there's no icon there, you misconfigured something. Due to a bug in TeamViewer you need to restart the computer (A). You can also try manually start the service (B). If you will not be able to connect with TeamViewer, you still need to reboot the computer.
2. A. To reboot the computer, click on the empty start menu bar to bring it to focus.
Now hit Alt + F4 and choose Restart.
2. B. You can also try to manually start the TeamViewer Service. Go to Start -> Run and type services.msc.
Find the TeamViewer service, right-click and choose Start.
3. Once the machine is rebooted or the service is started open up TeamViewer and note the ID. You will have to use your predefined password and not the randomly generated one (TeamViewer bug).
4. On
your computer you need to
download TeamViewer Full version or the Portable one. I'll go with Portable because it does not require installation. The direct link to the portable version is:
http://www.teamviewer.com/download/TeamViewerPortable.zip but it can also be found on TeamViewer's Download page.
5. Extract and Start TeamViewer and enter the previously noted ID and the predefined password to connect.
Once you're connected with TeamViewer, close the remote desktop session. This step is important because while the RDP session is open, AnyConnect will not let you to connect. (Do not log off, just disconnect the session with the red X).
6. Now connect to the VPN with Cisco AnyConnect.
7. Once you're connected to the VPN Tunnel you can disconnect from TeamViewer and connect back with Remote Desktop.