This document describes how to collect KDF logs and other important troubleshooting logs on Windows and MacOS.
| DNS Related (When OpenDNS is involved): | 0x20801FF |
| Web flow (SWG) proxy and DNS Related: |
0x70C01FF |
| ZTA | 0x400080152 |
Note: When you submit the results, always let the TAC Team know what settings were used and be open to changing as TAC requires.
Open a CMD with admin privileges and run the next command:
"%ProgramFiles(x86)%\Cisco\Cisco Secure Client\acsocktool.exe" -sdf [FLAG]
DebugView as administrator and enable the next menu options.Capture Kernel.Enable Verbose Kernel Output.Clock Time.Show Milliseconds.

Restart the client service via admin prompt:
net stop csc_vpnagent && net start csc_vpnagent
net stop csc_vpnagent && net start csc_vpnagent does not work, restart Cisco Secure Client service from services.msc.
Start Wireshark Capture.
Select all the interfaces, and start the packet capture.

KDF Logs and Wireshark Capture, then follow the steps to capture DART Bundle.Cisco Secure Client Diagnostics & Reporting Tool (DART) with administrator privileges.
Custom.
System Information Extensive and Network Connectivity Test.
Note: Collect all the logs: KDF Logs, Wireshark Capture and DART Bundle to the TAC Case.
"%ProgramFiles(x86)%\Cisco\Cisco Secure Client\acsocktool.exe" -cdf
Open terminal and follow the next command chain to enable KDF Logging on MacOS:
Stop Service.sudo "/opt/cisco/secureclient/bin/Cisco Secure Client - AnyConnect VPN Service.app/Contents/MacOS/Cisco Secure Client - AnyConnect VPN Service" uninstall
Enable Flag.echo debug=[Flag Value] | sudo tee /opt/cisco/secureclient/kdf/acsock.cfg
Start Service.open -a "/opt/cisco/secureclient/bin/Cisco Secure Client - AnyConnect VPN Service.app"
Start Wireshark Capture.
Select all the interfaces, and start the packet capture.

KDF Logs and Wireshark Capture, then follow the steps to capture DART Bundle.Cisco Secure Client - DART.
Include Legacy - Cisco AnyConnect Secure Mobility Client Logs.Include System Logs.Run.
Note: Collect all the logs: KDF Logs, Wireshark Capture and DART Bundle to the TAC Case.
| Revision | Publish Date | Comments |
|---|---|---|
2.0 |
27-Apr-2026
|
Updated Title and Formatting. |
1.0 |
30-Dec-2025
|
Initial Release |