Windows – How to delete Device Drivers

March 28, 2018

At some point I had big issues removing drivers from a Windows system.

After I removed the Watchguard MUVPN client software, I could not get Internet over LAN or WIFI.

You need to remove the NCP driver.

As you can see all the flagged drivers I needed to remove.

image

But after uninstalling they always came back automatically. Even if I did this in SAFE MODE … ?

Solution :

I used this PowerShell Script to find the incorrect drivers and remove them.

The cmdline utility used was PnPUtil.exe

image

image

CLS

$x = get-wmiobject Win32_PnpsignedDriver | where {$_.DeviceName -like "*Ncp*" -and $_.InfName -like "*oem*"}

foreach ($InfName in $x){
#$InfName

pnputil -f -d $InfName.InfName

write-host "Deleted - " $InfName.InfName " "$InfName.Friendlyname

}

image

image

If this does not work you can used the this alternative

image

Make sure you check the DELETE driver software for this device option.

Next do a SCAN Hardware changes and it will install again properly.

More information on how to remove drivers you can find here : https://www.online-tech-tips.com/computer-tips/unable-delete-network-adapter-windows-10/

SOLUTION 2 :

If this still doesn’t work use these steps :

Open the CMD with admin privileges

And run this command to list all Networks Components installed:

netcfg [-v] -s <a|n>
where,
-s\tprovides the type of components to show
\ta == adapters, n == net components
Examples:
netcfg -s n
shows all installed net components

 

netcfg -s n

image

You see that there is a Network Service Installed called *ncpfilt

image

To delete the Network Component use this command :

netcfg -v -u *ncpfilt

image

After this the network came online immediately … Smile

Enjoy !