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!
Who is Participating?
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.

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.

techbeausejourAuthor Commented:
The nic card is the following :
Integrated Broadcom NetLink Gigabit Ethernet Controller (10/100/1000 NIC)
Michael PfisterCommented:
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.