VPN connection before login

GordonLiq
GordonLiq used Ask the Experts™
on
Hi ,
I have create a VPN in windows 2008 named "my VPN".
is there any way to connection this VPN connection before user login ? just like a service?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Are you wanting remote users via a laptop to have a Wi-Fi or NIC load it's drivers and then connect to the VPN and Authenticate prior to the actual authentication/logon on process in to windows?

Ryan

Author

Commented:
yes.

I have a remote server that running windows 2008 and create a vpn to my office ,
I really like it can auto vpn and because that is server , nobody should need log on.
Top Expert 2013

Commented:
If the remote PC/laptop is a member of the domain, at logon there will be a check box allowing "connect using dial-up connection". Selecting this will then give you the option of using the VPN connection. This then completes the VPN connection before logon so that group policy and logon scripts can be applied to the remote user as they would be in the the office, on the same LAN as the server.

If the remote computers are not members of the domain, you may be able to do so tinkering with Microsoft's Srvany and Instsrv. Others claim to have done so but I have never tried. They are designed to allow you to run an application as a service.
http://support.microsoft.com/kb/q137890/
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q152460
http://www.tacktech.com/display.cfm?ttid=197
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Commented:
Are you using the Server OS as a workstation or is it performing some services? If it it is performing services why have it run as a vpn at log on and not just nail it up so tht it is constantly connected and sharing information?

Author

Commented:
I have a dedicated server , host website need VPN to office to send the email.

I have write an service on that server to check the connection and then dial the vpn using rasdial ,

but the problem is the VPN connection that I create is for each user , and so the rasdial does not work without login.
Top Expert 2013

Commented:
RASDial as you have seen, will not allow a connection before logon. The suggestions I made above are the only solutions if using a Windows VPN.

Author

Commented:
that is not acceptable , because it will lost the fast intenet of dedicated server.
Top Expert 2013
Commented:
Sorry. That is how it works.
You would have to configure Ras dial to run as a service using Srvany and Instsrv, allowing the VPN to be started as a service to configure the VPN connection before logon.

Author

Commented:
it maybe truth but not what I want.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial