What actions occur when I click Repair on a network connection in Windows XP and later?
A.If you right-click a network connection and select Status, Windows displays information about the connection's speed, duration of connection, and packet activity. For XP and later, a Repair option appears on the Support tab. When you click Repair, Windows attempts to resolve a range of problems. Specifically, the OS
Attempts to renew the DHCP lease, if the connection obtains its IP address through DHCP, using a broadcast message.
Flushes the Address Resolution Protocol (ARP) cache using the command
arp -d *
Flushes the NetBIOS cache using the command
nbtstat -R
Flushes the DNS cache using the command
ipconfig /flushdns
Reregisters the NetBIOS name and IP address with WINS using the command
nbtstat -RR
Reregisters the computer name and IP address with DNS using the command
ipconfig /registerdns
Windows XP網路修複的步驟
翻譯出處:taocsdn的專欄
問:如果你右鍵點擊了一個網路連接並選擇了"狀態",Windows顯示了一個包括以下資訊的對話方塊:連線速度、串連期間以及資料包的活動狀態(接收/發送數量)。XP以上的作業系統版本中,微軟在狀態屬性中新加入了一個"修複"的選項在Support Tab中,當你點擊了"修複",Windows將會嘗試修複你的網路連接。特別地說,作業系統按照以下步驟執行(實際上是調用內部的函數實現,本文只是類比一個類似的命令列流程):
1、如果此串連通過廣播方式從DHCP獲得了一個IP地址的話,修複過程首先會嘗試更新DHCP租用。
2、重新整理ARP緩衝(arp -d *)
3、重新整理NetBIOS緩衝(nbtstat -R)
4、重新整理DNS緩衝(ipconfig /flushdns)
5、重新在WINS上註冊NetBIOS名稱和IP地址(nbtstat -RR)
6、重新在DNS上註冊電腦名稱和IP地址(ipconfig /registerdns)