PC Review


Reply
Thread Tools Rate Thread

Changing NIC speed and duplex option

 
 
New Member
Join Date: Feb 2008
Location: harlem
Posts: 3
 
      6th Feb 2008
can some one help, I don't have a clue what i'm doing i need to change the dulplex to auto on HP 7100 7600 7700 please help.
 
Reply With Quote
 
 
 
 
New Member
Join Date: Dec 2007
Posts: 6
 
      7th Feb 2008
Quote:
Originally Posted by newbie007
can some one help, I don't have a clue what i'm doing i need to change the dulplex to auto on HP 7100 7600 7700 please help.
Can u tell us more, please...

How much machines does this apply?

You can use my or one of the scripts above.

Change all "SpeedDuplex" properties to "0"
"0" = AUTO

[14E41677]
;Broadcom NetXtreme Gigabit Ethernet (HP dc7100SFF)
;ComponentId=PCI\VEN_14E4&DEV_1677
RequestedMediaType=6
SpeedDuplex=0
[14E41600]
;Broadcom NetXtreme Gigabit Ethernet (HP dc7600SFF)
;ComponentId=PCI\VEN_14E4&DEV_1600
RequestedMediaType=6
SpeedDuplex=0
[8086104A]
;Intel(r) 82566DM Gigabit Network Connection (HP dc7700SFF)
;ComponentId=PCI\VEN_8086&DEV_104A
RequestedMediaType=6
SpeedDuplex=0
 
Reply With Quote
 
New Member
Join Date: Feb 2008
Location: harlem
Posts: 3
 
      7th Feb 2008
