NIC driver question

When installing a NIC driver, is there something I can put in my INF
file to prevent the windows client and File and Print sharing from
automatically getting bound to it? I have a driver for a port that is
dedicated to talking to a Linux machine. I don’t want to send windows
client and file and print sharing ot the linux machine when they will
never be used. It will just slow down the connection. I know I can shut
iot off after the installation through the GUI, but it would be ideal if
there was a way to do it with an INF so I don’t have to write a setup
app for it.

Beverly

Unless you’re actually using SMB server/client, there isn’t much traffic. There’s some infrequent / low bandwidth NetBIOS chatter – is that enough to be a concern? Is it a very-low-bandwidth link?


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Brown, Beverly
Sent: Thursday, September 14, 2006 9:07 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] NIC driver question

When installing a NIC driver, is there something I can put in my INF file to prevent the windows client and File and Print sharing from automatically getting bound to it? I have a driver for a port that is dedicated to talking to a Linux machine. I don’t want to send windows client and file and print sharing ot the linux machine when they will never be used. It will just slow down the connection. I know I can shut iot off after the installation through the GUI, but it would be ideal if there was a way to do it with an INF so I don’t have to write a setup app for it.

Beverly


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

I’ve never tried this, but I suspect you could use a co installer and
NetCfg to break the binding at install time.

-sd

On Sep 14, 2006, at 11:07 AM, Brown, Beverly wrote:

When installing a NIC driver, is there something I can put in my
INF file to prevent the windows client and File and Print sharing
from automatically getting bound to it? I have a driver for a port
that is dedicated to talking to a Linux machine. I don’t want to
send windows client and file and print sharing ot the linux machine
when they will never be used. It will just slow down the
connection. I know I can shut iot off after the installation
through the GUI, but it would be ideal if there was a way to do it
with an INF so I don’t have to write a setup app for it.

Beverly


Questions? First check the Kernel Driver FAQ at http://
www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

I wouldn’t characterize the traffic as infrequent and low-bandwidth. It
keeps broadcasting stuff over and over and over again.

Beverly

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Arlie Davis
Sent: Thursday, September 14, 2006 12:19 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] NIC driver question

Unless you’re actually using SMB server/client, there isn’t much
traffic. There’s some infrequent / low bandwidth NetBIOS chatter – is
that enough to be a concern? Is it a very-low-bandwidth link?


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Brown, Beverly
Sent: Thursday, September 14, 2006 9:07 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] NIC driver question

When installing a NIC driver, is there something I can put in my INF
file to prevent the windows client and File and Print sharing from
automatically getting bound to it? I have a driver for a port that is
dedicated to talking to a Linux machine. I don’t want to send windows
client and file and print sharing ot the linux machine when they will
never be used. It will just slow down the connection. I know I can shut
iot off after the installation through the GUI, but it would be ideal if
there was a way to do it with an INF so I don’t have to write a setup
app for it.

Beverly


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

That’s why I asked about the bandwidth of the link. 1kbps? 10kbps? 100kbps? 1Mbps? 10Mbps? 100Mbps? 1Gbps? Is the bandwidth usage an aesthetic objection, or is it enough to impede your application?

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Brown, Beverly
Sent: Thursday, September 14, 2006 10:02 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] NIC driver question

I wouldn’t characterize the traffic as infrequent and low-bandwidth. It keeps broadcasting stuff over and over and over again.

Beverly

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Arlie Davis
Sent: Thursday, September 14, 2006 12:19 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] NIC driver question

Unless you’re actually using SMB server/client, there isn’t much traffic. There’s some infrequent / low bandwidth NetBIOS chatter – is that enough to be a concern? Is it a very-low-bandwidth link?


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Brown, Beverly
Sent: Thursday, September 14, 2006 9:07 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] NIC driver question

When installing a NIC driver, is there something I can put in my INF file to prevent the windows client and File and Print sharing from automatically getting bound to it? I have a driver for a port that is dedicated to talking to a Linux machine. I don’t want to send windows client and file and print sharing ot the linux machine when they will never be used. It will just slow down the connection. I know I can shut iot off after the installation through the GUI, but it would be ideal if there was a way to do it with an INF so I don’t have to write a setup app for it.

Beverly


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

The link is 1GB/s. It’s a dedicated link because we need every bit of
that bandwidth, so the objection is both aesthetic (we shouldn’t waste
time broadcasting packets to someone who doesn’t care about them and
will never respond to them) and it has the potential to impede a
customer’s application.

Beverly

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Arlie Davis
Sent: Thursday, September 14, 2006 1:13 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] NIC driver question

That’s why I asked about the bandwidth of the link. 1kbps? 10kbps?
100kbps? 1Mbps? 10Mbps? 100Mbps? 1Gbps? Is the bandwidth usage an
aesthetic objection, or is it enough to impede your application?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Brown, Beverly
Sent: Thursday, September 14, 2006 10:02 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] NIC driver question

I wouldn’t characterize the traffic as infrequent and low-bandwidth. It
keeps broadcasting stuff over and over and over again.

Beverly

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Arlie Davis
Sent: Thursday, September 14, 2006 12:19 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] NIC driver question

