Reset IP Address of Computer or Router

| August 1, 2009

Reset IP address of your computer or router if you lose connectivity on the LAN or on 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 of your XP desktop and select “repair.” This will go through a process of resetting your IP address.

But if you do not have this option, you can go to START>RUN and type cmd.

reset IP address

At the command line type ipconfig /release (or winipcfg /release in earlier versions of Windows). Then hit ENTER.  Next, type ipconfig /renew and you should get a new IP address from the router. If this does not help, you will need to login to the router and delete the Mac address entry for your computer.

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 misconfiguration 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.

Category: Networking

Dave

About the Author ()

Dave has been providing free computer repair and tech support advice online since 2002. Join us on our forums and be sure to subscribe to our newsletter for weekly tips and other helpful computer articles. Connect with me on: Google+

Comments (50)

Trackback URL | Comments RSS Feed

  1. Erin says:

    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?

    • Dave Dave says:

      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. carl says:

    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. Keith says:

    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. Fehnris says:

    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.

  5. Fehnris says:

    I would try what Dave has mentioned about power cycling your equipment.

  6. meech says:

    When I try to renew it says unable to contact the dhcp server. What does that mean?

    • Dave Dave says:

      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.

  7. Aaron says:

    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?

    • Dave Dave says:

      If the IP address is local to your LAN, such as 192.168.1.2 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.

  8. Denelle says:

    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?

  9. Margaret says:

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

  10. jay says:

    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.

  11. Colin says:

    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?

    • Dave Dave says:

      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.

  12. Phong says:

    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?

    • Dave Dave says:

      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 192.168.1.1 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.

  13. Gwyn Davies says:

    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?

    • Dave Dave says:

      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 192.168.1.2 (or similar). Try rebooting the modem, router then the PC last.

  14. Serie says:

    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?

  15. chris says:

    ^

    Mine is doing the same thing

  16. josh says:

    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??

    • Dave Dave says:

      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.

  17. Daniel says:

    I’ll go to my web browser and type in 192.168.10.1, 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?

    • Dave Dave says:

      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.

  18. Jas says:

    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 ?

    Thanks

  19. scott harris says:

    everytime i start my laptop up i have to reset my ip address wireless or ethernet

  20. Alex says:

    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.

  21. Erica says:

    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?

    • Dave Dave says:

      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.

  22. Luca says:

    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…

    • Dave Dave says:

      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.

  23. Zac says:

    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).
    Help!

    -Zac

  24. Blake says:

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

  25. Muny says:

    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.

    • Dave Dave says:

      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.

  26. Geri says:

    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.

  27. Michael says:

    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….

  28. John says:

    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

    • Dave Dave says:

      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.

  29. PERFECTLY!I was able to get my internet up and running. Thank you.

  30. Steve says:

    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 ???

  31. Steve says:

    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.

  32. Dan says:

    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

  33. Noah says:

    I have a problem when i do this because when i type ipconfig itll open with java and itll close in a few seconds

    • Dave Dave says:

      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.

  34. murali says:

    Hi

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

    Thank you

  35. christian says:

    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