I thought I would as this tid bit since the section is of the forum looks too empty.
A simple way to auto connect your VPN's to your Registered Servers with rasdial.exe
1: Configure your VPN connection if you have not done so already.
2: Create an new batch script and name it something descriptive.
3: Edit your new batch script and use the following syntax....
rasdial.exe "MYVPNNAME" "USERNAME" "PASSWORD" (no quotes!!!)
4: Save and Exit
5: Create another batch script and name it vpn_disconnect.bat, use this....
6: In VNC Manager go to Tools > Options > Action Scripts > Add
7: Add your vpn_connect.bat and your vpn_disconnect.bat and exit options panel.
8: Right click on the Registered Server you wish to autoconnect to Properties > RDP or VNC Options > Scripts
9: Pre-connect Scripts, Select your vpn_connect.bat
10: Post-disconnect Scripts, Select your vpn_disconnect.bat
11: You should be good to go
Notes: To best of my knowledge you can not used Keys with RASDIAL, you can only use Shared Passwords. Also your passwords are in plain, unencrypted veiw to the world. You may want to place the in a Secured Encrypted Folder.... and lock it down!!!!
Take a look at rasdial.exe /? for more use of the switches. Last but not least.....This is a Quick, Dirty, Simple way to do this, it is what it is.