Stop the docker service (PS C:> stop-service docker)
Stop the HNS service (PS C:> stop-service hns)
In regedit, delete all of the registry keys under these paths: HKLM:\SYSTEM\CurrentControlSet\Services\vmsmp\parameters\SwitchList HKLM:\SYSTEM\CurrentControlSet\Services\vmsmp\parameters\NicList
Run get-containernetwork | remove-containernetwork
Attempt to clean up Get-VMSwitch | Where-Object {$_.SwitchType -eq “External”} | Remove-VMSwitch
Get-ContainerNetwork | Remove-ContainerNetwork
Restart-Computer -Force