11.16.2008

VPN errors on Vista SP2

This was really annoying.  After installing SP2 I could not connect to the several VPN sites I need.  After contacting Microsoft here is the resolution they provided that worked.  I’m posting here to save others the trouble I went through.

First turn on RAS logging to diagnose the problem.  You’ll need to open an administrative shell (cmd) to run these commands.

create a trace:
netsh ras set tracing * enabled
try your VPN connection (i.e. failure)
netsh ras set tracing * disabled

Look in your \windows\tracing folder for RASGCW.LOG
If you see a string like:
     ConnectThread:RasDialDlg failed with error: 800

This should fix your problem.  You’ll need to reinstall some drivers.

first uninstall:
netcfg -u ms_l2tp
netcfg -u ms_pptp

then re-install:
netcfg -l %windir%\inf\netrast.inf -c p -i ms_pptp
netcfg -l %windir%\inf\netrast.inf -c p -i ms_l2tp

That’s it.  Let me know if you had this problem as I am curious.