Get New IP Address in Windows PC

Mukul Rana
3 Min Read
New IP Address

“Did you really want to change your IP address on your Windows PC? Then this article is for you. In today’s article, you will find out ‘How to Change Your IP Address’ and also get the solution if you face any issues changing your IP address. I hope you read the complete article!”

To obtain a new IP address for your PC using Windows command codes, you can release and renew the IP address lease from your DHCP (Dynamic Host Configuration Protocol) server.

  • Open Command Prompt with administrative privileges:

Press Windows key + X.

  • Select “Command Prompt (Admin)” or “Windows PowerShell (Admin)” from the menu.
  • In the Command Prompt window, type the following command to release the current IP address lease:
   ipconfig /release
  • Press Enter.
  • Once the release process is complete, type the following command to renew the IP address lease:
   ipconfig /renew
  • Press Enter.
  • Wait for a moment while Windows negotiates with the DHCP server to obtain a new IP address. Once the process is complete, you should see a new IP address assigned to your PC.
  • You can verify your new IP address by typing:
   ipconfig
  • Press Enter.

This command will display network configuration information including the new IP address, subnet mask, default gateway, and DNS servers.

If your IP address remains the same after attempting to release and renew it using the ipconfig command, it’s possible that your network configuration is set up to use a static IP address instead of obtaining one dynamically from a DHCP server. In this case, you might need to manually change your IP address settings. Here’s how you can do it:

  1. Open Control Panel.
  2. Go to “Network and Sharing Center.”
  3. Click on “Change adapter settings” on the left sidebar.
  4. Right-click on the network adapter you’re using (usually labeled as “Ethernet” or “Wi-Fi”) and select “Properties.”
  5. In the properties window, select “Internet Protocol Version 4 (TCP/IPv4)” and click on the “Properties” button.
  6. If “Use the following IP address” is selected, make a note of your current IP address, subnet mask, default gateway, and DNS server addresses.
  7. Change the settings to “Obtain an IP address automatically” and “Obtain DNS server address automatically.”
  8. Click “OK” to save the changes.
  9. Close all windows and go back to Command Prompt.
  10. Run the ipconfig /release command again followed by ipconfig /renew.

If your IP address still doesn’t change, it’s possible that your DHCP server might be configured to always assign the same IP address to your PC based on its MAC address. In this case, you may need to contact your network administrator or Internet service provider to inquire about the IP address assignment policy.

Share This Article
16 Comments