Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Problem with RASPHONE command for connecting to VPNs

15 Mar 2014   #1

Windows 7 Ultimate
Problem with RASPHONE command for connecting to VPNs

I have a VPN Connection ( pbk file ) with multiple connection saved in it ( a to f ) .
I have to write a command for a batch file to automate the connecting process so I wanna connect to connection "a" > if it fails try next one ELSE exit cmd !
but when it faces the redial dialog box it will stop the command until I close that box !
I tried RASDIAL but the result is this error :
Remote Access error 691 - The remote connection was denied because the user name and password combination you provided is not recognized, or the selected authentication protocol is not permitted on the remote access server .
My VPN connection is PPTP and the encryption is off .
this is my batch file codes :
@echo off rasphone -d a -f e:\vpn.pbk >nul || ( rasphone -d b -f e:\vpn.pbk ) exit 0

My System SpecsSystem Spec


 Problem with RASPHONE command for connecting to VPNs

Thread Tools

Similar help and support threads for2: Problem with RASPHONE command for connecting to VPNs
Thread Forum
Solved Problem connecting to NAS Network & Sharing
YM problem: there was a problem sending the command to the program Browsers & Mail
connecting problem Network & Sharing
vpns and windows 7 Gaming
TV connecting problem... Graphic Cards

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:57 PM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33