I’ve finally got UltraVNC working properly with a computer connected through DirectAccess. Here’s how a very brief description of how its working.
First I deploy UltraVNC 18.104.22.168 through a group policy shutdown script.
This script uninstalls previous versions, installs the latest version, copies the ultravnc.ini for standard settings, an ACL file for Active Directory group integration, and then overwrites winvnc.exe with the IPv6 version provided by the creator. Then it deletes the desktop icons and starts the service.
The important part is that IPv6 executable, because otherwise the traffic will not pass through to the DirectAccess client.
The other key note is that to make a connection, it needs to be a Reverse VNC connection; initiated from the server (user) side.
First, the Technician needs to start a VNCViewer listening session. The easiest way is to create a shortcut with this command target:
"c:\program files\uvnc bvba\UltraVNC\vncviewer.exe" -listen -dsmplugin SecureVNCPlugin64.dsm
This will place an icon in your task tray, and prepare your computer for receiving the request.
We deploy a shortcut to all workstations in the Start Menu that runs this command:
"c:\program files\uvnc bvba\UltraVNC\winvnc.exe" -connect
When clicking on the shortcut, the user will be presented with a window, which they can enter the Technician’s workstation name to connect.
In this method, there is no authentication needed because it was initiated by the server.