3,450 this will go throu the logon script that i have to put together : (

Yes but a bunch of boxes open up and ask to hit ok. I would like it to load then reboot the desktop all windows xp desktops

what is this and how did you look it up [14E41677]
;Broadcom NetXtreme Gigabit Ethernet (HP dc7100SFF)
;ComponentId=PCI\VEN_14E4&DEV_1677 RequestedMediaType=6
SpeedDuplex=0 if i have a different nic card how would i be able to add this . o far you have help me so much i thank you in advance your the best.


Quote:
Originally Posted by ddvelzen
Can u tell us more, please...

How much machines does this apply? 3,450 this will go throu the logon script that i have to put together : (

You can use my or one of the scripts above. Yes but a bunch of boxes open up and ask to hit ok. I would like it to load then reboot the desktop all windows xp desktops what is this [14E41677]
;Broadcom NetXtreme Gigabit Ethernet (HP dc7100SFF)
;ComponentId=PCI\VEN_14E4&DEV_1677 RequestedMediaType=6
SpeedDuplex=0 if i have a different nic card how would i be able to add this . o far you have help me so much i thank you in advance your the best.

[14E41677]
;Broadcom NetXtreme Gigabit Ethernet (HP dc7100SFF)
;ComponentId=PCI\VEN_14E4&DEV_1677
RequestedMediaType=6
SpeedDuplex=0v
Change all "SpeedDuplex" properties to "0"
"0" = AUTO

[14E41677]
;Broadcom NetXtreme Gigabit Ethernet (HP dc7100SFF)
;ComponentId=PCI\VEN_14E4&DEV_1677
RequestedMediaType=6
SpeedDuplex=0
[14E41600]
;Broadcom NetXtreme Gigabit Ethernet (HP dc7600SFF)
;ComponentId=PCI\VEN_14E4&DEV_1600
RequestedMediaType=6
SpeedDuplex=0
[8086104A]
;Intel(r) 82566DM Gigabit Network Connection (HP dc7700SFF)
;ComponentId=PCI\VEN_8086&DEV_104A
RequestedMediaType=6
SpeedDuplex=0
 
Reply With Quote
 
New Member
Join Date: Feb 2008
Location: harlem
Posts: 3
 
      7th Feb 2008
can you translate from dutch to english thanks
 
Reply With Quote
 
New Member
Join Date: May 2008
Posts: 2
 
      14th May 2008
Thanks to everyone who has contributed to this thread, it's been a great help to me.

I've expanded the in-scope NICs to include every entry I can find for Broadcom and Intel as of May 2008. Included below. I'm afraid that I haven't been particularly thorough with the comment fields, so often the vendor ID and card name are not updated, but the [xxxxxxx] entries are correct AFAIK.

JQ
====

[14E4169C]
;Broadcom NetXtreme Gigabit Ethernet (BCM5750A1M)
;ComponentId=pci\ven_14e4&dev_167d&subsys_0944103c
RequestedMediaType=6
[14E4166E]
;Broadcom NetXtreme Gigabit Ethernet (BCM5750A1M)
;ComponentId=pci\ven_14e4&dev_167d&subsys_0944103c
RequestedMediaType=6
[014E4170D]
;Broadcom NetXtreme Gigabit Ethernet (BCM5750A1M)
;ComponentId=pci\ven_14e4&dev_167d&subsys_0944103c
RequestedMediaType=6
[14E4170E]
;Broadcom NetXtreme Gigabit Ethernet (BCM5750A1M)
;ComponentId=pci\ven_14e4&dev_167d&subsys_0944103c
RequestedMediaType=6
[14E4165E]
;Broadcom NetXtreme Gigabit Ethernet (BCM5750A1M)
;ComponentId=pci\ven_14e4&dev_167d&subsys_0944103c
RequestedMediaType=6
[14E41654]
;Broadcom NetXtreme Gigabit Ethernet (BCM5750A1M)
;ComponentId=pci\ven_14e4&dev_167d&subsys_0944103c
RequestedMediaType=6
[14E4165D]
;Broadcom NetXtreme Gigabit Ethernet (BCM5750A1M)
;ComponentId=pci\ven_14e4&dev_167d&subsys_0944103c
RequestedMediaType=6
[14E41647]
;Broadcom NetXtreme Gigabit Ethernet (BCM5750A1M)
;ComponentId=pci\ven_14e4&dev_167d&subsys_0944103c
RequestedMediaType=6
[14E41653]
;Broadcom NetXtreme Gigabit Ethernet (BCM5750A1M)
;ComponentId=pci\ven_14e4&dev_167d&subsys_0944103c
RequestedMediaType=6
[14E416C6]
;Broadcom NetXtreme Gigabit Ethernet (BCM5750A1M)
;ComponentId=pci\ven_14e4&dev_167d&subsys_0944103c
RequestedMediaType=6
[14E4167D]
;Broadcom NetXtreme Gigabit Ethernet (BCM5750A1M)
;ComponentId=pci\ven_14e4&dev_167d&subsys_0944103c
RequestedMediaType=6
[14E41646]
;Broadcom NetXtreme Gigabit Ethernet (BCM5750A1M)
;ComponentId=pci\ven_14e4&dev_167d&subsys_0944103c
RequestedMediaType=6
[14E41677]
;Broadcom NetXtreme Gigabit Ethernet (BCM5750A1M)
;ComponentId=pci\ven_14e4&dev_1677&subsys_0944103c
RequestedMediaType=6
[14E41696]
;Broadcom NetXtreme Gigabit Ethernet for hp (BCM5750A1M)
;ComponentId=pci\ven_14e4&dev_1696&subsys_0944103c
RequestedMediaType=6
[14E4167B]
;Broadcom NetXtreme Gigabit Ethernet (BCM5750A1M)
;ComponentId=pci\ven_14e4&dev_167b&subsys_0944103c
RequestedMediaType=6
[14E41645]
;Broadcom NetXtreme Gigabit Ethernet (BCM5701)
;ComponentId=PCI\VEN_14E4&DEV_1645
RequestedMediaType=6
[14E41659]
;Broadcom NetXtreme Gigabit Ethernet PCI Express (BCM5750A1)
;ComponentId=PCI\VEN_14E4&DEV_1659
RequestedMediaType=6
[14E416A6]
;Broadcom NetXtreme Gigabit Ethernet (BCM5702X)
;ComponentId=PCI\VEN_14E4&DEV_16A6
RequestedMediaType=6
[14E41644]
;Broadcom NetXtreme Gigabit Ethernet (BCM5700/5401)
;ComponentId=PCI\VEN_14E4&DEV_1644
RequestedMediaType=6
[14E41648]
;Broadcom NetXtreme Gigabit Ethernet (BCM5704)
;ComponentId=PCI\VEN_14E4&DEV_1648
RequestedMediaType=6
[14E416A7]
;Broadcom NetXtreme Gigabit Ethernet
;ComponentId=PCI\VEN_14E4&DEV_16A7
RequestedMediaType=6
[14E416C7]
;Broadcom NetXtreme Gigabit Ethernet
;ComponentId=PCI\VEN_14E4&DEV_16C7
RequestedMediaType=6
[14E416A8]
;Broadcom NetXtreme Gigabit Ethernet (BCM5704S)
;ComponentId=PCI\VEN_14E4&DEV_16A8
RequestedMediaType=6
[10B79805]
;3Com EtherLink Server 10/100 PCI (3C980C-TXM)
;ComponentId=PCI\VEN_10b7&DEV_9805
Duplexmode=FullDuplex
media=100FULL
[10B79800]
;3Com EtherLink Server 10/100 PCI (3C980B-TX)
;ComponentId=PCI\VEN_10b7&DEV_9800
Duplexmode=FullDuplex
media=100FULL
[10EC8139]
;Realtek RTL8139 Family PCI Fast Ethernet NIC
;ComponentId=PCI\VEN_10EC&DEV_8139
DuplexMode=5
[80861004]
;Intel PRO/1000 Gigabit Desktop Adapter
;ComponentId=PCI\VEN_8086&DEV_1004
SpeedDuplex=5
[80861008]
;Intel PRO/1000 Gigabit Desktop Adapter
;ComponentId=PCI\VEN_8086&DEV_1008
SpeedDuplex=5
[80861009]
;Intel PRO/1000 Gigabit Desktop Adapter
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861031]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861032]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861033]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861034]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861035]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861036]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861038]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861039]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[8086103A]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[8086103B]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[8086103C]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[8086103D]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[8086103E]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861050]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861051]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861052]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861053]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861054]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861055]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861056]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861057]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861059]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80862459]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[8086245D]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861064]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861065]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861066]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861067]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861068]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861069]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[8086106A]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[8086106B]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[808627DC]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861091]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861092]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861093]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861094]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861095]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[80861229]
; Intel 82557-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_1009
SpeedDuplex=5
[8086100C]
;Intel PRO/1000 Gigabit Desktop Adapter
;ComponentId=PCI\VEN_8086&DEV_100C
SpeedDuplex=5
[8086100E]
;Intel PRO/1000 Gigabit Desktop Adapter
;ComponentId=PCI\VEN_8086&DEV_100E
SpeedDuplex=5
[80862449]
;Intel 8255x-based PCI Ethernet Adapters
;ComponentId=PCI\VEN_8086&DEV_100E
SpeedDuplex=5

