Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Just wondering if someone can help me with the following.

I want to auto connect to VPN connection on Windows 7 machine when I boot.

Seen that RASDIAL.EXE is referenced: RASDIAL: rasdial entryname [username [password|*]] [/DOMAIN:domain]

Can someone assist me in what I need to do to create this i.e. do I create this in notepad and is there anything else I need to create and what extension should I save this as?

What steps do I need to do next so that this starts on boot in Windwos 7 and is started silently?

Note: since writing the above I have learn't that RASDIAL.EXE leave me open for username/password being discovered and that I should drag the connection into the startup of Windows 7 or create a schedule. Again is this is more advisable then I would appreciate some assistance in doing such a thing.


share|improve this question

You should look into using the new Direct Access feature of Windows 7 and Windows 2008 R2. When configured it'll setup the client machines to automatically connect to the internal network without prompting the user so that AV can update, GPOs can be downloaded, other internal resources can be accessed without the user needing to start the VPN session.

You will need to use Windows 2008 R2 and have IPv6 enabled within your network to make this work.

share|improve this answer
+1 - Worth noting this requires Server 2008 R2 Enterprise, but it really does work very well and is a good step towards a more global IPv6 rollout. – Mark Henderson Oct 24 '10 at 21:56
Updated accordingly. – mrdenny Oct 24 '10 at 21:58

Your Answer


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.