[Windows XP] Repairing the network connection using command line

Last update on October 17, 2009 03:33 PM by jak58
Published by jak58

[Windows XP] Repairing the network connection using command lines







Under Windows XP there is a small feature allowing you to repair a network connection. Go to the Network Connections options in Control panel (Control Panel / Network Connections), right click on the network connection you want and choose the repair option.

It is possible to run the same command by using the Netsh utility, within the following command line:

netsh int ip reset c:\ network-connection.log

c:\network-connection.log represents the address of the file in which the reporting will be stored

The netsh int ip ...command allows you to reset the TCP/IP.

With Windows XP Service Pack 2, you can use:

netsh winsock reset catalog

Resetting the socket which manages the TCP/IP. This can be used to handle network problems (browser problem, IP address related problems, etc ...)
Best answers for « Repairing the network connection using command line » in :
[Linux]Restarting the network interface using command lines Show [Linux]Restarting the network interface using command lines When setting up a network, specially if you need to verify that a DHCP server assigns IP addresses correctly, restarting the network interface using command lines rather than the...
Enable/disable a device from the command line Show Enable/disable a device from the command line Install Devcon Display all the devices in the system Enable/disable the device Other devices Here is a trick that allows you to enable / disable a device from the command line in XP....
Start/stop a service using command line Show Start/stop a service using command line The netsh tool (netsh.exe) can automate the startup or shutdown of a service through the following command line: To start a service: Net start name_of_service To stop a service:...
Enabling/Disabling the firewall using command line ShowEnabling/Disabling the firewall using command line Disable Windows XP firewall Enable the Windows XP firewall Under Windows XP SP2, it is possible to enable/ disable the firewall with the following command lines: Disable Windows XP...
List of open ports in command line ShowList of open ports in command line Whether you're running Windows or Linux / Unix, the following command in (console) will display the list of open ports on your computer: netstat -a For the use of advanced graphics tools, see What...
ImageMagick - Manipulate images with command lines ShowImageMagick - Manipulate images with command lines ImageMagick is a powerful command line tool that allows you to manipulate images. The advantage of this tool is that it allows: Automate work on images (this avoids...
Network tests and diagnostics ShowTesting the IP configuration Before doing anything else, you are advised to check the computer's IP configuration. Windows systems offer a command-line tool, called ipconfig, that lets you find out your computer's IP configuration. The output of...
Linux - The shell ShowIntroduction to the shell The command interpreter is the interface between the user and the operating system, hence the name "shell". The shell therefore acts as an intermediary between the operating system and the user thanks to command lines...
Network administrator ShowNetwork administrator A network administrator (also called a network manager) is in charge of maintaining and developing a business's network infrastructure. Skills Today, network infrastructure is such an integral part of most businesses that...