[80861010]
;Intel PRO/1000 Gigabit Desktop Adapter
;ComponentId=PCI\VEN_8086&DEV_1010
SpeedDuplex=5
[80861002]
; Intel(R) PRO/100 LAN+ModemV90 CardBus Adapters
;ComponentId=PCI\VEN_8086&DEV_1002
SpeedDuplex=5
[10222000]
;AMD PCNET Family Ethernet Adapter (PCI)
;ComponentId=PCI\VEN_1022&DEV_2000
EXTPHY=2
[11063106]
;VIA VT6105M Rhine III Management Adapter
;ComponentId=PCI\VEN_1106&DEV_3106
ConnectionType=2
[11063043]
;VIA VT86C100A Fast Ethernet Adapter
;ComponentId=PCI\VEN_1106&DEV_3043
ConnectionType=2
[11063065]
;VIA PCI 10/100Mb Fast Ethernet Adapter
;ComponentId=PCI\VEN_1106&DEV_3065
ConnectionType=2
[12829102]
;DAVICOM 9102-Based PCI Fast Ethernet Adapter
;ComponentId=PCI\VEN_1282&DEV_9102
ConnectionType=4
[10110009]
;DC21x4 Based Network Adapter Driver
;ComponentId=PCI\VEN_1011&DEV_0009
ConnectionType=9
[10B79200]
;3Com EtherLink XL 10/100 PCI For Complete PC Management
;ComponentId=PCI\VEN_10B7&DEV_9200
Media_type=100FULL
 
Reply With Quote
 
New Member
Join Date: Jul 2008
Posts: 1
 
      16th Jul 2008
Do the PCs need to be rebooted/restarted for the changes to take effect or does the new registry entry dynamically refresh the network card speed ?
Thanks
 
Reply With Quote
 
New Member
Join Date: May 2008
Posts: 2
 
      12th Aug 2008
It's dynamic, no need to reboot. Slight care required though as it does drop the network connection momentarily, worth considering if this is part of a script...
 
Reply With Quote
 
New Member
Join Date: Feb 2009
Posts: 2
 
      11th Feb 2009
I have followed above post but the settings does not changes to Auto. It does change to 100 full but I need to make all the NIC to Auto. Also I want to run the vb script from my desk remotely on all 150 computers. Any help will be appreciated.
 
Reply With Quote
 
New Member
Join Date: Feb 2009
Posts: 2
 
      18th Feb 2009
