Home | Site Map | Cisco How ToNet How To | Wireless |Search | Forums | Services | Donations | Careers | About Us | Contact Us|

VPN Routing in Vista

RRAS, VPN, TS/RDP, Routing and remote Access.

VPN Routing in Vista

Postby danishfk » Mon Jun 29, 2009 6:31 pm

Hi,

I am new to the forum and was wondering if I could get help with a batch file I use in XP to connect to a VPN. This works fine with XP, but I am having issues with Vista. When I get to verifying user name and password it keeps asking me for the user name and password. Here is the batch file:

@echo off
setlocal

set dialup="Pax VPN"

@echo Dialing %dialup%
rasphone -d %dialup%

for /f "usebackq tokens=1,3" %%i in (`route print`) do (
if %%i==172.30.0.0 (
for /l %%k in (16,1,31) do (
@echo Adding route to 172.%%k.0.0 via gw %%j
rem route delete 172.%%k.0.0
route add 172.%%k.0.0 mask 255.255.0.0 %%j
)
)
)


Really appreciate your help,
Thanks
danishfk
 
Posts: 1
Joined: Mon Jun 29, 2009 6:26 pm

Re: VPN Routing in Vista

Postby chicagotech » Mon Jun 29, 2009 8:57 pm

For troubleshooting, can you run the batch as administrator mode? To do that, type cmd in the Start and right click on it and then select Run as administrator.
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
chicagotech
Site Admin
 
Posts: 6356
Joined: Mon Nov 27, 2006 1:24 pm
Location: Chicago USA


Return to VPN, TS and Remote Access

Your Ad Here

Who is online

Users browsing this forum: No registered users and 4 guests