Share via

Can't renew ip address with ipconfig /renew. Command prompt hangs.

Anonymous
2012-09-11T19:51:05+00:00

At a command prompt, type in ipconfig /release. Fine. Then type ipconfig /renew and command prompt hangs. If I open a new command prompt and type ipconfig, same old ip number. Having trouble connecting to internet. Direct cable modem - know that's working because I can plug into laptop and connection is fine. PC I'm trying to use gives me "Local Area Connection doesn't have valid IP config".

Windows for home | Previous Windows versions | Internet and connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
  1. Anonymous
    2012-09-12T11:26:13+00:00

    Hi jtaj1106,

    I would suggest you to check using the below steps if this assists –

    Method 1:

    To check for the IP address you may use the command -

    a. Click Start. Type cmd in the Start Search box, and then press ENTER

    b. At the command prompt, type the following command, and then press ENTER:

    ipconfig /all (there is a space between ipconfig and /)

    the ipconfig /all command displays Windows TCP/IP settings for all your network adapters.

    If your IP address for your Local Area Connection is either 0.0.0.0 or 169.x.x.x (where x is any number), then your computer is not getting an IP address from the router.

    If that is the case, try this:

    •ipconfig /release in the command prompt and press ENTER

    •ipconfig /renew in the command prompt and press ENTER

    c. Test it again by typing ipconfig /all to see what the address is? (If you are on a home router, it should start with either 192.168.1.x or 192.168.0.x or 10.x.x.x)

    You may also refer to the below link and check according to the steps if all settings are proper -

    http://windows.microsoft.com/en-US/windows7/Change-TCP-IP-settings

    Method 2:

    If the issue persists you may check if resetting the TCP/IP helps-

    To reset the TCP/IP stack go to this article and follow the instructions to manually reset the

    TCP/IP components (you may use the manual method for Windows 7):

    http://support.microsoft.com/kb/299357

    Hope this helps.

    40+ people found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2016-07-22T01:25:34+00:00

    several commands you could try:

    ipconfig /flushdns

    netsh winsock reset

    netsh int ip reset

    also:

    turn off the wifi device entirely (hardware switch), wait 15 seconds, turn it back on

    disable network adapter, then enable 

    uninstall network adapter, restart windows

    if you are not sure, the problem is on your router side or not:

    turn off router, wait 15 seconds, turn on router, 

    try connecting with other computers

    10+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2017-02-17T11:18:55+00:00

    Ipconfig release and renew works most of the time...

    Sometimes it is necessary to restart the tcp, but is there a way which do not require restart of the computer?

    And sometimes it is necessary to restart rooter as it is not willing to give me a working address... Weird thing is thatmy workstation suffers most often and others only from time to time.

    1 person found this answer helpful.
    0 comments No comments