Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing NIC Speed and Duplex

Status
Not open for further replies.

PistolPete30

Technical User
Feb 28, 2002
31
GB
Hi

I have several hundred dell workstations with Intel PRO/1000 MT Network Cards. We need to change the settings on all of them to be 100Mbs, Full Duplex.

Anyone know how to script this in order to prevent us having to change the settings on each individual PC.

THe PCs run Windows NT4 SP6.

Cheers

PP
 
You will need to find where the registry entries are for the network card. Find this out first and then try the following as a guide:-

dim objShell
dim WScript
dim RegKey

set objShell = WScript.CreateObject("WScript.Shell")
On error resume next
RegKey = objShell.RegRead(<reg.key>)
If err.number then
WScript.echo ("Reg key does not exist")
esle
WScript.echo ("Reg Key Exists")
End If

Naturally all I have done here is given you the information to read from the registry, you will need to perform changes to the entries as well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top