My script is like this..it reads the text file and output the result in text file. when I run it ...it gives me Syntex error line 40 character 1. Any help will be appreciated. I am new to vb scripting. Thanks.

ON ERROR RESUME NEXT
SET WshShell = WScript.CreateObject("WScript.Shell")
Const HKEY_LOCAL_MACHINE = &H80000002
Dim oFSO, oTS, strMachines, strComputer, oWindows, oLocator, oConnection, oSys
Set StdOut = WScript.StdOut

'open list of client names
Set oFSO = CreateObject("Scripting.FileSystemObject")
Set oTS = oFSO.OpenTextFile("c:\temp\nic.txt")
Set oFSO1 = CreateObject("Scripting.FileSystemObject")

'get WMI locator
Set oLocator = CreateObject("WbemScripting.SWbemLocator")

'create log file
set oFSO2 = createobject("Scripting.FileSystemObject")
Set newfile = ofso2.CreateTextFile("c:\temp\_NotReachable.txt")
Do Until oTS.AtEndOfStream

'get next client name
strMachines = oTS.ReadLine

For Each strMachines in oTS
'Connect to remote WMI
Set oConnection = oLocator.ConnectServer(strMachines,"root\cimv2")
Set objPing = GetObject("winmgmts:{impersonationLevel=impersonate}")._
ExecQuery("select * from Win32_PingStatus where address = '" & strMachines & "'")
'Ping Pc to see it it is turned on
For Each objStatus in objPing
If IsNull(objStatus.StatusCode) or objStatus.StatusCode<>0 Then
newfile.writeline("Computer (" & strMachines & ") is not reachable")
newfile.writeline("")

strComputer = ""
Set fso = CreateObject("Scripting.FileSystemObject")
Set objRegistry = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")
sNetPath = "System\Currentcontrolset\Control\Class\{4D36E972-E325-11CE-BFC1-08002be10318}"

SetSpeedDuplex()
Sub SetSpeedDuplex()
Dim section, strValue, subkey, arrSubKeys

objRegistry.EnumKey HKLM, sNetPath, arrSubKeys
For Each subkey In arrSubKeys
objRegistry.GetStringvalue HKLM, sNetPath & "\" & subkey, "ComponentId", strValue
if not isnull(strValue) then
strValue = lcase(strValue)
section = left(replace(replace(strValue, "pci\ven_", ""), "&dev_",""), 8)
ReadDuplexIni section, subkey
end if
Next
End Sub

Sub ReadDuplexIni(section, subkey)
Dim ini, line, file

file = "spddplx.ini"
If fso.FileExists(file) Then
Set ini = fso.OpenTextFile(file, 1, False)
Do While ini.AtEndOfStream = False
line = ini.ReadLine
If lcase(line) = "[" & lcase(section) & "]" Then
line = ini.ReadLine
Do While Left(line, 1) <> "["
If left(line, 1) <> ";" and len(line) > 0 Then
UpdateReg line, subkey
End If
If ini.AtEndOfStream Then Exit Do
line = ini.ReadLine
Loop
Exit Do
End If
Loop
ini.Close
End If
End Sub

Sub UpdateReg(line, subkey)
Dim lRC

key = split(line, "=")
lRC=objRegistry.SetStringValue(HKLM, sNetPath & "\" & subkey, key(0),key(1))
End Sub
 
Reply With Quote
 
New Member
Join Date: Jul 2011
Posts: 1
 
      7th Jul 2011
xcopy C:\Devcon\i386\Devcon.exe c:\
c:\devcon.exe remove =net
shutdown -s -t 90
pause


The above script will copy devcon.exe to the c:\
Open a command prompt
Navigate to the devcon.exe file copied in step 1
Remove the Network Adapter
Reboot the system in 90 seconds


I have written and tested this script and it works.


Enjoy
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing NIC Speed/Duplex using GP Hasund Microsoft Windows 2000 Group Policy 1 29th Jun 2005 12:42 PM
Changing the speed and Duplex mode of NIC =?Utf-8?B?SmFyZWQ=?= Microsoft Windows 2000 2 13th Oct 2004 08:35 PM
Re: changing nic speed/duplex remotely Runlong Windows XP Security 0 21st May 2004 05:39 PM
Link speed and duplex Mike Pilgrim Windows XP Setup 0 7th Jan 2004 08:35 PM
Remotely changing Link Speed and Duplex bill Microsoft Windows 2000 1 5th Aug 2003 11:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:01 AM.