Reset IP Address of Computer or Router

Here is how to reset your IP address in the event you lose connectivity on your local network or the Internet. It sometimes becomes necessary to manually renew your computer’s IP address.  If you suddenly realize you do not have an Internet connection, you can often right-click the network icon in the taskbar near the clock on your desktop and select “Troubleshoot Problems.” This will go through a process of resetting your IP address. Or you can perform the following steps:

  1. Go to the Start menu and type cmd in the search box and hit enter.
  2. Type ipconfig /release and hit enter.
  3. Type ipconfig /renew and hit enter.

reset IP address

Your should receive an IP address similar to that of your router. For example, if your router’s internal IP address is, then the IP address of your computer should be similar. In most cases the last digit in the octet will change. So you computer may have an IP address such as If it returns a generic IP address such as 169.254.x.x, then you know you have more serious issues with your network configuration, as your computer is having problems communicating with your router.

Reset IP Address of Router

If you have a cable modem, you may want to also renew its IP address.  First, go ahead and release the IP address on the PC, then shut the computer down. Next, unplug the cable modem for a couple of minutes, then plug it back in again. Once all of the modem lights are green, power up the PC again. It should automatically renew its IP at boot.

Note:  If you have a router, you’ll want to unplug it, as well, then plug it back in AFTER you plug in the modem, but before you power up the PC. The router will need to supply the PC with a new IP address.

Reset IP Address Conclusion

If the reset IP address option fails to help you regain Internet access, there could be other issues with your computer. You could have a mis-configuration of your network settings that prevents you from obtaining an IP address, or you could be receiving an IP address but you might have malware issues or incorrect DNS settings. If you need additional help to reset IP address or help you access the Internet, join our free forums or read our other networking tutorials.

About the Author: Dave

