This article assists with removing NSX introspection drivers from your Windows Machines using the VMware Tools installer.
Symptoms :
"c:\windows\system32\drivers\vnetwfp.sys" may be received.2024-11-12T02:14:46.651-06:00| tools-build-20735119| I0: Current vnetWFP_Win7.installed: (null)
2024-11-12T02:14:46.651-06:00| tools-build-20735119| I0: Writing vnetWFP_Win7.installed = FALSE
2024-11-12T02:14:46.651-06:00| tools-build-20735119| I0: Current vnetWFP_Win8.installed: (null)
2024-11-12T02:14:46.651-06:00| tools-build-20735119| I0: Writing vnetWFP_Win8.installed = FALSE
2024-11-12T02:14:46.651-06:00| tools-build-20735119| I0: Current vnetWFP_Win10.installed: (null)
2024-11-12T02:14:46.651-06:00| tools-build-20735119| I0: Writing vnetWFP_Win10.installed = FALSE
To check VMware Tools installer logs, refer KB VMware Tools upgrader and installer logs
VMware vSphere ESXi 7.0
VMware vSphere ESXi 8.0
This is due to older releases of NSX Introspection Drivers being present within the VM that cannot be detected on newer releases of VMware Tools.
To verify this, you may use the below steps
C:\windows\system32\drivers\vnetwfp"To remove the drivers completely, use the below steps to install a newer version of the driver so that it can be detected and removed.
vnetwfp driver will be deleted successfully.To verify the driver presence :
Start a PowerShell Session and Check if the Service is Present :
Get-Service -Name vnetWFP
Check if the Driver is Still present within the Driver Path :
$drivers = @("vnetflt.sys", "vnetWFP.sys", "vsepflt.sys")
$driverPaths = @()
foreach ($driver in $drivers) {
$path = Get-ChildItem -Path "C:\Windows\System32\drivers" -Filter $driver -Recurse -ErrorAction SilentlyContinue
if ($path) {
$driverPaths += $path.FullName
}
}
if ($driverPaths.Count -gt 0) {
Write-Output "The following VMware Tools drivers are installed on this machine:"
$driverPaths
} else {
Write-Output "No VMware Tools drivers found on this machine."
}