iphonogasm Posted August 12, 2011 Posted August 12, 2011 ok so ive done a bit of research on this but nothing really works i found that creating a batch file with cd C:\Windows\System32\ rasdial.exe MY VPN DOMAINNAME\USERNAME PASSWORD might work and schedulling its startup with windows scheduler. however, this is ratch unsafe storing my username and password in a BATCH file and also, when i run the batch file, it doesnt connect. So then i tried, add shortcut to startup folder, unticking boxes etc. but still doesnt connect on startup, is there another option for this What i am aiming for is the vpn to connect on logon then the network drives to connect on logon too. Thanks!! Quote
ICTCity Posted August 12, 2011 Posted August 12, 2011 Hi, there's no way to start a VPN connection automatically. I had the same problem and I can remember that at the end, I moved on a SSH VPN with OpenVPN. Here's what you can do (you already done it) but it explain how to prevent the "no connection". http://htipe.wordpress.com/2010/02/11/connect-to-vpn-before-logging-in-to-windows/ I can remember somebody told me you can add a button on login screen to connect via VPN, but actually I never seen any picture that can prove that. Take a look here: http://social.technet.microsoft.com/Forums/en/w7itpronetworking/thread/13d80451-dbe7-47c2-9437-e0efa16c74bd but nobody answer to the question: "HOW can you do that". Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
iphonogasm Posted August 12, 2011 Author Posted August 12, 2011 thanks, i got it connecting on startup fine with the shortcut in startup, but it doesnt connect intime before it says could not reconnect all network drives?? so i need it to connect to the VPN before it tries to reconnect network drives i dont spose theres a solution to this. Thanks Quote
ICTCity Posted August 12, 2011 Posted August 12, 2011 the only way to do this is to create a batch file with: net use P: \\myserver\mydisk /persistent:yes Change the letter according your settings. This will re-map your drive... Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.