David is a tech professional with over fifteen years of experience in the IT fields of hardware, software and system administration.


  1. I am having this problem, Windows cannot renew my IP address, and I can’t get onto my wireless network. I tried your solution, but when I type in ipconfig/release, I get the message, “No operation can be performed on LAC while it has its media disconnected.”

    What does this mean, and what do I do?

    1. Try power-cycling your entire system. Shut down the PC, unplug the router, then unplug the modem. Plug and turn everything back on in reverse order…waiting a few minutes between each.

      If you’re still having problems, you might need to reinstall the drivers on your Network adapter.

  2. My internet’s been preforming poorly. It can hardly keep one tab running often with errors. It reads limited or no conectivity. When i click repair, it tries to renew ip address, then gives up after a few minutes and says: could not repair connection because could not renew ip address.

  3. I received the same message, “No operation can be performed on LAC while it has its media disconnected.” so I will have to reinstall the drivers. Is there a location that provides the instructions on how to do this?

  4. Do you have a wireless as well as a wired network connection on the PC? That message basically means that your network connection is unplugged (for a wired network connection the cable isnt plugged in). Most PC’s nowadays come with a wired connection and also if it is a Laptop and you have wireless built in, chances are you also have a wired connection as well. That message is probably referring to your wired connection and not the wireless part and so is normal to receive if you are using wireless and dont have a wired connection.

    1. This eans the computer cannot get an IP address from the router. You should directly connect to the router and try and login and make sure it is setup as a DHCP server.

  5. When i do this it just gives me the same ip address over and over again. I’ve tried it multiple times but it doesnt change. Is there any other way to get a different ip address?

    1. If the IP address is local to your LAN, such as then that’s fine. The router is giving you the first one it knows is available. But you can edit the TCP/IP properties of the network card and assign it a “static” IP address.

  6. I am having the same issue. I tried releasing and renewing the IP address and then I get the “no operation … ” message. The strange thing is that it will then momentarily look like I’m connected to the wireless network and then before I can even get a page to load I get the red X that says I’m not connected.

    I’m working on a laptop and I’ve never had issues before so I’m so frustrated. For years I’ve used a broadband card but when I visited family I’d connect to their wireless at home. I recently moved into a new apartment where everything is wireless and that’s when the issue started. I wouldn’t care except the apartment is a blackhole for both my cell phone and broadband card and everything moves at a snail’s pace. My roommate has connected to the wireless no problem.

    Any ideas or suggestions? Is it a conflict with my broadband card?

  7. Thank you very much for the tip on resetting the cable modem. This solved the problem for me on an HP Mini 110.

  8. i have the same problem. my laptop says i have no ip adress which i thought was impossible. i have no idea what to do. it wont let me on the internet or anything like that. some times if i press the reconnect button often enough it goes back on but then in a few days it wont work.

  9. I’m having a problem with Windows 7 not connecting to my D-Link DSL-G624T router. On start-up it sometimes connects and sometimes doesn’t. One or two restarts resolves the problem for that specific instance, but how do I resolve it completely?

    1. Wired or wireless connection? You might need to relocate the router to avoid interference if this is a wireless connection. Post on our forums for more help.

  10. Problem with acquiring ip address. After I followed your solution and gave some commands to renew it in run box, but my laptop says the system cannot detect or find any ip address. What can I do to fix that problem?

    1. Do you have a patch cable you can plug directly into the router with? If your router or laptop settings are incorrect, you will probably receive an IP address such as 169.254.x.x. Plug in, then reboot the laptop and see if that helps. You will then need to make sure both the router and the laptop have similar internal IP addresses, like and 912.168.1.2, for example. Also, if the router have encryption enabled, you’ll need to either reset that password or put in a new one.

  11. I get to the “Renewing your IP address@ bit after clicking on repair on the computer icon in the bottom right corner of the screen, but after that, it just stays the same. how long is this supposed to take?

    1. It might not give you a different one if it thinks the one you have is good. It should be similar to the routers IP address, such as (or similar). Try rebooting the modem, router then the PC last.

  12. My Dell Laptop still says “Windows could not finish repairing the problem because the following action cannot be completed:
    Renewing your IP adress

    For assistance, contact the person who manages your network.”

    I don’t know who does, and I was wondering if there was a way to fix this?

  13. hi, i have just tried setting up a wireless usb router to connect my desktop computer to the internet. everything works except for receiving packet data from the router when i try to repair the conection it tells me that it cant repair the connection any help??

    1. Did you physically plug into the router before you tried to connect wirelessly? Also some routers will want you to clone your computer’s MAC address. This setting needs to be configured within the router. All you have to do is click a button when you find it and it will automatically clone the MAC address.

  14. I’ll go to my web browser and type in, however I can’t login to my IP. I’ve been told that the user should be ‘admin’ and password ‘admin’ or ‘password’. I’ve tried those and it didn’t work. Another source said to leave the user blank and type the password in as ‘admin’. I just need to log in. Is there any way I can reset the login info?

    1. Did you get the login screen? What kind of router is this? If the password doesn’t work, there’s not much you can do but reset it, but you will need to learn what the default login is for that model. Check the manufacturer’s website.

  15. Hi, i’ve been trying to renew my ip address but when i type “ipconfig /all” everything comes up and i understand that as i am wireless the LAC would naturally be “media disconnected”

    but from there i type “ipconfig /release” but i only get the statment “No operation can be performed on Local Area Connection while it has it’s media disconnected”

    so i was just wondering if you could help me get around this problem ?


  16. One common cause of “failure to assign IP address” in a WIFI connection request is
    a bad or mismatch Network KEY between the router and the setings on the OS (e.g. Windows,..) running on the computer. Ensure that the key settings match.

    For example on WINDOWS, bring up NETWORK CONNECTIONS, right click on the WIRELESS NETWORK CONNECTION icon to bring up the Wireless Network Connection Properties. Verify that your preferred network is selected. Then click on “Wireless Networks” menu. Next. click on PROPERTIES. This will take you to your preferred
    network properties. Ensure your Network Authentication and Data Encription fields are
    set right (to match with the router settings).
    For example, Network Authenticartion: OPEN
    Data Encryption :WEP

    Next, verify that “The Key is provided for me automatically” button is NOT selected.
    Now enter the Network Key in the fields provided. This should match the key your
    router is configured with. That should do it.

    If you are still having problems, then check the wireless configuration settings in the router itself. You may have to play with the channel selection for uptimal performance.

  17. My employer’s ISP says that my IP address has been tagged/marked as spam…and this is why my emails are not getting to my employer. I have contacted my ISP and they tell me that my IP address is not tagged/marked spam????? I have tried the POWERCYCLE to get a new IP address, but it is not working?

    1. Your IP address comes from the ISP and might not change for quite a while. If the IP is not being blocked at the ISP level, your work might want to look into adding you to their whitelist.

  18. My notebooks connects to the Wireless network no problem when I power up. However, if I go in standby or drop the wireless connection for any reason, than it is impossible to restore it. The process gets stuck at Renew IP address… and then gives a “limited or absent connectivity” message.
    iconfig/release and /renew do not help either…

    1. I would run Windows update and also check the manufacturer’s website for updated drivers for the wifi adapter. It might be a known problem that has already been patched.

  19. OMG guys help! I have the same problem. I followed the steps, then tried to connect, then it connects for mayb 5 seconds then disconnects. This is so frustrating!!! I’ve fiddled with my internet for nearly 8 hours now and i cant find a solution! Please please help.
    (i reset router, changed my IP, and btw it says Media is disconnected on the command prompt, im guessing that means something).


  20. Hey i have an urgent question. My internet has been running really terrible so i clicked repair and it changed my ip address from to is this safe? Should i be worried that doesn’t seem right.

  21. Hello Dear Dave,

    I have tried all u recommended to change my ip address but my laptop keeps giving me the same ip address. It seems my ip is spammed. Wat do i do to unspam it? Please help.

    1. There are really two IP addresses. The main IP address comes from your ISP and it’s difficult to get that one to change. The internal IP address from your router can be changed manually, but that wouldn’t really help your case as the utside world only sees the IP address your Internet Provider has assigned you.

  22. I too am trying to renew my IP address. I got to this point by trying to repair my wireless connection. It has seriously been on this screen for an hour. It says ‘Repair Wireless Network Connection’, then ‘Windows is taking the following action’, then ‘Renewing your IP Address’. The details for the wireless network connection indicate that it is acquiring network address. I’m confused. Please help.

  23. I have the same problem as those above. I got my mother new dsl service. The modem/router came today. I spent hours fighting with it. Her computer can connect when cabled but the wireless does not connect and I can perform an ipconfig /release but the ipconfig /renew never returns a prompt. Using the Windows wireless software fails on the renew. The ip add of the WIFI card starts with the 169. like you mentioned above. I tried forcing an IP address and DNS and the Windows SW indicated a good connection instead of the limited/no connectivity but I could not ping the router or my PC that successfully connected over WIFI. HELP….

  24. hello, I have a toshiba s4910 computer then after 1 year my computer said you have limited connection like i tried unplug and pluging it back but there’s no effect, tried to call my network operator well he didn’t help neither. the only thing that helped me is my technician he said to put another operating system, so i did but my memory was cut i half and the old operating system has more memory than the new one and I’m desperate to fix it please help. its been 2 years now of suffering

    1. Installing a new Operating System to fix that problem is like replacing the engine on a car that only needs an oil change. Your only recourse is to start over. Backup, reformat the entire drive and load a single operating system. I assume by “memory” you mean hard drive space. If you have the recovery disks for the computer this is a relatively easy thing to do. But make sure you backup first, as you will lose all data.

  25. when I try to renem my ip addy i’m told this…. an error occured while renewing interface local are connection : An operation was attempted on something that is not a socket….. WTF ???

  26. Something else I keep seeing when trying to renew my ip address… an error occured while renewing interface local area connection : An invalid argument was supplied.

  27. Hey, just wanted to say this method works well. I didn’t find it here although I wish I would have, would have saved a lot of time and effort. Anyway, just wanted to stop in and say that the pc power down isn’t necessarily necessary. I did these steps to achieve this and it worked like a charm.
    Note: I had already cloned and uncloned my MAC address on my router and got an ip ban on both *lol* so such a simple fix was not possible for my problem.
    Also: using Cable Modem, Belkin router
    Most is the same as stated above was just making it a little shorter

    Released IP
    Unplugged Cable Modem
    Unplugged Router/ all connected Ethernet cords (only from router)
    Smoked a cigarette (not recommended)5 minutes or less is reason this is stated)
    Came back
    Plugged In Modem
    Plugged In Router/ Ethernet cords
    Let everything boot up
    Renewed IP in cmd

    Life is good again 🙂
    No waiting for pc to boot back up to find out if your work has paid off.
    Not trying to steal your glory, just thought a step-by-step would be a little easier to follow

  28. Go to Start, then in the run box type cmd and hit OK. Now you can type the ipconfig /renew command. It has to be run from that command prompt.

  29. Hi

    I have more than 500 systems in floor 1,2,3,4,5. I want all systems in one network, am using series network. plz give me best solution.

    Thank you

  30. okay well ill repair but it gets to renewing ip and it cant i changed that all but it wouldnt become the same can you help

Comments are closed.