About loading drivers

Dear friends

It is possible to load a driver (or filter driver) before other drivers in
boot time? is there any way to start a driver before other installed driver
in boot time ?

Cheers
Jack

This is one of the fav questions on the list.

Answer can be yes or no depending upon what you want to load and before
which driver.

Regards
Deepak

On Tue, Apr 21, 2009 at 2:48 PM, Jack sa wrote:

> Dear friends
>
> It is possible to load a driver (or filter driver) before other drivers in
> boot time? is there any way to start a driver before other installed driver
> in boot time ?
>
>
> Cheers
> Jack
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
> other 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

Jack sa wrote:

Dear friends

It is possible to load a driver (or filter driver) before other drivers
in boot time? is there any way to start a driver before other installed
driver in boot time ?

Yes you could make your driver to start before others …
but then somebody else can insert his driver in front of yours :slight_smile:

– pa

> Dear friends

It is possible to load a driver (or filter driver) before other
drivers in
boot time? is there any way to start a driver before other installed
driver in
boot time ?

The driver order load process is reasonably well documented. Be careful
of dependencies (eg trying to load an NDIS driver before NDIS is loaded
will cause a crash).

Putting your drivers into their own group and forcing the order of that
group is the only way to be sure, but of course things get tricky if you
want your driver to load before some drivers in one group and after some
other drivers in the same group.

The only particularly tricky thing I have found with group ordering is
that WdfLoadGroup always resets itself to be 3rd in the list, after
“Boot Bus Extender”. I got around this by creating a dummy group that
was 2nd in the list, forcing “Boot Bus Extender” into 3rd place, and
then into 4th place when WdfLoadGroup fixes itself up.

James

And what happens when a second person comes around and wants to “always” load their driver “first”?

  • S

From: Jack sa
Sent: Tuesday, April 21, 2009 02:18
To: Windows System Software Devs Interest List
Subject: [ntdev] About loading drivers

Dear friends

It is possible to load a driver (or filter driver) before other drivers in boot time? is there any way to start a driver before other installed driver in boot time ?

Cheers
Jack
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other 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

Straight to your question. You may control load order, here is an example:
http://support.microsoft.com/kb/115486

But make sure your driver is compatible with simular drivers, i.e. if it is
filter, it should work normally with or without any third party filters in a
system …


Volodymyr M. Shcherbyna, blog: http://www.shcherbyna.com/
(This posting is provided “AS IS” with no warranties, and confers no
rights)
“Jack sa” wrote in message news:xxxxx@ntdev…
> Dear friends
>
> It is possible to load a driver (or filter driver) before other drivers in
> boot time? is there any way to start a driver before other installed
> driver
> in boot time ?
>
>
> Cheers
> Jack
>

Couple of basic questions to OP.

What does your driver do?
When do you want it to be loaded? i mean before which drivers etc.

Thanks and Regards,

Charansing D Deore
Sr. Software Developer,
CalSoft Pvt Ltd.
Baner Road, Pune-411045
Office: +91 20 40792900 Ext: 3052
Cell: +91 9850960550

On Wed, Apr 22, 2009 at 2:48 PM, Volodymyr M. Shcherbyna <
xxxxx@mvps.org> wrote:

Straight to your question. You may control load order, here is an example:
http://support.microsoft.com/kb/115486

But make sure your driver is compatible with simular drivers, i.e. if it is
filter, it should work normally with or without any third party filters in
a
system …


Volodymyr M. Shcherbyna, blog: http://www.shcherbyna.com/
(This posting is provided “AS IS” with no warranties, and confers no
rights)
“Jack sa” wrote in message news:xxxxx@ntdev…
> > Dear friends
> >
> > It is possible to load a driver (or filter driver) before other drivers
> in
> > boot time? is there any way to start a driver before other installed
> > driver
> > in boot time ?
> >
> >
> > Cheers
> > Jack
> >
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other 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
>

Any time before the Symantec driver.

On Wed, Apr 22, 2009 at 10:10 AM, Charansing Rajput wrote:

