Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

storport virtual miniport load order

OSR_Community_UserOSR_Community_User Member Posts: 110,217
Hi All,

I have written a virtual storport miniport driver and I want the driver to load during system boot. The virtual miniport driver has dependency with another driver which does not load when the virtual miniport driver is loaded, because of which the virtual miniport driver is failing to initialize.

How to make the virtual miniport driver load, after the driver on which it has dependency has loaded?

I have set the starttype as 3 in virutal miniport inf file.



  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Try using LoadOrderGroup and Dependencies entries of the INF AddService Directive
  • Doron_HolanDoron_Holan Member - All Emails Posts: 10,435
    And set your driver start type to boot (3 is demand start)

    Bent from my phone
    From: on behalf of
    Sent: Tuesday, December 12, 2017 1:56:52 AM
    To: Windows System Software Devs Interest List
    Subject: RE:[ntdev] storport virtual miniport load order

    Try using LoadOrderGroup and Dependencies entries of the INF AddService Directive

    NTDEV is sponsored by OSR

    Visit the list online at:

    MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers!
    Details at

    To unsubscribe, visit the List Server section of OSR Online at
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Thanks for the replies.

    I have already tried LoadOrderGroup, Dependencies and start type changes. Im not sure what exact values to give for these entries. I tried "SCSI Miniport" in LoadOrderGroup, and changed starttype = 0. Also, for Dependencies, I have set the value specified in LoadOrderGroup in the dependent driver's inf file(not sure if this is the value I have to set, pls correct me if Im wrong). If I make any of these changes, then the virtual miniport driver is not even installing.

    So, to summarize, following 2 questions:
    1. What is the exact value to set in LoadOrderGroup, Dependencies, and starttype for this requirement? (Did not get much help for MSDN descriptions)
    2. Can we change the driver load order for Virtual miniport drivers. Or is it that we can do such changes only on physical miniport drivers?
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Developing Minifilters 29 July 2019 OSR Seminar Space
Writing WDF Drivers 23 Sept 2019 OSR Seminar Space
Kernel Debugging 21 Oct 2019 OSR Seminar Space
Internals & Software Drivers 18 Nov 2019 Dulles, VA