Changing driver start method from within driver

I’ve got an unusual requirement.
I must change the driver start method from DEMAND to AUTO
after my driver loads (i.e., to take effect on the next boot.)

What is the recommended way of doing this?
(Directly changing the registry entry?)
I would likely do it during DriverEntry.

Thanks.

Bob Loewer

So write the registry entry.

-----Original Message-----
From: Bob Loewer [mailto:xxxxx@jamesbimen.com]
Sent: Tuesday, July 16, 2002 10:31 AM
To: NT Developers Interest List
Subject: [ntdev] Changing driver start method from within driver

I’ve got an unusual requirement.
I must change the driver start method from DEMAND to AUTO
after my driver loads (i.e., to take effect on the next boot.)

What is the recommended way of doing this?
(Directly changing the registry entry?)
I would likely do it during DriverEntry.

Thanks.

Bob Loewer


You are currently subscribed to ntdev as:
xxxxx@stratus.com To unsubscribe send a blank email to
%%email.unsub%%

This is a classic, old, method to keep a bad driver from preventing the
system from booting :slight_smile:

Yes, in DE, you can change the registry settings.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Bob Loewer
Sent: Tuesday, July 16, 2002 7:31 AM
To: NT Developers Interest List
Subject: [ntdev] Changing driver start method from within driver

I’ve got an unusual requirement.
I must change the driver start method from DEMAND to AUTO
after my driver loads (i.e., to take effect on the next boot.)

What is the recommended way of doing this?
(Directly changing the registry entry?)
I would likely do it during DriverEntry.

Thanks.

Bob Loewer


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to %%email.unsub%%

Be aware that if its a PnP or WDM driver you should not use AUTO.


Nar Ganapathy
Windows Core OS group
This posting is provided “AS IS” with no warranties, and confers no rights.
“Jamey Kirby” wrote in message news:xxxxx@ntdev…
>
> This is a classic, old, method to keep a bad driver from preventing the
> system from booting :slight_smile:
>
> Yes, in DE, you can change the registry settings.
>
> Jamey
>
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Bob Loewer
> Sent: Tuesday, July 16, 2002 7:31 AM
> To: NT Developers Interest List
> Subject: [ntdev] Changing driver start method from within driver
>
> I’ve got an unusual requirement.
> I must change the driver start method from DEMAND to AUTO
> after my driver loads (i.e., to take effect on the next boot.)
>
> What is the recommended way of doing this?
> (Directly changing the registry entry?)
> I would likely do it during DriverEntry.
>
> Thanks.
>
> Bob Loewer
>
>
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>
>
>
>