> Couple of basic questions to OP.
>
> What does your driver do?
> When do you want it to be loaded? i mean before which drivers etc.
>
> Thanks and Regards,
> ----------------------------------------------------------------
> Charansing D Deore
> Sr. Software Developer,
> CalSoft Pvt Ltd.
> Baner Road, Pune-411045
> Office: +91 20 40792900 Ext: 3052
> Cell: +91 9850960550
>
>
>
> On Wed, Apr 22, 2009 at 2:48 PM, Volodymyr M. Shcherbyna <
> xxxxx@mvps.org> wrote:
>
>> Straight to your question. You may control load order, here is an example:
>> http://support.microsoft.com/kb/115486
>>
>> But make sure your driver is compatible with simular drivers, i.e. if it
>> is
>> filter, it should work normally with or without any third party filters in
>> a
>> system …
>>
>> –
>> Volodymyr M. Shcherbyna, blog: http://www.shcherbyna.com/
>> (This posting is provided “AS IS” with no warranties, and confers no
>> rights)
>> “Jack sa” wrote in message news:xxxxx@ntdev…
>> > Dear friends
>> >
>> > It is possible to load a driver (or filter driver) before other drivers
>> in
>> > boot time? is there any way to start a driver before other installed
>> > driver
>> > in boot time ?
>> >
>> >
>> > Cheers
>> > Jack
>> >
>>
>>
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> For our schedule of WDF, WDM, debugging and other 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
>>
>
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
> other 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

Depending on the Symantec driver it will not matter, some of this junk hooks
itself into the system.


Don Burn (MVP, Windows DDK)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

“Jim Donelson” wrote in message news:xxxxx@ntdev…
> Any time before the Symantec driver.
>
> On Wed, Apr 22, 2009 at 10:10 AM, Charansing Rajput
> wrote:
>
>> Couple of basic questions to OP.
>>
>> What does your driver do?
>> When do you want it to be loaded? i mean before which drivers etc.
>>
>> Thanks and Regards,
>> ----------------------------------------------------------------
>> Charansing D Deore
>> Sr. Software Developer,
>> CalSoft Pvt Ltd.
>> Baner Road, Pune-411045
>> Office: +91 20 40792900 Ext: 3052
>> Cell: +91 9850960550
>>
>>
>>
>> On Wed, Apr 22, 2009 at 2:48 PM, Volodymyr M. Shcherbyna <
>> xxxxx@mvps.org> wrote:
>>
>>> Straight to your question. You may control load order, here is an
>>> example:
>>> http://support.microsoft.com/kb/115486
>>>
>>> But make sure your driver is compatible with simular drivers, i.e. if it
>>> is
>>> filter, it should work normally with or without any third party filters
>>> in
>>> a
>>> system …
>>>
>>> –
>>> Volodymyr M. Shcherbyna, blog: http://www.shcherbyna.com/
>>> (This posting is provided “AS IS” with no warranties, and confers no
>>> rights)
>>> “Jack sa” wrote in message news:xxxxx@ntdev…
>>> > Dear friends
>>> >
>>> > It is possible to load a driver (or filter driver) before other
>>> > drivers
>>> in
>>> > boot time? is there any way to start a driver before other installed
>>> > driver
>>> > in boot time ?
>>> >
>>> >
>>> > Cheers
>>> > Jack
>>> >
>>>
>>>
>>>
>>> —
>>> NTDEV is sponsored by OSR
>>>
>>> For our schedule of WDF, WDM, debugging and other 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
>>>
>>
>> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
>> other 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
>
>
>
> Information from ESET NOD32 Antivirus, version of virus
> signature database 4028 (20090422)

>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>

Information from ESET NOD32 Antivirus, version of virus signature database 4028 (20090422)

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

SDT Hooking? That’s so last century. Must be malware.

On Wed, Apr 22, 2009 at 1:02 PM, Don Burn wrote:

