Deploying VPN Connections by Using Windows Powershell and Group Policy

Describes using a PowerShell script to create RAS connections on a client computer.
  • Details

    Date Published:



    File name:
    File size:

    Deploying VPN Connections by Using Windows Powershell and Group

    195 KB

      This article describes how to use Group Policy, Powershell and the Remote Access Service (RAS) application programming interfaces (APIs) to configure and deploy VPN connection settings to client computers ready for use by users. The solution also describes how the Task Scheduler service can be used to configure scripts or programs that are run whenever a VPN connection is made to the VPN server. The advantage of this solution is that it is not platform specific, and can be used on all of the currently supported versions of Windows.
  • System Requirements

    Supported Operating System

    Windows 7, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP

      Microsoft Word, or Microsoft Word Viewer ( and the Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats (
  • Install Instructions

      1. To start the download, click the Download button, and then do one of the following:
        • To start the download immediately, click Open.
        • To copy the download to your computer for viewing at a later time, click Save.
        • To cancel the download, click Cancel.

Popular downloads

Free PC updates

  • Security patches
  • Software updates
  • Service packs
  • Hardware drivers
Run Microsoft Update