[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.4

Disappearing HOSTS File in XP Pro SP2

Asked by Mercury351 in Windows XP Operating System, Domain Name Service (DNS), TCP/IP

Tags: Microsoft XP Pro SP2, HOSTS file, internet, security, registry, service (local)

Hello,
I recently started using XP Pro SP2, installing it not long ago.  The system hasn't had any time to be infected by any malware.  Aside from FireFox 3.5.1, WordPerfect Suite 12, WinAmp 5, and my drivers, I haven't installed much in it.  I have a program called Adfree 3.2. It is an ad blocker which relies on the system HOSTS text file to block ads, substituting any small GIF image of your choice in its place.  I correctly reconfigured it to place its HOSTS file in the
C:\WINDOWS\system32\drivers\etc
folder.  This is the beginning of the Adfree 3.2 HOSTS file which I have updated with newer advertisement server locations.  I estimate there are about 1,890 server locations.  The HOSTS file is 56K bytes:
===================
#
# Hosts file created by AdFree
#

# localhost: Needs to stay like this to work
127.0.0.1   localhost

# Other servers: These servers are directed towards
# AdFree to be filtered. You must alter these from
# within the AdFree program.

127.0.0.1   123banners.com
127.0.0.1   247media.com
127.0.0.1   24pm-affiliation.com
127.0.0.1   7adpower.com
127.0.0.1   911promotion.com
127.0.0.1   a.as-us.falkag.net
127.0.0.1   a.consumer.net
127.0.0.1   a.r.tv.com
...
===================

However, I am having a problem with XP Pro SP2.  Every time I start any operation, no matter what it is, XP automatically deletes the HOSTS file.  No matter if I start any browser, IE or FireFox, Windows Explorer, Notepad, even if I open any applet in "Control Panel" > "Administrative Tools", XP will delete the HOSTS file.  The system and Adfree need the HOSTS file to properly block ads.  I have spent over 12 hours trying find the solution online, but with no success.  I shut off the "DNS Client" service, I even tried shutting off the XP firewall, but nothing has worked.

I can get Adfree to work correctly, substituting a GIF of my choice in place of ads.  I must set the HOSTS file to "read only."  However, Adfree isn't really meant to function that way and I will run into problems if I try to "pause" it.  Plus, every time I start or exit Adfree, or shut off the system, I must change the "read only" setting.  Reading posts on the 'Net, I know others have had this problem, but they never posted their solution.    I know there is a either a service applet I can disable or Registry setting I can use to stop XP from deleting the HOSTS file.  Does anyone know what it is?
 
Related Solutions
Keywords: Disappearing HOSTS File in XP Pro SP2
 
Loading Advertisement...
 
[+][-]08/05/09 03:55 AM, ID: 25021941Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Windows XP Operating System, Domain Name Service (DNS), TCP/IP
Tags: Microsoft XP Pro SP2, HOSTS file, internet, security, registry, service (local)
Sign Up Now!
Solution Provided By: Timoros
Participating Experts: 3
Solution Grade: B
 
[+][-]08/05/09 04:42 AM, ID: 25022225Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/05/09 05:59 AM, ID: 25022849Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/05/09 09:28 AM, ID: 25025210Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/06/09 09:11 PM, ID: 25039944Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/07/09 06:28 AM, ID: 25042419Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/07/09 06:41 AM, ID: 25042541Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/07/09 07:30 AM, ID: 25043066Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/07/09 09:47 AM, ID: 25044684Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/07/09 10:19 AM, ID: 25044976Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/07/09 07:09 PM, ID: 25048011Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/08/09 01:22 AM, ID: 25048782Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/06/09 12:08 AM, ID: 25268982Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625