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

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

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