Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. hosts file readonly

hosts file readonly

Scheduled Pinned Locked Moved System Admin
comquestion
7 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gpa2000
    wrote on last edited by
    #1

    Don't know where to put this question. Ad-Aware shows that there is an illegal entry in my hosts file: 205.177.124.66 auto.search.msn.com the file is read-only and i can't remove the line. I can't even remove the file when i do this it reappears. Even tried to fool my OS (WinXP+SR1) by writting a bat file which overwrites the hosts file by a modified one. Doesn't work. I am lost here. Pls assist. Grtz, Guus

    R 1 Reply Last reply
    0
    • G gpa2000

      Don't know where to put this question. Ad-Aware shows that there is an illegal entry in my hosts file: 205.177.124.66 auto.search.msn.com the file is read-only and i can't remove the line. I can't even remove the file when i do this it reappears. Even tried to fool my OS (WinXP+SR1) by writting a bat file which overwrites the hosts file by a modified one. Doesn't work. I am lost here. Pls assist. Grtz, Guus

      R Offline
      R Offline
      Roger Wright
      wrote on last edited by
      #2

      Search for the Hosts file, then right-click and open the properties page. Uncheck the Read-only property and close the page. Reopen the file in Notepad and remove the entry. If that doesn't work check the Security settings on the file and make sure you have permissions adequate to make changes; you may have to modify the settings there to let yourself edit the file. Heard in Bullhead City - "You haven't lost your girl -
      you've just lost your turn..." [sigh] So true...

      G 1 Reply Last reply
      0
      • R Roger Wright

        Search for the Hosts file, then right-click and open the properties page. Uncheck the Read-only property and close the page. Reopen the file in Notepad and remove the entry. If that doesn't work check the Security settings on the file and make sure you have permissions adequate to make changes; you may have to modify the settings there to let yourself edit the file. Heard in Bullhead City - "You haven't lost your girl -
        you've just lost your turn..." [sigh] So true...

        G Offline
        G Offline
        gpa2000
        wrote on last edited by
        #3

        I've editted the file, removed some stuff, saved it and it is there again. I removed the file and the next moment it is there again. I believe there is some proces scanning for this file and when it is modified it resets itself a moment later. On a 2.6GHz machine the moments come very fast. so i've tried everything you have written but to no avail. Anyone? Grtz, Guus

        R 1 Reply Last reply
        0
        • G gpa2000

          I've editted the file, removed some stuff, saved it and it is there again. I removed the file and the next moment it is there again. I believe there is some proces scanning for this file and when it is modified it resets itself a moment later. On a 2.6GHz machine the moments come very fast. so i've tried everything you have written but to no avail. Anyone? Grtz, Guus

          R Offline
          R Offline
          Roger Wright
          wrote on last edited by
          #4

          Damn... This is risky, but try it. WinXP monitors critical system files for changes, and replaces them with a fresh copy if they are changed. Try shutting off the System Restore function (sorry - I don't have a copy running right now and can't provide detailed instructions), then making the suggested changes. What I think is happenning is that the OS is detecting your changes and replacing the file with a corrupted copy. If you disable that function, then enable it after you get everything right, it may take a copy of your changed file and use it for future repairs. I wish I could tell you the location of the reference files XP uses - you could then modify that copy directly - but I can't without a copy of XP running to look at. Heard in Bullhead City - "You haven't lost your girl -
          you've just lost your turn..." [sigh] So true...

          G 1 Reply Last reply
          0
          • R Roger Wright

            Damn... This is risky, but try it. WinXP monitors critical system files for changes, and replaces them with a fresh copy if they are changed. Try shutting off the System Restore function (sorry - I don't have a copy running right now and can't provide detailed instructions), then making the suggested changes. What I think is happenning is that the OS is detecting your changes and replacing the file with a corrupted copy. If you disable that function, then enable it after you get everything right, it may take a copy of your changed file and use it for future repairs. I wish I could tell you the location of the reference files XP uses - you could then modify that copy directly - but I can't without a copy of XP running to look at. Heard in Bullhead City - "You haven't lost your girl -
            you've just lost your turn..." [sigh] So true...

            G Offline
            G Offline
            gpa2000
            wrote on last edited by
            #5

            The solution was: I had to remove msconfd.dll which was in my system32 directory. I am curious how it got there in the first place... pestcontrol.com showed my this and it worked. Grtz, Guus

            R 1 Reply Last reply
            0
            • G gpa2000

              The solution was: I had to remove msconfd.dll which was in my system32 directory. I am curious how it got there in the first place... pestcontrol.com showed my this and it worked. Grtz, Guus

              R Offline
              R Offline
              Roger Wright
              wrote on last edited by
              #6

              Here's one way it can be created: Trojan.Bookmarker.Html[^] Glad you found a fix...:) Heard in Bullhead City - "You haven't lost your girl -
              you've just lost your turn..." [sigh] So true...

              G 1 Reply Last reply
              0
              • R Roger Wright

                Here's one way it can be created: Trojan.Bookmarker.Html[^] Glad you found a fix...:) Heard in Bullhead City - "You haven't lost your girl -
                you've just lost your turn..." [sigh] So true...

                G Offline
                G Offline
                gpa2000
                wrote on last edited by
                #7

                Many thanks. Your link was most useful. Seems that a Trojan.Bookmarker variant, Trojan.Bookmarker.B also found its way to my computer. Had to remove ctrlpan.dll also. Again Thnx Grtz, Guus

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups