I'm trying to develop an NDIS filter driver. However, I don't seem to be able to load it.
I have the debug
and testsigning
boot options enabled; my driver is test-signed, and the certificate is loaded in the root
and trustedpublisher
stores.
Before I enabled testsigning
, my driver would show up in ntbootlog.txt as
Did not load driver \SystemRoot\system32\DRIVERS\mydriver.sys
After I enabled testsigning
, the driver doesn't show up at all. It is, however, presented in the interface proprties. The interface is broken until I disable my filter, even though my driver is currently a very minimal pass-through NDIS filter driver. When I disable my filter, everything works fine again.
The driver is not listed in windbg's module list, but it is listed in the "unloaded modules" list, which suggests the driver was loaded at some point.
My driver produces some output during DriverEntry
and DriverUnload
, as well as in all mandatory NDIS hooks. None of this output shows up in windbg's !dbgprint
, which suggests the driver's DriverEntry
has never been called.
I'm at a loss how to debug this issue; Could anyone give me some hints as to what might be going on here?
I'm using Windows 2008 R2 DataCenter, checked build. I'm currently limited to a single machine setup.