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.

I am trying to find a way to have windows 7 VPN clients connect to the VPN server automatically via Group Policy. I tried using a login script but it looks like the scripts are shared from sysvol and the client can't execute the script because VPN isn't connected.

At the moment the only thing i have that works is to put a batch file in each users startup folder that calls rasdial. But i would much rather have a solution that is manageable from the server itself.

share|improve this question
    
I think this question is a XY Problem. You'd probably be better served to change the title and question to something more like "How to get Windows 7 clients to automatically connect to VPN at startup/login". As it stands, you are forcing the Group Policy issue, when there could be other viable solutions that can be centrally controlled/pushed. –  TheCleaner Dec 31 '13 at 21:25

1 Answer 1

You've got a chicken-and-egg problem, like @TheCleaner said in his comment.

The "always on VPN" solution that Microsoft would be recommending today would be DirectAccess. The functionality provided by DirectAccess causes PCs, effectively, to perform as though they are connected to the private enterprise LAN anywhere that they have Internet connectivity (intermediate firewalls willing).

Because Microsoft has another solution for this problem I think you're unlikely to find a "clean" solution involving the command-line rasdial. Certainly, there is no solution (using only Microsoft software) aside from DirectAccess that is going to get you VPN connectivity during boot to allow all of Group Policy processing to execute on remote machines.

share|improve this answer

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.