S
ShridharKusurkar
Steps:
Manually these hidden adapters can be uninstall by below steps
How to uninstall these adapters using PowerShell script?
$Devs = Get-PnpDevice -Class net |
? Status -eq Unknown |
Select FriendlyName, InstanceId
foreach ($Dev in $Devs) {
Write-Host "Removing $($Dev.FriendlyName)" -ForegroundColor Cyan
$RemoveKey = "HKLM:\SYSTEM\CurrentControlSet\Enum\$($Dev.InstanceId)"
Get-Item $RemoveKey |
Select-Object -ExpandProperty Property |
%{ Remove-ItemProperty -Path $RemoveKey -Name $_ -Verbose }
}
Write-Host "Done. Please restart!" -ForegroundColor Green
I have Administrator access still, this code throws error - Remove-ItemProperty : Requested registry access is not allowed.
Continue reading...
- Open Device Manager from Control Panel
- Select “Show hidden devices” from View menu
- Expand “Network adapters”
- Find hidden adapters
Manually these hidden adapters can be uninstall by below steps
- Right click on hidden adapter
- Click on uninstall.
- Click on Ok button.
How to uninstall these adapters using PowerShell script?
$Devs = Get-PnpDevice -Class net |
? Status -eq Unknown |
Select FriendlyName, InstanceId
foreach ($Dev in $Devs) {
Write-Host "Removing $($Dev.FriendlyName)" -ForegroundColor Cyan
$RemoveKey = "HKLM:\SYSTEM\CurrentControlSet\Enum\$($Dev.InstanceId)"
Get-Item $RemoveKey |
Select-Object -ExpandProperty Property |
%{ Remove-ItemProperty -Path $RemoveKey -Name $_ -Verbose }
}
Write-Host "Done. Please restart!" -ForegroundColor Green
I have Administrator access still, this code throws error - Remove-ItemProperty : Requested registry access is not allowed.
Continue reading...