I was cleaning out my laptop and getting rid of some junk when I found an old batch file I had written to repair LAN connections. It works great, but only releases/renews the IP. Just save the code below as a .bat file and execute it in Windows whenever your Internet is acting up.

@ECHO OFF
TITLE Repair LAN by Paul Stamatiou
ipconfig /release
ipconfig /renew
ECHO.
ECHO LAN IP REPAIRED.
ECHO.
PAUSE
CLS
EXIT

Like this article? Leave a tip.

Handcrafted by Stammy for 19.29 years · Comments