Windows IP and network configuration can be displayed and managed with the ipconfig command from the command-line. Specifically, the ipconfig /renew command is used to reset or renew IP addresses in a Windows system. The following instructions can be applied to all modern Windows versions like Windows XP, Windows 7, Windows 8, Windows 10, and Windows Server.
Print Current IP Address and Configuration with ipconfig
Before renewing the IP address and configuration we can display the current configuration with the ipconfig
command like below. Also we can run this command again after renewing the IP address and configuration.
C:\>ipconfig
Windows IP Configuration
Ethernet adapter Ethernet0:
Connection-specific DNS Suffix . : localdomain
Link-local IPv6 Address . . . . . : fe80::557b:67:59aa:dcde%7
IPv4 Address. . . . . . . . . . . : 192.168.142.130
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.142.2
ipconfig /renew – Command To Renew IP Address and Configuration
We can renew the IP address and configuration with the ipconfig /renew
command like below.
C:\>ipconfig /renew
Windows IP Configuration
Ethernet adapter Ethernet0:
Connection-specific DNS Suffix . : localdomain
Link-local IPv6 Address . . . . . : fe80::557b:67:59aa:dcde%7
IPv4 Address. . . . . . . . . . . : 192.168.142.131
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.142.2
ipconfig /release – Release and Reset IP Address and Configuration
If we just want to release or reset the current IP address or configuration we should run the ipconfig /release
command which will reset but do not renew.
> ipconfig /release