« Windows 8 Security Features | Main | A New TDL4 with a Stealthy New Twist »

How to Fix a broken Internet Connection

Losing your Internet Connection is something everyone dreads, but unfortunately, it's a rather frequently encountered complaint.  In this article, I'll discuss some rather easy and often successful solutions that you can try to re-establish network connectivity.

Tip: Try each of these steps in succession until you find the one that works!

Reboot your computer

When your computer restarts, Windows automatically tries to establish a network connection and often times a simple reboot is all you need to get going online, again.

Use the Windows Network Repair Option

Right-click the Network Icon in the System Tray area (lower right corner of your desktop) & choose the Diagnose and Repair option.

Allow the repair to proceed and when it is done, test whether your internet connection has been restored.


Click on the Start button and then choose the Control Panel option.
Depending on your view, Double-click on the Network Connections icon or the Network and Sharing Center option
Click Troubleshoot Problems ->  Internet Connections.
Let the troubleshooting Wizard guide you through the repair options (basically just click Next when requested to).
When repair is complete, check to see if your internet access has been restored

Configure LAN settings to automatically detect network settings in Internet Explorer (all versions):

1) Under “Tools” (or the Gear Icon in IE9) in the browser tool bar select “Internet Options”.
2) In the “Internet Options” window that pops up, click the “Connections” tab at the top.
3) Click “LAN Settings” near the bottom of the “Connections” section.
4) Place a checkmark in the "Automatically Detect Settings" checkbox to select it.
5) Click “OK” to close the “Local Area Network (LAN) Settings” window.
6) Click “OK” to close the “Internet Options” window.

Manual steps to restore Internet Connectivity

Create a batch file to run relevant IPConfig commands

  • Open Notepad
  • Copy/paste the bolded text (below) into Notepad:

IPCONFIG /release


IPCONFIG /flushdns

IPCONFIG /registerdns

  • On the Notepad Menu, Click File -> Save As
  • in the "Save as type" Box: Use the pull down menu set the "Save as type" to "All Files (*.*)"
  • In the File Name box type: dns-reset.bat
  • Then, save dns-reset.bat to your Desktop

Next, run dns-reset.bat by doing one of the following (depending on your operating system):

In Windows XP

  • Double-click dns-reset.bat on your desktop & allow it to run

In Windows Vista and Windows 7

  • Right-click the dns-reset.bat icon on your desktop and & Select "Run as Administrator"



A Black Command Prompt Window will open and commands will quickly flash by as they execute.
After the Window Closes, attempt to connect to the internet again.

Repair a the Winsock Chain & Reset the Internet Protocol (TCP/IP Stack)

Ocassionally, connection problems are caused by a corrupted or broken Winsock Chain.  This sometimes happens after a antispyware or anti-malware program has removed a malicious component (LSP Provider) of an infection that embedded itself into the Winsock chain.  To repair this:

In Windows XP

Run WinsockFix to Restore the Winsock chain and reset the TCP/IP Stack:

In Vista & Windows 7

You must manually create and run a command line script (batch file) to restore the Winsock chain & reset the TCP/IP Settings (stack)

  • Open Notepad
  • Copy/paste the following bolded text into Notepad:

netsh winsock reset catalog
netsh int ip reset

  • On the Notepad Menu, Click File -> Save As
  • in the "Save as type" Box: Use the pull down menu set the "Save as type" to "All Files (*.*)"
  • In the File Name box type: fixwinsock.bat
  • Then, save 0the file to your Desktop as fixwinsock.bat
  • Right-click fixwinsock.bat and & Select "Run as Administrator"

A Black Command Prompt Window will open and commands will quickly run.
After the Window Closes,

REBOOT your computer

When your computer restarts, attempt to reconnect to the internet.

You can also trying repairing your internet connectivity issues by running the following Microsoft "Fix-its"

Fix It to Repair the TCP/IP Stack

Fix it to Repair Winsock Settings:



TrackBack URL for this entry:

Hosting by Yahoo!

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)