• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 626
  • Last Modified:

Automated deployment of RDP and VPN links, Server 2008

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.
  • 2
1 Solution
travisryanAuthor Commented:
It doesn't look like this one can be done the way I want it.
travisryanAuthor Commented:
Got info from another site.

Featured Post

Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now