Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Renew Your IP Address With ipconfig in Windows

Renew a local DHCP lease, target a single network adapter, and check what to do if Windows cannot obtain an address.

Table of Contents

Run ipconfig /renew in Windows to renew a DHCP-assigned IPv4 address. Windows may receive the same address again. This refreshes your PC’s local network configuration and normally does not change the public IP assigned to your router.

How to reset IP address using Ipconfig command Picture 1

Renew a Windows network adapter

  1. Open Command Prompt and run ipconfig /all. Find the connected adapter and check its IPv4 address, default gateway, and whether DHCP Enabled says Yes.
  2. Run ipconfig /renew. To renew only Wi-Fi, use ipconfig /renew "Wi-Fi", substituting the adapter name from the command output.
  3. Run ipconfig again and check the resulting address and gateway. Test the connection before making other changes.

If a renew by itself does not help, run ipconfig /release "Wi-Fi" followed by ipconfig /renew "Wi-Fi". Releasing the lease temporarily disconnects that adapter, so avoid doing it over a remote session that depends on the same connection. See Microsoft’s ipconfig reference.

What to check when renewal fails

  • Media disconnected: Reconnect to Wi-Fi or check the Ethernet cable before retrying.
  • No DHCP lease: Check whether other devices can get an address from the same router. An IPv4 address beginning with 169.254 and a missing gateway may indicate a DHCP problem.
  • Manual address: These commands apply to DHCP-configured adapters. Check the gateway and DHCP settings before changing a manual configuration.

Renew a connection on a Mac or phone

On macOS, open System Settings > Network, select the connection, and go to Details > TCP/IP > Renew DHCP Lease. On Android or iPhone, try reconnecting to the Wi-Fi network. If you forget the network and rejoin it, have the Wi-Fi password handy. Leave IP assignment automatic unless your network administrator provided a manual configuration.

How to reset IP address using Ipconfig command Picture 2
Android Wi-Fi network settings. Use DHCP for automatic address assignment.
Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.