?
Solved

Change Nic Speed with batch file

Posted on 2009-04-22
3
Medium Priority
?
1,440 Views
Last Modified: 2013-11-10
Does anybody know of a code I can put in a batch file to change the Nic Speed easily? I have a user that needs to be 100 full at the office but Auto Negotiate at home..
I can't have him go into the network settings everytime, so Batch file would be an easy fix.

Please help!
0
Comment
Question by:techbeausejour
3 Comments
 

Author Comment

by:techbeausejour
ID: 24213835
The nic card is the following :
Integrated Broadcom NetLink Gigabit Ethernet Controller (10/100/1000 NIC)
0
 
LVL 29

Expert Comment

by:Michael Pfister
ID: 24214033
0
 
LVL 10

Accepted Solution

by:
TakedaT earned 2000 total points
ID: 24214808
I have found the registry value that changes the speed/duplex setting for the nic card in my pc, but I dont think the change will hold unless the adapter is disabled/reenabled.  To do that, you could use the devcon.exe tool available from microsoft.  It would be difficult to write a script like that for you without having the actual pc to test on.  Here is a link to the devcon utility.

http://support.microsoft.com/kb/311272

Below is were I found the setting on my pc.  Changing the *SpeedDuplex" value to a 4 made it change from auto to 100full.  Yours will likely be in a different place under the class.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0005]
"*SpeedDuplex"="0"
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Progress

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question