Windows 7 / Networking

Troubleshooting IPsec Issues Using Netsh Wfp

New in Windows 7 is the netsh wfp command context, which can be used for advanced troubleshooting of IPsec issues in conjunction with Microsoft Customer Support Services (CSS). This new Netsh context replaces the Microsoft IPsec Diagnostic Tool (Wfputil.exe), which can be obtained for previous versions of Windows from the Microsoft Download Center. To use netsh wfp for troubleshooting an IPsec communications issue that you are experiencing on a computer, follow these steps:

  1. Type netsh wfp capture start at a command prompt to begin capturing real-time IPsec diagnostic information on the computer.
  2. Reproduce the IPsec communications problem you have been experiencing on the computer.
  3. Type netsh wfp capture stop to stop tracing.

The result of performing these steps is a WfpDiag.cab file located in the current directory from which the command was run. This .cab file contains an Event Trace Log (ETL) file named WfpDiag.etl and a corresponding Extensible Markup Language (XML) file named WfpDiag. xml, which contain detailed information collected during the trace. Once you have collected this information, you can send it to Microsoft support personnel, who can decode the information and help you troubleshoot your issue.

Note You can use the netsh trace convert wfpdiag.etl file_name.txt command to convert a binary ETL file into human-readable plain-text format after you have extracted the ETL file from the .cab file.

[Previous] [Contents] [Next]

In this tutorial:

  1. Configuring Windows Firewall and IPsec
  2. Understanding Windows Firewall with Advanced Security
  3. Improvements to Windows Firewall Introduced Previously in Windows Vista
  4. Additional Improvements to Windows Firewall in Windows 7
  5. Understanding the Windows Filtering Platform
  6. Windows Firewall and the Startup Process
  7. Understanding Windows Service Hardening
  8. Understanding Service SIDs
  9. Windows Firewall and WSH
  10. Windows Firewall and Service Triggers
  11. Understanding Multiple Active Firewall Profiles
  12. Understanding Rules
  13. Understanding Firewall Rules
  14. Inbound vs . Outbound Rules
  15. Allow vs . Block Rules
  16. Allow If Secure Rules
  17. Authenticated Bypass Rules
  18. Filtering Conditions FOR Firewall RULES
  19. Understanding Connection Security Rules
  20. Types of Connection Security Rules
  21. Supported IPsec Settings for Connection Security Rules
  22. Default IPsec Settings for Connection Security Rules
  23. Windows Firewall and Windows PE
  24. Understanding Default Rules
  25. Understanding WSH Rules
  26. Understanding Rules Processing
  27. Managing Windows Firewall with Advanced Security
  28. Tools for Managing Windows Firewall with Advanced Security
  29. Managing Windows Firewall Using Control Panel
  30. Managing Windows Firewall Using the Windows Firewall with Advanced Security Snap-in
  31. Managing Windows Firewall Using Group Policy
  32. Considerations When Managing Windows Firewall Using Group Policy
  33. Managing Windows Firewall Using the Netsh Command
  34. Common Management Tasks
  35. Enabling or Disabling Windows Firewall
  36. Configuring Firewall Profiles and IPsec Settings by Using Group Policy
  37. Creating and Configuring Firewall Rules
  38. Creating and Configuring Connection Security Rules
  39. Monitoring Windows Firewall
  40. Troubleshooting Windows Firewall
  41. Troubleshooting Windows Firewall Using Firewall Logs
  42. Troubleshooting Windows Firewall Using Event Logs
  43. Troubleshooting Windows Firewall Using Auditing
  44. Troubleshooting IPsec Issues Using Netsh Wfp
  45. Troubleshooting Windows Filtering Platform and IPsec Issues Using Netsh Trace