ProLiant Servers (ML,DL,SL)
1752592 Members
2919 Online
108788 Solutions
New Discussion юеВ

Re: DISABLE 2nd NIC CARD IN UNATTENDED INSTALL

 
SOLVED
Go to solution
Nabeebaccus
Occasional Advisor

Re: DISABLE 2nd NIC CARD IN UNATTENDED INSTALL

Hi Mike,

Could you give me the syntax you use to disable one network card on a DL.

I have this:
PCI\VEN_14E4&DEV_1648&SUBSYS_00D00E11&REV_10\4&19638ECB&0&10E0
Name: HP NC7782 Gigabit Server Adapter
Hardware ID's:
PCI\VEN_14E4&DEV_1648&SUBSYS_00D00E11&REV_10
PCI\VEN_14E4&DEV_1648&SUBSYS_00D00E11
PCI\VEN_14E4&DEV_1648&CC_020000
PCI\VEN_14E4&DEV_1648&CC_0200
Compatible ID's:
PCI\VEN_14E4&DEV_1648&REV_10
PCI\VEN_14E4&DEV_1648
PCI\VEN_14E4&CC_020000
PCI\VEN_14E4&CC_0200
PCI\VEN_14E4
PCI\CC_020000
PCI\CC_0200
PCI\VEN_14E4&DEV_1648&SUBSYS_00D00E11&REV_10\4&19638ECB&0&11E0
Name: HP NC7782 Gigabit Server Adapter #2
Hardware ID's:
PCI\VEN_14E4&DEV_1648&SUBSYS_00D00E11&REV_10
PCI\VEN_14E4&DEV_1648&SUBSYS_00D00E11
PCI\VEN_14E4&DEV_1648&CC_020000
PCI\VEN_14E4&DEV_1648&CC_0200
Compatible ID's:
PCI\VEN_14E4&DEV_1648&REV_10
PCI\VEN_14E4&DEV_1648
PCI\VEN_14E4&CC_020000
PCI\VEN_14E4&CC_0200
PCI\VEN_14E4
PCI\CC_020000
PCI\CC_0200

And I want to disable Adapter2.

When I use devcon with the ID of the adapter2, it aplies on both network card.
I have try all what i can to work on the adpater2, like character *, but no success.

Can you help me please.

Thanks.
Mike Ling UK
Occasional Advisor

Re: DISABLE 2nd NIC CARD IN UNATTENDED INSTALL

I discovered that DEVCON only works on the first part of the PCI ID so everything after the final \ is ignored. The final section of the PCI ID defines the unique instance of the NIC so DEVCON disables all of the NICs of a given type - really not helpful if you have multiple NICs of the same type!?!?!?

After much searching I "stumbled" on a forum post by a MVP who posted some VBscript explaining how to do it using the FolderItemVerb of the WSH Shell object and it actually works !!

Here is the URL:

http://groups.google.com/group/microsoft.public.scripting.vbscript/browse_frm/thread/9f82ef9e7bb12ff3/2b3fab1141c6c93e#2b3fab1141c6c93e

Mike
gldiii
Frequent Advisor

Re: DISABLE 2nd NIC CARD IN UNATTENDED INSTALL

Nabeebaccus,

If you use the instance id you will be able to narrow it down to the one nic:

devcon disable =net @PCI\*\*11E0

However, once you get to this point I'm not sure if it will be able to disable it or not. On my DL380G5 with the HP NC360T PCIe DP Gigabit Server Adapter #2, it finds the correct instance, but it just comes back with Disable Failed :-(. Good luck if you still need to do this.