Closed dovholuknf closed 3 years ago
Very good for windows 10/11!
$key="Microsoft.PowerShell.Core\Registry::HKEY_LOCALMACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Unmanaged*" Get-ItemProperty -Path $key | where {$.FirstNetwork -match "网络.*"} | Remove-Item
$key="Microsoft.PowerShell.Core\Registry::HKEY_LOCALMACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles*" Get-ItemProperty -Path $key | where {$.ProfileName -match "网络.*"} | Remove-Item
Thank you very much!
Creating a tun using Wintun seems to leave behind a profile and an 'unmanaged' entry during removal...
Clean them up using: