Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
    
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

1 Answer 1

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.

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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