How can i make a Windows Server 2008 RC2 server, auto connect to a vpn when it boots?

link|improve this question

67% accept rate
It would help if you could be more specific in your question. What is the VPN client used (Microsoft built-in, Cisco, etc.)? Are you connecting the server in a site-to-site scenerio (where you need routing through VPN) or is the Server 2008 R2 just a client endpoint. – Bret Fisher Mar 2 '11 at 23:42
feedback

1 Answer

Create a batch file/vbscript that automates a standardized VPN connection with given credentials. You can have the task run at boot so it auto starts.

If you have two factor authentication, it may be much trickier (ie: photo grid card, key chain dongle). If its the photo grid you could also code that into the batch file as static variables.

link|improve this answer
What shale i write in this batch file? it is a normal VPN with just a username and password – DoomStone Mar 5 '11 at 0:09
Honestly it depends on what VPN client your using, like the comment above, you should specify what it is you are actually using. – Split71 Mar 7 '11 at 12:54
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.