According to this:
<
http://www.windowsreference.com/general/network-repair-in-windows-xp-2003-and-later/>
The Repair Network Connection button does the following operations:
=============
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..
=============
You could just put the commands into a batch file and run that
directly, instead of hunting down the Repair button every time.
Something like this:
arp -d *
nbtstat -R
nbtstat -RR
ipconfig /flushdns
ipconfig /renew
ipconfig /registerdns