InitStartFailed

Hi,

I was trying to install a .sys file for driver for running a program.
I have the .sys file named “kbdfiltr.sys”. I copied it to
c:\windows\system32\drivers\ directory. In the registry,
I added a key “kbdfiltr” under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
Then, i added the following values
Type - 1
Start - 2 ( We tried 3 also.It is load on demand.)
Display Name - kbdfiltr
Error Control - 1

(I edited the registry manually)

On booting it, i found that the system had added a enum folder under the
kbdfiltr key.
This had
Count - 0
INITSTARTFAILED - 1
Instance - 0

I also found that (Using a tool), the driver (kbdfiltr) is not in “running”
mode and it is in
“stopped” mode. This is a kernel driver.

I don’t find this entry in my “services” folder.So i can’t start it using
“services”.
How do i start this driver?
What is the possible error?

Thanks in advance.
Vandhana.


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

try

net start kbdfiltr

Shaun

xxxxx@yahoo.com wrote:

Hi,

I was trying to install a .sys file for driver for running a program.
I have the .sys file named “kbdfiltr.sys”. I copied it to
c:\windows\system32\drivers\ directory. In the registry,
I added a key “kbdfiltr” under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
Then, i added the following values
Type - 1
Start - 2 ( We tried 3 also.It is load on demand.)
Display Name - kbdfiltr
Error Control - 1

(I edited the registry manually)

On booting it, i found that the system had added a enum folder under the
kbdfiltr key.
This had
Count - 0
INITSTARTFAILED - 1
Instance - 0

I also found that (Using a tool), the driver (kbdfiltr) is not in “running”
mode and it is in
“stopped” mode. This is a kernel driver.

I don’t find this entry in my “services” folder.So i can’t start it using
“services”.
How do i start this driver?
What is the possible error?

Thanks in advance.
Vandhana.


You are currently subscribed to ntfsd as: xxxxx@sdlabs.demon.co.uk
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Assuming this is for NT 4
If you are really writing a keyboard filter then it should start at boot
time
Start = 0

if it is a general KMD then you can set
Start =3
and directly start it by using net start or from “Devices” control panel
applet.

rgds
jeseem
mailto:xxxxx@hotmail.com

----- Original Message -----
From:
To: “File Systems Developers”
Sent: Wednesday, April 11, 2001 12:00 AM
Subject: [ntfsd] InitStartFailed

> Hi,
>
> I was trying to install a .sys file for driver for running a program.
> I have the .sys file named “kbdfiltr.sys”. I copied it to
> c:\windows\system32\drivers\ directory. In the registry,
> I added a key “kbdfiltr” under
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
> Then, i added the following values
> Type - 1
> Start - 2 ( We tried 3 also.It is load on demand.)
> Display Name - kbdfiltr
> Error Control - 1
>
> (I edited the registry manually)
>
> On booting it, i found that the system had added a enum folder under the
> kbdfiltr key.
> This had
> Count - 0
> INITSTARTFAILED - 1
> Instance - 0
>
> I also found that (Using a tool), the driver (kbdfiltr) is not in
“running”
> mode and it is in
> “stopped” mode. This is a kernel driver.
>
> I don’t find this entry in my “services” folder.So i can’t start it using
> “services”.
> How do i start this driver?
> What is the possible error?
>
> Thanks in advance.
> Vandhana.
>
> —
> You are currently subscribed to ntfsd as: xxxxx@hotmail.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I think you must use the CreateService API call to get it set up properly.
CreateService will also create a key under HKLM/Classes/Root for your
driver and it will also establish a security key when it made the Enum
key.


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hello,
I was trying to install a .sys file. Members of this board suggested me to
use net start command to start it.
When i tried using net start kbdfiltr, i found that it returned an error
1058.
Meaning: The service cannot be started, either because it is disabled or
because it has no enabled devices associated with it.

But, my driver is not disabled. How can i rectify the problem? any help is
greatly appreciated.

More Details:
I was trying to install a .sys file for driver for running a program.
I have the .sys file named “kbdfiltr.sys”. I copied it to
c:\windows\system32\drivers\ directory. In the registry,
I added a key “kbdfiltr” under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
Then, i added the following values
Type - 1
Start - 2 ( We tried 3 also.It is load on demand.)
Display Name - kbdfiltr
Error Control - 1

(I edited the registry manually)

On booting it, i found that the system had added a enum folder under the
kbdfiltr key.
This had
Count - 0
INITSTARTFAILED - 1
Instance - 0

I also found that (Using a tool), the driver (kbdfiltr) is not in
“running”
mode and it is in
“stopped” mode. This is a kernel driver.

I don’t find this entry in my “services” folder.So i can’t start it using
“services”.

Thanks a million
Vandhana


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hello,
Thanks for the help. I tried starting the service using
net start kbdfiltr.
But i get an error 1058.
Meaning:
The service is disabled or there is no enabled device associated with it.

But my service is not disabled.
How to solve this problem?
Any help is greatly appreciated.

More details:

I was trying to install a .sys file for driver for running a program.
I have the .sys file named “kbdfiltr.sys”. I copied it to
c:\windows\system32\drivers\ directory. In the registry,
I added a key “kbdfiltr” under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
Then, i added the following values
Type - 1
Start - 2 ( We tried 3 also.It is load on demand.)
Display Name - kbdfiltr
Error Control - 1

(I edited the registry manually)

On booting it, i found that the system had added a enum folder under the
kbdfiltr key.
This had
Count - 0
INITSTARTFAILED - 1
Instance - 0

I also found that (Using a tool), the driver (kbdfiltr) is not in
“running”
mode and it is in
“stopped” mode. This is a kernel driver.

I don’t find this entry in my “services” folder.So i can’t start it using
“services”.

Thanks a million
Vandhana


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com