Change Nic Speed with batch file

Posted on 2009-04-22
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!
Question by:techbeausejour

    Author Comment

    The nic card is the following :
    Integrated Broadcom NetLink Gigabit Ethernet Controller (10/100/1000 NIC)
    LVL 28

    Expert Comment

    LVL 10

    Accepted Solution

    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.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
    If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    794 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now