Ppendix, Xample, Cript to – Dell PowerEdge 2970 User Manual

Page 25: Etect, Treme, Dapters, Efore, Unning, Netset

Advertising
background image

Dell Enterprise Server Windows Installation Best Practices with Broadcom NetXtreme Devices

Without Broadcom NetXtreme II
Devices

With Broadcom NetXtreme II Devices

Execute cmdlines.txt or SetupParams
instructions.

Execute cmdlines.txt or SetupParams
instructions. netset.exe applies the network
settings. Bus/Device/Function designation
is successful for NetXtreme II devices.

Join the computer to the domain if specified
in the answer file.

Join the computer to the domain if specified in
the answer file.

Reboot and run Windows in the normal
mode, meaning the user is prompted with
the login dialog.

Reboot and run Windows in the normal mode,
meaning the user is prompted with the login
dialog.

9.5.

Appendix E – Example Script to Detect NetXtreme II Adapters Before
Running netset.exe


This is a portion of a Microsoft VBScript that can be incorporated as a function or in the
main part of a VBScript that will check for the installation of Broadcom NetXtreme II
devices so that netset.exe could be run if the NetXtreme II devices exist or not if they do
not exist. The drivers must be installed via Plug and Play, or via the Broadcom installer
prior to this portion of the script running.

On Error Resume Next
RegKey = 0
RegKey =
ws.RegRead("HKLM\SYSTEM\CurrentControlSet\Control\Network\{4D36E97
2-E325-11CE-BFC1-08002BE103133\Descriptions\Broadcom NetXtreme II
GigE (NDIS VBD Client)")
if RegKey <> 1 then

NX2Test = "Not Present"
else
NX2Test = "Present"
end if

You can then use the “NX2Test” variable to decide if netset.exe should be run or not.

Page 25

Advertising