Uninstall of KMDF mouse filter driver causes 3rd party mouse filter driver uninstall

We’ve developed a mouse “class upper” filter driver (class upper filter) using KMDF 1.5. When we uninstall our driver under XP a 3rd party non-KMDF mouse “device upper” filter driver is unintentionally uninstalled as well.

Our uninstaller implements the equivalent of “devcon ClassFilter mouse upper !moufilter” followed by the uninstall logic of the “nonpnp” WDF sample (same as “wdffltrinstall” sample available at http://www.osronline.com/article.cfm?article=446) and then performs a reboot. When we login after the reboot the 3rd party driver is gone and Windows re-installs the standard PS/2 Mouse Driver.

Anybody have ideas on why this is happening and how we can fix it?