Repair Network using .bat file
Posted by Navi's on January 14, 2011
In LAN, some times got network error (TCP/IP error 26) while accessing the SQL server. To resolve this error we have to repair our network connection using Right Click on network icon -> Repair.
While using Repair Option sometimes the repair option not work and repair dialog still appear. To resolve that problem I created the .bat script to repair LAN without using Repair Option.
Here is the Repair script
arp -d * nbtstat -R ipconfig /flushdns nbttstat -RR ipconfig /registerdns
Open notepad and copy/past above script and save it as .bat extention.
Thats it.. 🙂