Does anyone have any information regarding the uninstallation of the ndis im
driver programmatically? When removing a device (used passthru as an
example) using the SetupDiCallClassInstaller's DIF_REMOVE command, the class
installer fails to access the device. Manually one can remove it via the
network adapter's service, however it cannot even be uninstalled manually via
the device manager. So is there perhaps another method used? Any additional
guidance would be appreciated!
snippet from the setupapi.log:
#-147 Loading class installer module for "Passthru Miniport".
#V132 File "C:\WINDOWS\INF\certclas.inf" (key "certclas.inf") is signed in
catalog
"C:\WINDOWS\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\NT5INF.CAT".
#V286 Verification using alternate platform (Platform = 2, High Version =
5.1, Low Version = 5.0).
#V132 File "C:\WINDOWS\system32\NetCfgx.dll" (key "NetCfgx.dll") is signed
in catalog
"C:\WINDOWS\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\NT5.CAT".
#-166 Device install function: DIF_REMOVE.
#E154 Class installer failed. Error 5: Access is denied.
Thanks!