Skip to content

Commit

Permalink
Merge pull request #11396 from microsoft/user/khorton/collect_more_vs…
Browse files Browse the repository at this point in the history
…witch_information

Retreiving more information to debug vswitch-related issues
  • Loading branch information
keith-horton committed Apr 1, 2024
2 parents 0e7458e + b4f670b commit 496c2d1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions diagnostics/collect-networking-logs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,19 @@ try
}
catch {}

# Collect the setup and NetSetup log files
$netSetupPath = "$env:WINDIR/logs/netsetup"
if (Test-Path $netSetupPath)
{
Copy-Item $netSetupPath $folder
}

$setupApiPath = "$env:WINDIR/inf/setupapi.dev.log"
if (Test-Path $setupApiPath)
{
Copy-Item $setupApiPath $folder
}

Remove-Item $logProfile
Remove-Item $networkingBashScript

Expand Down
2 changes: 2 additions & 0 deletions diagnostics/wsl_networking.wprp
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@
<EventProvider Id="Microsoft-Windows-SharedAccess_NAT" Name="A6F32731-9A38-4159-A220-3D9B7FC5FE5D" />
<EventProvider Id="Microsoft.Windows.Hyper.V.VmsIf" Name="6C28C7E5-331B-4437-9C69-5352A2F7F296" />
<EventProvider Id="VmSwitch_wpp" Name="1F387CBC-6818-4530-9DB6-5F1058CD7E86"/>
<EventProvider Id="ndis_wpp" Name="DD7A21E6-A651-46D4-B7C2-66543067B869"/>
<EventProvider Id="Microsoft-Windows-Hyper-V-VmSwitch" Name="67DC0D66-3695-47C0-9642-33F76F7BD7AD"/>
<EventProvider Id="Microsoft.Windows.Hyper.V.NetSetupHelper" Name="94DEB9D1-0A52-449B-B368-41E4426B4F36"/>
<EventProvider Id="Microsoft-Windows-Hyper-V-VfpExt" Name="9F2660EA-CFE7-428F-9850-AECA612619B0"/>
Expand Down Expand Up @@ -395,6 +396,7 @@
<EventProviderId Value="Microsoft-Windows-SharedAccess_NAT"/>
<EventProviderId Value="Microsoft.Windows.Hyper.V.VmsIf"/>
<EventProviderId Value="VmSwitch_wpp"/>
<EventProviderId Value="ndis_wpp"/>
<EventProviderId Value="Microsoft-Windows-Hyper-V-VmSwitch"/>
<EventProviderId Value="Microsoft.Windows.Hyper.V.NetSetupHelper"/>
<EventProviderId Value="Microsoft-Windows-Hyper-V-VfpExt"/>
Expand Down

0 comments on commit 496c2d1

Please sign in to comment.