Connection fix batch file

Sometimes when your connection drops a bad DNS entry will be cached and you will need to either flush the DNS cache to get rid of it, or wait up to 24 hours for it to be dropped from the cache automatically.

You can run this small batch file I put together every time your connection drops or when you are having problems like ‘Server not found’.

A bat or batch file is is a text file containing a series of commands intended to be executed by the command interpreter, in the Windows environment this is usually COMMAND.COM or cmd.exe

Simply open up Notepad, paste the text below into it and save it as connectionfix.bat.

@echo off
ipconfig /release
ipconfig /flushdns
ipconfig /renew
ipconfig /all

Just run it whenever you are having connection, DNS, IP or server problems.