You may want to use CMAK. or this search result may help.
How to vpn automaticallyAdd pre-setup VPN auto-connection by CMAK to the
Startup. 2. Create a logon batch with rasdail command to start the VPN
connection. ...
www.howtonetworking.com/VPN/autorasdial1.htm
--
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com
"Juha" <(E-Mail Removed)> wrote in message
news:AEFF5BB1-1D05-4374-80C9-(E-Mail Removed)...
> Hi
>
> I wonder is it possible to start a configured (pointing to a LAN DC
> address,
> including Windows logon Domain and having TCP/IP settings allredy there
> the
> rest of the settings can be defaults) PPTP-VPN connection from a command
> line
> or actually from a script?
>
> I would like to start that script after a IPSec VPN Client has started a
> created the VPN terminated VPN Firewall.
>
> Hopefully this is possible or I'm in trouble.
>
> Any guidance is appreciated.
>
> Thanks,
>
> Juha