Fix Windows Network Adapter Low Speed
This is a very weird bug. I will describe the scenario first, then the hacky fix.
Scenario
Environment
- OS: Win11
- Network Adapter Name: Realtek Gaming 2.5GbE Family Controller
- Mother Board: Gigabyte Z690 UD AX DDR4
Description
I built a new PC with Gigabyte Z690 UD AX DDR4. The wifi 6 wireless adapter works fine, reaches 800+Mbps on my gigabit network; but the ethernet connection can only reach ~10Mbps.
This is super weird, the name is Realtek Gaming 2.5GbE Family Controlleras, the ethernet adapter should support 2.5G, and there is nothing wrong with the router.
Debug Process
- I plugged in a 2.5G usb C ethernet converter, it worked fine.
- When I use Ubuntu, the ethernet works fine (reach 900+Mbps).
From this debugging process, we know that the hardware should be fine. The problem most likely comes from Windows, or compatibility issue between windows and the network adapter (driver).
Solution
V1
The first time I got it working is by opening "Device", uninstall the device, and reinstall it.
After scanning, the network adapter is back, and the network speed is fixed (900+Mbps).
But this process has to be done every time a computer is booted.
V2 (auto)
This powershell script basically automate the previous solution using powershell.
It requires Adminitrator permission to run the script.
Running this manually everytime is not better than the previous solution, we have to auto-run it on system starts.
The commented out lines is for debugging purpose, to see if the script has really run.
Edit the following script to fit your scenario.
e.g. Update the deviceName
, and log path.
# echo "start" | Out-File -Append C:\Users\user\Desktop\debug.log
# date | Out-File -Append C:\Users\user\Desktop\debug.log
# Start-Sleep -Seconds 5
$deviceName="Realtek Gaming 2.5GbE Family Controller"
foreach ($dev in (Get-PnpDevice | Where-Object{$_.Name -eq $deviceName})) {
&"pnputil" /remove-device $dev.InstanceId
}
pnputil /scan-devices
# echo "finish" | Out-File -Append C:\Users\user\Desktop\debug.log
- Press Win key, search and open "Task Scheduler"
- Action -> Create Basic Task Wizard
- Give a name
- Use "When I log on" for Trigger
- Action should be "Start a program", then fill in the script path
- Enter
powershell <script-path>
- Enter
- Then Finish
- Go to Task Scheduler Library -> Your Task, check Run with highest priviledges
Restart the computer, it should now be fixed.
If it doesn't, you may need to debug.
- Check the variables in script
- Run the script in powershell as Administrator and see if the network speed is normal.
- Then restart and see
- If it still doesn't work, uncomment the commented out code to see if the code has really run
- If it still doesn't work, then I don't know, good luck
Microsoft, Realtek, and Gigabyte, I don't know which of you should be responsible for this bug, but this needs to be fixed.
A gaming motherboard can't game at 10Mbps!
I personally believe Microsft/Windows should take the blame, as it works fine on Ubuntu and the driver itself should be fine. Reinstalling the device fixes the problem could induce that a wrong driver is used (override the correct driver).
This solution is hacky and inelegant, but I can't find a better solution online.
Come on, Microsoft.