mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-11 04:35:57 -06:00
Merge pull request #11426 from microsoft/user/khorton/add_tcpip6_parameter_output
Adding the regitry values under tcpip6/parameters
This commit is contained in:
commit
e0856aa89c
@ -266,6 +266,14 @@ try
|
|||||||
}
|
}
|
||||||
catch {}
|
catch {}
|
||||||
|
|
||||||
|
# Collect the old Tcpip6 registry values - as they can break WSL if DisabledComponents is set to 0xff
|
||||||
|
# see https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/configure-ipv6-in-windows
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Get-Item HKLM:SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters | Out-File -FilePath "$folder/tcpip6_parameters.log" -Append
|
||||||
|
}
|
||||||
|
catch {}
|
||||||
|
|
||||||
# Collect the setup and NetSetup log files
|
# Collect the setup and NetSetup log files
|
||||||
$netSetupPath = "$env:WINDIR/logs/netsetup"
|
$netSetupPath = "$env:WINDIR/logs/netsetup"
|
||||||
if (Test-Path $netSetupPath)
|
if (Test-Path $netSetupPath)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user