Automated deployment of RDP and VPN links, Server 2008

Posted on 2012-08-21
Last Modified: 2012-09-17
My current network is a mix of XP and Windows 7 machines with a Server 2008 primary domain controller. As it stands now, when we have new laptops come in we need to manually add in two RDP links and a VPN link. Desktops do not get these links.

I'm looking for a way to automate both of these steps. On the RDP links the user will log in with their existing windows username and password. On the VPN (L2TP with a pre-shared key) the user has a seperate password, but still uses the windows username.

In my ideal world both of these items (RDP & VPN) can be set up through group policy on our laptop machines with minimal input from me. If I have to go in and set the password on each VPN connection that's fine, but if there was somewhere in group policy or the user profile I could input their VPN password ahead of time and that information gets rolled into the VPN link that gets created, that would be fantastic.


This is the closest I've come to a link about automating the RDP shortcut creation and it's really just link on creating an .rdp file from a RemoteApp program which I'm pretty sure I don't want:

There's also this EE thread that I couldn't make heads nor tails of:


In the following link the author specifically states an L2TP VPN connection can be automated with a pre-shared key through the MS CMAK tool, but he doesn't get into specifics about how to set this up:

Here's a technet article about how to deploy VPN connections, but 1) I don't see a section where I can specify a pre-shared key and 2) I'm not sure if this can be a script because a lot of our laptop users aren't always connected to the network and certainly don't start up connected to the network.


This is seemingly a huge undertaking compounded by the fact I only know enough on server 2008 to make me dangerous and until this point, usually worked on general networking and Cisco issues.

Any help and/or input is appreciated.
Question by:travisryan

    Accepted Solution

    It doesn't look like this one can be done the way I want it.

    Author Closing Comment

    Got info from another site.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
    The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
    This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
    This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now