I have a windows service that automatically connect to different vpn-servers before traffic flow through the tunnel. The problem is that no one is logged in to the machine at the time the VPN-client is making the connection, which results in difficulties to interact with the different windows that the client presents to a normal user, like the banner dialog. When the remote VPN-server forces a banner dialog onto the user I can't figure out a way to either disable it or programmatically click the "ok" button. I have tried different approaches where I start the VPN-client in a users profile/session but the Cisco VPN-client seems to be immune to user interactions until an actual user logs in, then my automatic script can interact with the client (It works with other applications without having an actual user logged in).
Is it possible to use some kind of low level API/library to connect to VPN-servers or configure the client to ignore/don't show banner dialogs?