Network Repair in Windows XP 2003 and later

If you're new here, you may want to subscribe to Windows Reference RSS feed Thanks for visiting!

Windows XP and later provides you with a one step resolution to network problems on your PCs and Servers in the form of a Repair button under the properties of the network connection. This is a simple and effective way to resolve a network problem but do you know what exactly happens when you run this command?

windowsxp  repair windowsxp_repair2

The Repair button does none other than running the following list of commands in a sequence that otherwise be you who runs these commands one at a time.

Clear ARP Cache

Flushes the Address Resolution Protocol (ARP) cache which is equivalent to the command:

C:\> arp -d *

Clear & Refresh NetBIOS Cache

Flushes and refreshes the NetBIOS Cache which is equivalent to the commands:

C:\> nbtstat -R
    Successful purge and preload of the NBT Remote Cache Name Table.
   
C:\>nbtstat -RR
    Successful purge and preload of the NBT Remote Cache Name Table.

Clear DNS Cache, Refresh DHCP leases & Register DNS

Flushes the DNS cache and then refreshes the DHCP leases and then re-register the DNS. This is equivalent to running the commands

C:\>ipconfig /flushdns

Windows IP Configuration

Successfully flushed the DNS Resolver Cache.

C:\> ipconfig /renew

C:\>ipconfig /registerdns

Windows IP Configuration

Registration of the DNS resource records for all adapters of this computer has been initiated. Any errors will be reported in the Event Viewer in 15 minutes..

clearing cache

  • Share/Bookmark

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically each day to your feed reader.

Trackbacks & Pingbacks

No trackbacks/pingbacks yet.

Comments

netsh int ip reset

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required)