Hi!
Thanks for giving me some directions!
I tried to Install the Driver using SC.exe (which probably uses SCM and CreateService)
I created kernel service and before I started the service I created Registry values that the
Service Controller did not created as Tony suggested. I used Minispy sample to realize what keys and values the INF creates and SCM does not.
so one thing is that when I created Enum key under the service key a DWORD value was created automatically:
HKLM\SYSTEM\CurrentControlSet\services\MyDriver\Enum\INITSTARTFAILED
the value of INITSTARTFAILED is set to 0x00000001
after adding the values I started the service calling SC Start command.
FltRegisterFilter failed with status STATUS_OBJECT_NAME_NOT_FOUND which mean according to MSDN that “The filter service key is not found in the registry” or “The filter instance is not registered”
Do you know what is the meaning of INITSTARTFAILED? I could not find any MSDN documentation.
Is there any Sample of SCM Minifilter Installation?
Thanks!
SapGr.