Unless you’re actually using SMB server/client, there isn’t much
traffic. There’s some infrequent / low bandwidth NetBIOS chatter – is
that enough to be a concern? Is it a very-low-bandwidth link?


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Brown, Beverly
Sent: Thursday, September 14, 2006 9:07 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] NIC driver question

When installing a NIC driver, is there something I can put in my INF
file to prevent the windows client and File and Print sharing from
automatically getting bound to it? I have a driver for a port that is
dedicated to talking to a Linux machine. I don’t want to send windows
client and file and print sharing ot the linux machine when they will
never be used. It will just slow down the connection. I know I can shut
iot off after the installation through the GUI, but it would be ideal if
there was a way to do it with an INF so I don’t have to write a setup
app for it.

Beverly


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Disable NetBIOS over TCP/IP there, I think this can put and end to SMB
broadcasts.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Brown, Beverly”
To: “Windows System Software Devs Interest List”
Sent: Thursday, September 14, 2006 9:02 PM
Subject: RE: [ntdev] NIC driver question

I wouldn’t characterize the traffic as infrequent and low-bandwidth. It
keeps broadcasting stuff over and over and over again.

Beverly

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Arlie Davis
Sent: Thursday, September 14, 2006 12:19 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] NIC driver question

Unless you’re actually using SMB server/client, there isn’t much
traffic. There’s some infrequent / low bandwidth NetBIOS chatter – is
that enough to be a concern? Is it a very-low-bandwidth link?

________________________________

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Brown, Beverly
Sent: Thursday, September 14, 2006 9:07 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] NIC driver question

When installing a NIC driver, is there something I can put in my INF
file to prevent the windows client and File and Print sharing from
automatically getting bound to it? I have a driver for a port that is
dedicated to talking to a Linux machine. I don’t want to send windows
client and file and print sharing ot the linux machine when they will
never be used. It will just slow down the connection. I know I can shut
iot off after the installation through the GUI, but it would be ideal if
there was a way to do it with an INF so I don’t have to write a setup
app for it.

Beverly


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Can I do that in an INF file? If so, how?

I know I can do iut manually after the install, but I don’t want to have
to do that. I want it done automatically and I’d prefer to not have to
write a setup program to do it.

Beverly

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Thursday, September 14, 2006 3:41 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] NIC driver question

Disable NetBIOS over TCP/IP there, I think this can put and end to
SMB broadcasts.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Brown, Beverly”
To: “Windows System Software Devs Interest List”
Sent: Thursday, September 14, 2006 9:02 PM
Subject: RE: [ntdev] NIC driver question

I wouldn’t characterize the traffic as infrequent and low-bandwidth. It
keeps broadcasting stuff over and over and over again.

Beverly

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Arlie Davis
Sent: Thursday, September 14, 2006 12:19 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] NIC driver question

Unless you’re actually using SMB server/client, there isn’t much
traffic. There’s some infrequent / low bandwidth NetBIOS chatter – is
that enough to be a concern? Is it a very-low-bandwidth link?

________________________________

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Brown, Beverly
Sent: Thursday, September 14, 2006 9:07 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] NIC driver question

When installing a NIC driver, is there something I can put in my INF
file to prevent the windows client and File and Print sharing from
automatically getting bound to it? I have a driver for a port that is
dedicated to talking to a Linux machine. I don’t want to send windows
client and file and print sharing ot the linux machine when they will
never be used. It will just slow down the connection. I know I can shut
iot off after the installation through the GUI, but it would be ideal if
there was a way to do it with an INF so I don’t have to write a setup
app for it.

Beverly


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

“Brown, Beverly” wrote in message news:xxxxx@ntdev…
> Can I do that in an INF file? If so, how?

Disabling bindings to certain protocols can be done by specifying UpperRange.
Sorry I don’t remember what are the acceptable values for Vista,
maybe somebody else does.
Otherwise you’ll need a notify object to control the bindings.

–PA

Thanks for the tip. Unfortunately, the only value that makes sense for
what I have is ndis5_ip and that still allows NETBIOS because NETBIOS
will run over TCP/IP.

I guess the only way to do it is to write a setup program or
coinstaller. I really don’t have time for that.

Beverly

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Pavel A.
Sent: Saturday, September 16, 2006 5:05 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] NIC driver question

“Brown, Beverly” wrote in message news:xxxxx@ntdev…
> Can I do that in an INF file? If so, how?

Disabling bindings to certain protocols can be done by specifying
UpperRange.
Sorry I don’t remember what are the acceptable values for Vista, maybe
somebody else does.
Otherwise you’ll need a notify object to control the bindings.

–PA


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Beverly,

The NIC INF does not really have the kind of control you are looking for
over ‘services’ bound to the ‘stack’ rooted at the NIC. You might find that
a light-weight solution using WMI event sink and a bit of script could
disable the bindings (of services) that you wish to prevent using the
adapter. I have a vague recollection that cooridingating a CoInstaller for
a NIC to operate on the NetCfg objects that represent the stack rooted in
the NIC are tricky (but on that point I am not sure). I believe (based on
your postings) that you are aware that a NotifyObject is not an option for a
NIC.

Good Luck,
Dave Cattley
Consulting Engineer
Systems Software Development