Cannot Delete Old Hosts File For New One

Discussion in 'Spyware' started by George Orwell, Sep 3, 2006.

  1. I'm using Windows XP Pro with all the newer updates.

    I've always been able to delete the old Hosts file and install the new
    one. This time, however, Windows will not let me delete the old Hosts
    file. It keeps telling me it is in use or write protected. Neither is
    true.

    It is in C:\WINDOWS\SYSTEM32\DRIVERS\ETC

    Any suggestions?
     
    George Orwell, Sep 3, 2006
    #1
    1. Advertisements

  2. George Orwell AKA in alt.privacy.spyware on
    9/2/2006,after much thought,came up with this jewel:
    Have you installed any anti-Spyware programs that have locked it?

    max
    --
    Playing Nice on Usenet:
    http://oakroadsystems.com/genl/unice.htm#xpost
    My Pages:
    Virus Removal Instructions
    http://home.neo.rr.com/manna4u/
    Keeping Windows Clean
    http://home.neo.rr.com/manna4u/keepingclean.html
    Windows Help and Tools
    http://home.neo.rr.com/manna4u/tools.html
    Change nomail.afraid.org to gmail.com to reply.
    nomail.afraid.org is setup specifically for use in USENET
    Feel free to use it yourself.
     
    What's in a Name?, Sep 3, 2006
    #2
    1. Advertisements

  3. George Orwell

    Garrot Guest

    Boot into safe mode then delete it.
     
    Garrot, Sep 3, 2006
    #3
  4. That's why I mentioned that I have all the newer Windows updates.

    I have a feeling they may have placed some anti-malware control program
    on my machine, but I'm not sure.

    Does anyone know a way around this problem?
     
    George Orwell, Sep 3, 2006
    #4
  5. George Orwell

    Mr Nobody Guest

    Are you by chance using one of the newer versions of Zone Alarm for a
    firewall??? One of the options is to lock the host file. If you are, then
    go to the advanced section under Firewall tab and unlock it first.

    Mr Nobody
     
    Mr Nobody, Sep 3, 2006
    #5
  6. George Orwell

    Puzzlemuscle Guest



    Do you have any firewall like zonealarm which can lock the host file?
    ( I found this from:
    http://www.bluetack.co.uk/forums/lofiversion/index.php/t14837.html )

    Open ZoneAlarm > Firewall > Advanced
    Place a check in check the "lock host file check box"
    Click Ok

    Now reverse the steps and uncheck the "lock host file"
    Click Ok


    What about Windows Defender?

    Puzzlemuscle
     
    Puzzlemuscle, Sep 3, 2006
    #6
  7. That worked!

    I booted into Safe Mode w/Command Line. I then deleted the old HOSTS
    file and copied the new one from my download directory to the proper
    Windows directory. Geez, it was like working in DOS again - remember
    the "good old days?" NOT!

    Thanks.
     
    George Orwell, Sep 3, 2006
    #7
  8. I run the freebie Zone Alarm. The box for locking the HOSTS file is
    unchecked.

    I did solve the problem with Safe Mode.

    It seems the last Windows update did have some anti spyware type of
    protection that evidently locked certain Windows directories. I'm going
    to have to go into a Windows XP group and ask how to get around that
    without having to start writing DOS batch files again. :eek:)
     
    George Orwell, Sep 3, 2006
    #8
  9. George Orwell

    Garrot Guest

    You can boot into safe mode with a GUI and still should be able to
    delete the file. Also, there is a utility called MoveOnBoot that will
    delete any file for you when you reboot the PC.

    http://www.snapfiles.com/get/moveonboot.html
     
    Garrot, Sep 5, 2006
    #9
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.