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

Home NTDEV

Before Posting...

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

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


how to manipulate Network bindings via INF

OSR_Community_UserOSR_Community_User Member Posts: 110,217
Hello,

I need to write installation for a network driver, after installation, like to
diable the bindings from some protocol to the driver. How can I do that via INF or other method?

TIA

Chiang

Comments

  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    If you get an answer can you forward it to me?

    I did this a few years ago, when I worked for someone else and I don't have the sources any more.
    I remember that a entry had to be made in each protocols' registry, telling that protocol not to bind with the specified MAC driver.

    Larry
    ----- Original Message -----
    From: Qiang Zhang
    To: NT Developers Interest List
    Sent: Saturday, May 27, 2000 5:06 PM
    Subject: [ntdev] how to manipulate Network bindings via INF



    Hello,

    I need to write installation for a network driver, after installation, like to
    diable the bindings from some protocol to the driver. How can I do that via INF or other method?

    TIA

    Chiang
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    I don't know how to disable all possible bindings, but it is
    possible to disable protocol bindings for known protocols.
    I found this method from examining how the dial up network
    adapters prevent certain protocols from binding to them

    There is an undocumented registry entry you can add. I have
    included the registry info from our virtual adapter below. The
    entry which disables the protocol bindings is the "block" entry
    (value 1). For our virtual adapter, I disabled all the common
    protocols except TCP/IP.

    Hope this helps,
    Mike



    Key Name: SOFTWARE\Microsoft\Windows
    NT\CurrentVersion\NetworkCards\xx\NetRules

    Class Name: GenericClass

    Last Write Time: 8/19/99 - 4:52 PM

    Value 0
    Name: bindform
    Type: REG_SZ
    Data: "BtiVPPA6" yes yes container

    Value 1
    Name: block
    Type: REG_MULTI_SZ
    Data: ipxTransport BtiVPPAAdapter
    appletalktransport BtiVPPAAdapter
    PrivateLlc2Driver BtiVPPAAdapter
    dlcDriver BtiVPPAAdapter
    btiTcppClass BtiVPPAAdapter
    netBiosTransport BtiVPPAAdapter


    Value 2
    Name: class
    Type: REG_MULTI_SZ
    Data: BtiVPPAAdapter basic


    Value 3
    Name: InfName
    Type: REG_SZ
    Data: oemnad65.inf

    Value 4
    Name: InfOption
    Type: REG_SZ
    Data: VPPA

    Value 5
    Name: type
    Type: REG_SZ
    Data: BtiVPPA BtiVPPAAdapter







    ----- Original Message -----
    From: Larry Harmon
    To: NT Developers Interest List
    Sent: Sunday, May 28, 2000 8:52 AM
    Subject: [ntdev] Re: how to manipulate Network bindings via INF


    If you get an answer can you forward it to me?

    I did this a few years ago, when I worked for someone else and I don't have
    the sources any more.
    I remember that a entry had to be made in each protocols' registry, telling
    that protocol not to bind with the specified MAC driver.

    Larry
    ----- Original Message -----
    From: Qiang Zhang
    To: NT Developers Interest List
    Sent: Saturday, May 27, 2000 5:06 PM
    Subject: [ntdev] how to manipulate Network bindings via INF



    Hello,

    I need to write installation for a network driver, after installation, like
    to
    diable the bindings from some protocol to the driver. How can I do that via
    INF or other method?

    TIA

    Chiang
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 30 January 2023 Live, Online
Developing Minifilters 20 March 2023 Live, Online
Writing WDF Drivers TBD 2023 Live, Online
Internals & Software Drivers 17 April 2023 Live, Online