How to Release and Renew an IP Address

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

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

release ip address

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!

More posts from the Networking Category

Netsh IP address change

Change IP address and DNS servers using the Command Prompt

test wireless network security

Test Wireless Security using WPA Cracker

Manage your Server

Install and configure DHCP server on Windows Server 2003

Why You Could Use a NAS at Home

Popular Posts This Month

5 Utilities for Changing DNS Servers in Windows Reviewed

windows defender

Windows Defender vs. Security Essentials vs Safety Scanner

youtube ie11 freezing

How To Fix Flash Crashes in Internet Explorer 11

bitlocker error

Fix “This device can’t use a Trusted Platform Module” When Enabling BitLocker

Comments [5]

  1. nick says:

    Hey thanks, very helpful! ;)

  2. bryan says:

    Thanks. This helped me renew my IP after using a VPN. My game on steam is actually downloading at full speed.

    Thanks again!

  3. danish says:

    I want to know the correct IPCONFIG command like (ipconfig release) on cmd mode?

  4. big a says:

    This worked GREAT!!!

  5. Maxime says:

    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

Leave a Reply