Autoconfiguration Enabled

Posted on 2004-10-29
Last Modified: 2011-08-18
I have a computer that had massive amounts of popups. I ran a program from lava soft which removed them all. Now I can't get connected to the network. When I run from cmd prompt ipconfig /all I have autoconfiguration enabled and I can't do a release, renew. Is there someway to disable this so that I can once again get to the DHCP server? I hate to reimage this PC I'd really like to know what to do in this instance because I'm afraid with all the popup ads out there I'll be reimaging until the world ends. Thanks a bunch
Question by:Toninmd
    LVL 10

    Expert Comment

    Hi Toninmd,
    What error do you get when you do a "ipconfig /renew" ?


    Author Comment

    All adapters bound to DHCP do not have DHCP addresses. The addresses were automatically configured and can not be released.
    LVL 9

    Expert Comment

    shows the reg entry for disabling Automatic Private IP addressing.
    it is under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\adapter_name

    To fix your problem, though, I recommend reinstalling your TCP/IP protocol.
    Reinstall of TCP/IP using the nettcpip.inf file (usually located in the c:\windows\inf directory) is covered by:

    If no joy, run "sfc /scannow" from a command line (have your xp disk on hand).
    LVL 3

    Expert Comment

    It's probably corrupt, Ad-Aware can damage programs sometimes when it cleans.
    Try uninstalling TCP/IP, restart your computer, and then reinstalling it.
    Maybe do the driver for the NIC at the same time while your at it.

    Make sure you have the driver on your hard disk and the Windows CD before you uninstall them.

    I had a similar problem when I copied a partition that was in use, the tcp/ip driver became corrupt.

    LVL 2

    Expert Comment

    You may have a corrupted TCP/IP stack.  If that is the case, there is a command that resets it and is sometimes successful:

    Open a command prompt window and type:

    netsh int ip reset c:\logfile.txt (c:\logfile.txt being the location of the logfile that is written after the tcp/ip stack is reset)

    Two keys will be rewritten:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters and HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCP\Parameters

    I have seen the automatic private ip address in use when adware/spyware has hyjacked a machine.  Try removing as much as possible using Hyjackthis, and Spysweeper, which can be found: -- under download antispy tools.  Get as much as possible, then do a system restore to an earlier date.  Also, spyware can hyjack your machine, and if you try to forcefully remove it without uninstalling it in add/remove programs, can corrupt your TCP/IP stack beyond repair.

    If this doesnt work, you can do an in place upgrade without "reimaging."  Boot to the windows os cdrom, such as xp.  What OS are you running?  Assuming its XP, select the option to install windows xp, accept the liscence, then run a repair on the partition.  After the in place upgrade is finish, make when you boot up that you enable ICF, if this is on xp.  Make sure you have a firewall up on other OS's.  Then immediately run all of the critical updates for windows xp.


    Author Comment

    I forgot to say, this is a Windows 2000 system
    LVL 6

    Accepted Solution

    Sounds like you winsock.

    Follow this link.

    This ones for XP, but, it's worth a try.

    Alternately, you may follow these steps to rebuild your Winsock manually:
    1) Go to Control Panel | Internet Options | Connections | LAN Settings and clear all of the boxes.
    2) Re-create the Winsock2 registry entries:
    a. Un-install ICS (if installed).
    b. Un-install Dial-Up Networking. Do NOT reboot.
    c. Delete registry key HLM\System\CurrentControlSet\Services\Winsock2
    d. Re-install Dial-Up Networking. Reboot.
    e. Re-install ICS (if desired).

    A new command to repair this Winsock corruption problem is also available for users of Windows XP who have Service Pack 2 installed:

    1) click Start, click Run and type CMD and click OK.
    2) At the command prompt type: netsh winsock reset catalog (and press Enter)
    3) At the command prompt type: Exit (and press Enter)
    LVL 6

    Expert Comment


    Author Comment

    Thank you so much Vand. Downloading that winsock program did the trick. WOOHOO!!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    A Cisco router can be configured as a DHCP Server. There are advantages and disadvantages in making your Cisco router work as DHCP Server. Almost all the features for windows DHCP can be configured on Cisco-based DHCP server. Some of the features me…
    I was recently sitting at a desk at work with one of my colleagues and needed some information on my home computer. He watched as I turned on my home computer, established a remote session into it, got the information I needed and then shut it down …
    Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    845 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now