Routing and Remote Access Blog

VPN articles - straight from Windows development team


Enabling RAS Tracing in Vista/Longhorn Server

  • Comments 3
  • Likes

Check for information to enable RAS logs on the earlier Windows Versions.

RAS Trace logs help in troubleshooting RAS connections related issues. On the earlier versions of Windows, "netsh ras set tracing * enabled" command enables the tracing. Though this command continues to work on Vista/Longhorn Server, a better place to enable tracing  is from "netsh ras diagnostics".

  • To enable RAS logging, run the command "netsh ras diagnostics set rastracing * enabled"
  • Now run the scenario that is failing (eg., establish the VPN connection that was failing earlier)
  • Flush the RAS logs by executing the command "netsh ras diagnostics set rastracing * disabled"
  • The trace logs are created and available at %windir%\tracing folder.
  • Some of the trace log files that would help in diagnosing the problem are:
    • PPP.log
    • RASMAN.log
    • IASHLPR.log
    • RASIPCP.log
    • RASIPV6CP.log
  • You can also check the "Event Viewer" under "Windows Logs"->System and look for events with Source as "RemoteAccess" or "Rasman" that could help in troubleshooting the issue.
  • RAS Error codes are listed at

-Srivatsan Kidambi

Development Lead
Routing and Remote Access Team,

Windows Enterprise Networking

[This posting is provided "AS IS" with no warranties, and confers no rights.]

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment