FltRegisterFilter returns C0000034

Hi
I’m trying to load my first minifilter though can’t seem to register it, I’m trying to load it like a regular driver, using osrloader I am registering the service though when I start the service, FltRegisterFilter returns a status 0xC0000034 which is STATUS_OBJECT_NAME_NOT_FOUND.

I’ve read the following article: https://www.osronline.com/showthread.cfm?link=193282 and tried the following command but all it seems to do is register the service, I still get an error when I start the service:
sc create filter type= kernel start= auto binpath= system32\drivers\filter.sys

I have previously installed a regular driver, by registering it as a service and then starting the service.

Where am I going wrong?

You need the registry keys giving the instances and altitudes.

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@edu.salford.ac.uk
Sent: Friday, April 3, 2015 12:15 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] FltRegisterFilter returns C0000034

Hi
I’m trying to load my first minifilter though can’t seem to register it, I’m trying to load it like a regular driver, using osrloader I am registering the service though when I start the service, FltRegisterFilter returns a status 0xC0000034 which is STATUS_OBJECT_NAME_NOT_FOUND.

I’ve read the following article: https://www.osronline.com/showthread.cfm?link=193282 and tried the following command but all it seems to do is register the service, I still get an error when I start the service:
sc create filter type= kernel start= auto binpath= system32\drivers\filter.sys

I have previously installed a regular driver, by registering it as a service and then starting the service.

Where am I going wrong?


NTFSD is sponsored by OSR

OSR is hiring!! Info at http://www.osr.com/careers

For our schedule of debugging and file system seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

I tried to model the inf files similar to the microsoft samples, here is the file:
http://pastebin.com/qv8nc1cV

When I check the registry keys, I find that for some reason the instances folder is not being created. It could be due to the fact that I’m copying sys file to the vmware target machine.

I would suggest, take the passthrough sample inf file. Modify it according
to your requirements. Keep the inf and .sys in same folder on the target
machine and then install using the inf.

On Sat, Apr 4, 2015 at 9:47 AM, wrote:

> I tried to model the inf files similar to the microsoft samples, here is
> the file:
> http://pastebin.com/qv8nc1cV
>
> When I check the registry keys, I find that for some reason the instances
> folder is not being created. It could be due to the fact that I’m copying
> sys file to the vmware target machine.
>
> —
> NTFSD is sponsored by OSR
>
> OSR is hiring!! Info at http://www.osr.com/careers
>
> For our schedule of debugging and file system seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

Thanks, installing using inf seemed to work.