Solution to Windows 7 Auto configuration for IPv4 and IPv6 Address Problem

Hi Friends,

I have seen many people facing problem with autoconfiguration of IPv4 and IPv6 addresses in windows 7 operating system.

Basic Problems:

  • Problem in connecting to the network  with any IP input.
  • Problem in  changing or disabling Autoconfiguration IPv4 or IPv6 Address which is shown in ipconfig command.
Solutions:
  1. Type ” netsh winsock reset ” ( without quotes ) in the Command Prompt and press Enter.  ( Winsock is basically a specification of how networking software accesses the network services )
  2. Type netsh interface ipv4 reset   in command prompt and press Enter. ( For IPv4 address )
  3. Type netsh interface ipv6 reset   in command prompt and press Enter. ( For IPv6 address )
  4. ipconfig /flushdns   press Enter. ( Flushes the dns )

Finally Restart your Computer and you are done!

Enjoy 🙂

40 thoughts on “Solution to Windows 7 Auto configuration for IPv4 and IPv6 Address Problem

  1. hi,

    when i use the second command it says “There’s no user specified setting to be reset” please help.

    Thanks!!

  2. I did exactly what you said and when I finish rebooting I still have the problem.

    I even set a static IP address before restarting but it’s gone when the system comes back up.

    Any ideas?

  3. I am in the Windows 7 administrator account but it still refuses to do it, saying in spanish (which I can not read): “La operacion solicitada requiere elefacion (Ejecutar como administador.).”

    1. I ran into that issue (in english). Find the command prompt in the Start menu (under Accessories) and right click then select Run as Administrator. That will provide the ‘elevation’ you need.

  4. Hi bro, thanks for the information.
    The problem with IPv4 connectivity still remains the same even after I have tried to reset the winsock.
    Please help

  5. This problem showed up on my desktop PC a few days ago. I’ve run the commands suggested above and they all seem to work as expected but the problem persists. After rebooting it looks like nothing has changed. So at this time my desktop PC has no internet access. I’m using my laptop to submit this post. If anyone has a solution to this problem I’d love to have it.

    Thanks

  6. i have the same problem. Could there be an ipconfig file that is resetting the old address everytime the restart is run? and how do you rewrite the autoconfig?

  7. I also had this problem when i set up a new netgear wireless router in my home. My wife’s laptop was previously hard wired to a hub through which my internet op provided IP addresses via DHCP. When i wanted to take her laptop wireless, i could NOT get the autoconfigured IPv4 address to go away. I also followed these directions and they executed as indicated, but the IPv4 address remained anyway. So, i fixed the issue (for me at least) by going through the windows 7 control panel, completely deleting (removing) my wireless network connection, and then setting it up all over again. once i did this, windows saw my new wireless network. Once i entered the password, it connected with a properly assigned IP address (v4) from my netgear router and everything began working as expected. Bottom line, I had to completely remove the wireless network from windoze and start over again letting it discover the netgear router.

  8. IT WORKS… My wireless was just not connecting with this router *=(IPv4 and IPv6 said NOT CONNECTED).. Now after doing this, restarted the computer.. It all works.. 🙂 Internet is up and running 🙂

  9. sir i have a tp link router they said to configure ip address to 192.168.0.1
    but my connection fails and ip again changes

  10. To fix it, enter this from Command Prompt:

    C:\Users\Administrator> netsh interface ipv4 show inter

    result as:

    Idx Met MTU State Name
    — ———- ———- ———— —————————
    1 50 4294967295 connected Loopback Pseudo-Interface 1
    11 10 1500 connected Local Area Connection

    11: netsh interface ipv4 set interface 11 dadtransmits=0 store=persistent
    Next, enter
    Run > services.msc > disable DHCP Client service

    Final, restart your server.

    It Should work 🙂

  11. Thanks for the solutions, bro..

    I was facing problem in opening any website on IE, GoogleC and MozillaF & even AV was unable to update its database or login to messenger/skype. I was not sure what causing this all irritating problems when my internet connection is working on other nodes in the network but not on my laptop.

    Being not an system or network tech (although a database professional), I noticed (after struggling for 2 days) that ipv4 is on autoconfiguration and is setting some unwanted IP address as preferred IP.

    Your suggestion is quite super hit and I welcome my life in laptop back.

    Thanks a ton.
    Nishant

  12. Your solution worked for me on a Dell Window 10 2-in-1. I never had that auto-configuration IP issue before. Seems ridiculous. Thanks for the post.

    Vincent

  13. in cmd . when i type “netsh wlan show profile”
    its show that . your computer not auto configure… esa hi kuch show hota h

    what is solution bro????
    plz help me bro

Leave a comment