> Depending on the Symantec driver it will not matter, some of this junk
> hooks
> itself into the system.
>
>
> –
> Don Burn (MVP, Windows DDK)
> Windows Filesystem and Driver Consulting
> Website: http://www.windrvr.com
> Blog: http://msmvps.com/blogs/WinDrvr
>
>
> “Jim Donelson” wrote in message news:xxxxx@ntdev…
> > Any time before the Symantec driver.
> >
> > On Wed, Apr 22, 2009 at 10:10 AM, Charansing Rajput
> > wrote:
> >
> >> Couple of basic questions to OP.
> >>
> >> What does your driver do?
> >> When do you want it to be loaded? i mean before which drivers etc.
> >>
> >> Thanks and Regards,
> >> ----------------------------------------------------------------
> >> Charansing D Deore
> >> Sr. Software Developer,
> >> CalSoft Pvt Ltd.
> >> Baner Road, Pune-411045
> >> Office: +91 20 40792900 Ext: 3052
> >> Cell: +91 9850960550
> >>
> >>
> >>
> >> On Wed, Apr 22, 2009 at 2:48 PM, Volodymyr M. Shcherbyna <
> >> xxxxx@mvps.org> wrote:
> >>
> >>> Straight to your question. You may control load order, here is an
> >>> example:
> >>> http://support.microsoft.com/kb/115486
> >>>
> >>> But make sure your driver is compatible with simular drivers, i.e. if
> it
> >>> is
> >>> filter, it should work normally with or without any third party filters
> >>> in
> >>> a
> >>> system …
> >>>
> >>> –
> >>> Volodymyr M. Shcherbyna, blog: http://www.shcherbyna.com/
> >>> (This posting is provided “AS IS” with no warranties, and confers no
> >>> rights)
> >>> “Jack sa” wrote in message news:xxxxx@ntdev.
> …
> >>> > Dear friends
> >>> >
> >>> > It is possible to load a driver (or filter driver) before other
> >>> > drivers
> >>> in
> >>> > boot time? is there any way to start a driver before other installed
> >>> > driver
> >>> > in boot time ?
> >>> >
> >>> >
> >>> > Cheers
> >>> > Jack
> >>> >
> >>>
> >>>
> >>>
> >>> —
> >>> NTDEV is sponsored by OSR
> >>>
> >>> For our schedule of WDF, WDM, debugging and other 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
> >>>
> >>
> >> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging
> and
> >> other 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
> >
> >
> >
> > Information from ESET NOD32 Antivirus, version of virus
> > signature database 4028 (20090422)

> >
> > The message was checked by ESET NOD32 Antivirus.
> >
> > http://www.eset.com
> >
> >
>
>
>
> Information from ESET NOD32 Antivirus, version of virus
> signature database 4028 (20090422)

>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other 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
>

If this is not a trade secret, why? What’s wrong happens if your and their
driver get’s loaded?


Volodymyr M. Shcherbyna, blog: http://www.shcherbyna.com/
(This posting is provided “AS IS” with no warranties, and confers no
rights)
“Jim Donelson” wrote in message news:xxxxx@ntdev…
> Any time before the Symantec driver.
>
> On Wed, Apr 22, 2009 at 10:10 AM, Charansing Rajput
> wrote:
>
>> Couple of basic questions to OP.
>>
>> What does your driver do?
>> When do you want it to be loaded? i mean before which drivers etc.
>>
>> Thanks and Regards,
>> ----------------------------------------------------------------
>> Charansing D Deore
>> Sr. Software Developer,
>> CalSoft Pvt Ltd.
>> Baner Road, Pune-411045
>> Office: +91 20 40792900 Ext: 3052
>> Cell: +91 9850960550
>>
>>
>>
>> On Wed, Apr 22, 2009 at 2:48 PM, Volodymyr M. Shcherbyna <
>> xxxxx@mvps.org> wrote:
>>
>>> Straight to your question. You may control load order, here is an
>>> example:
>>> http://support.microsoft.com/kb/115486
>>>
>>> But make sure your driver is compatible with simular drivers, i.e. if it
>>> is
>>> filter, it should work normally with or without any third party filters
>>> in
>>> a
>>> system …
>>>
>>> –
>>> Volodymyr M. Shcherbyna, blog: http://www.shcherbyna.com/
>>> (This posting is provided “AS IS” with no warranties, and confers no
>>> rights)
>>> “Jack sa” wrote in message news:xxxxx@ntdev…
>>> > Dear friends
>>> >
>>> > It is possible to load a driver (or filter driver) before other
>>> > drivers
>>> in
>>> > boot time? is there any way to start a driver before other installed
>>> > driver
>>> > in boot time ?
>>> >
>>> >
>>> > Cheers
>>> > Jack
>>> >
>>>
>>>
>>>
>>> —
>>> NTDEV is sponsored by OSR
>>>
>>> For our schedule of WDF, WDM, debugging and other 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
>>>
>>
>> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
>> other 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
>