schalkburger
  • About me
  • Portfolio
  • Projects
  • Blog
  • Contact

Connection fix batch file

Posted on 22 August, 2010 in Tutorial
0
Internet-Fix
Share

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
pause

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

Post tagged with:

tipsWindows

Other posts you might like:

  • Image Resizing Solutions
  • The best file hosting downloaders
  • How to make WordPress Permalinks work in WAMP
  • Block Facebook with a hosts file
  • Author

    Schalk Burger

    Web developer & graphic designer

    read more

  • Latest Posts

    • Random featured Wikipedia article
    • Free blank WordPress theme
    • Anonymize external WordPress links
    • How to watch blocked videos
    • Block Facebook with a hosts file
  • Popular Posts

    • Interesting Wikipedia articlesInteresting Wikipedia articles
    • The big list of cheat sheetsThe big list of cheat sheets
    • Online stores with free international shippingOnline stores with free international shipping
    • The big list of infographicsThe big list of infographics
    • Weird Wikipedia articlesWeird Wikipedia articles
  • Categories

    • Code
    • Computers
    • Downloads
    • Gaming
    • General
    • Philosophy
    • Productivity
    • Programming
    • Software
    • Tutorial
  • Search

Get in touch with me

© 2012 Schalk Burger. Back to top

  • About me
  • Portfolio
  • Projects
  • Blog
  • Contact