If you’re working in IT, there are a few things that you need to know no matter what. They are basically essential skills for any IT person. One of those skills is knowing how to renew and release IP addresses.
You’ll need to do this a lot during your IT career and it’s really useful for getting your computer reconnected to the Internet or to the local LAN network. Renewing an IP address can also help fix an IP address conflict.
In order to renew an IP address, go to Start, then Run and type in CMD to open a new command prompt window.
Now type in the following command:
ipconfig /renew
Whichever network adapters are currently connected on the computer will go out and have their addresses renewed with the DHCP server. If you are unable to renew an IP address, you can read my previous post on how to fix the Cannot renew IP address error.
To release an IP address, type in the following command:
ipconfig /release
This command will release the IP address for all connected adapters. Note that you can also refresh all DHCP leases and re-register DNS names using the registerdns command.
ipconfig /registerdns
If you’re having other issues, like being able to connect to your wireless router, but not to the Internet, read my previous post. Enjoy!












Hey thanks, very helpful! ;)
Thanks. This helped me renew my IP after using a VPN. My game on steam is actually downloading at full speed.
Thanks again!
I want to know the correct IPCONFIG command like (ipconfig release) on cmd mode?
This worked GREAT!!!
created a simple batch file that can do that for you, if (or when) you get tired of having to type this in every single time you want to renew your ip address. Copy-paste this code into notepad, and save it as a .bat file.
@echo off
ipconfig /release
ipconfig /renew
You can remove “@echo off” in the first line if you want to see it do its work, or/and you add “pause” (no quotation marks) if you want it to stay after having done its work. (try both, you can always change it after).
Another good trick is to save the .bat file anywhere else than into the desktop, find that file, right-click, send to > desktop, right-click the shortcut on your desktop>Properties>change icon… into anything you want (for example a mouse and a planet)… rename that shortcut, and just double-click it … tadaa!
for testing it, i suggest you use this code first (and if you want to check what it will tell you, what your new ip address is and so on):
ipconfig /release
ipconfig /renew
pause
hope it can prove itself to be useful :)
maxime