Adding VPN Connections through a Script

Discussion in 'OT Technology' started by whitshak, Jun 23, 2006.

  1. whitshak

    whitshak New Member

    Joined:
    Nov 12, 2005
    Messages:
    48
    Likes Received:
    0
    Location:
    Melbourne, Victoria - Australia
    Does anyone know of a way to add an entire VPN connection to a Windows 2k/XP PC through a batch script? (using a MS command-line tool if available, or 3rd party command-line tool). netsh does the job of configuring IP settings for existing adapters/connections, but I am unsure of how to add the connection through script.

    This is what I want to achieve:
    • Add VPN Connection
    • Configure any specific connection info (IPs/DNS/WINS etc)
    • Set any security settings
    • etc.
     
  2. 5Gen_Prelude

    5Gen_Prelude There might not be an "I" in the word "Team", but

    Joined:
    Mar 14, 2000
    Messages:
    14,519
    Likes Received:
    1
    Location:
    Vancouver, BC, CANADA
    You can deploy your corporate VPN connection through Group Policies. MS has the instructions on their site. It's basically a package that can be distributed thru email, group policies, etc...
     
  3. couchlock

    couchlock OT Supporter

    Joined:
    Apr 8, 2002
    Messages:
    40,833
    Likes Received:
    309
    Location:
    The Highway
  4. couchlock

    couchlock OT Supporter

    Joined:
    Apr 8, 2002
    Messages:
    40,833
    Likes Received:
    309
    Location:
    The Highway

Share This Page