Change Nic Speed with batch file

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!
techbeausejourAsked:
Who is Participating?
 
TakedaTCommented:
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
 
techbeausejourAuthor Commented:
The nic card is the following :
Integrated Broadcom NetLink Gigabit Ethernet Controller (10/100/1000 NIC)
0
 
Michael PfisterCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.