ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

DISABLE 2nd NIC CARD IN UNATTENDED INSTALL

 
SOLVED
Go to solution
Jeff Ferraro
Occasional Advisor

DISABLE 2nd NIC CARD IN UNATTENDED INSTALL

We are using Proliant on 585 and 385s and we need to disable the second nic card in the unattend script, it's too much to do it manually when we have 100s of servers. Can anyone give some information on how this is accomplished?
12 REPLIES
Jeff Ferraro
Occasional Advisor

Re: DISABLE 2nd NIC CARD IN UNATTENDED INSTALL

Update: as of right now, we just copied the configuration of an already setup server and the applied that configuration to a newly setup server, and it successfully disabled the NIC card. This works, but we would prefer to do it all at one time while doing the scripted install.
Jeff Ferraro
Occasional Advisor

Re: DISABLE 2nd NIC CARD IN UNATTENDED INSTALL

Anyone on this one? I'm sure someone else has had to do it before.
Oleg Koroz
Honored Contributor

Re: DISABLE 2nd NIC CARD IN UNATTENDED INSTALL

Jeff Ferraro
Occasional Advisor

Re: DISABLE 2nd NIC CARD IN UNATTENDED INSTALL

I have checked through all of that. They don't really support unattended options, for that is more of a Windows based option. So my only hope right now would probably be to call MS, but I think I'll try to figure it out first.

thanks for the try.
Jeff Ferraro
Occasional Advisor

Re: DISABLE 2nd NIC CARD IN UNATTENDED INSTALL

Hmm, seems this is a done topic. I searched everywhere and can't find anything. It looks like I'll have to do it after the scripted install. I'm sure there has to be a way to keep windows from installing the NIC all together.
Oleg Koroz
Honored Contributor
Solution

Re: DISABLE 2nd NIC CARD IN UNATTENDED INSTALL

Mike Ling UK
Occasional Advisor

Re: DISABLE 2nd NIC CARD IN UNATTENDED INSTALL

This is somthing we needed to do as well but could not find a solution we liked - you would have thought this would be exposed by WMI but we can't find it if it is.

Two potential solutions present themselves: (the 1st solution we use internally)

1) Disable the NIC in the BIOS before installing the OS: Use RDP (or the DOS SmartStart Scripting Tool Kit) and use the CONREP.EXE utility passing in a config file (example attached for a DL380 G2)

2) Use Microsft's DEVCON utility. This is a device driver development utility so its a bit complex but if you can work it out it should work. See: http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q311272
Mike Ling UK
Occasional Advisor

Re: DISABLE 2nd NIC CARD IN UNATTENDED INSTALL

Actually there is a thrid option:

Use the CONREP utility from the Windows version of the SmartStart Scritping Tool kit to disable the NIC in the ROM once Windows is installed.

This uses an XML configuration file so is more complex to configure but once you get your head around the XML its not so dfficult. The HP documentation is quite good.

Mike
Jeff Ferraro
Occasional Advisor

Re: DISABLE 2nd NIC CARD IN UNATTENDED INSTALL

very nice, thank you. I'll try some of these methods.

jeff
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.