Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
Is there any module can manipulate Windows XP VPN connection?
auto-connect,auto-reconnect, etc..
thanks.
  • Comment on Any module to manipulate Windows XP VPN ?

Replies are listed 'Best First'.
Re: Any module to manipulate Windows XP VPN ?
by adamcrussell (Hermit) on Nov 10, 2011 at 21:44 UTC
    As far as the configuration I believe this can be done by directly editing the registry with Win32::Registry or a similar module for accessing the registry. Start with these keys:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections
    and
    HKEY_CURRENT_USER\RemoteAccess\Profile\
    There may likely be more registry keys that need modification before this works. I would try these out and maybe followup with a more Windows centric support forum to find out more about additional keys.
    The connection itself can be manipulated using Win32::RASE.
    <jc> Why do people persist in asking me stupid questions?
    <Petruchio> <insert mutually recursive response>
    --an exchange from #perlmonks on irc.slashnet.org(2 March 2009 1345 EST)