DNS client event errors

By Jason Sullivan ยท 4 replies
Oct 30, 2012
Post New Reply
  1. Hello Everyone,

    I'm have a problem on my newer computer that I would like to know if anyone could give me hand trying to figure out.. Now this is not an error that is preventing the computer from working. But I get an error in the Event viewer constantly. Just makes me think that there is something wrong.

    Error is as follows:

    Log Name: System
    Source: Microsoft-Windows-DNS-Client
    Date: 9/12/2012 3:17:47 AM
    Event ID: 1012
    Task Category: None
    Level: Error
    Computer: Jay-PC
    There was an error while attempting to read the local hosts file.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <Provider Name="Microsoft-Windows-DNS-Client" Guid="{1C95126E-7EEA-49A9-A3FE-A378B03DDB4D}" />
    <TimeCreated SystemTime="2012-09-12T07:17:47.827236600Z" />
    <Correlation />
    <Execution ProcessID="1724" ThreadID="2152" />
    <Security UserID="S-1-5-20" />
    <Data Name="ErrorCode">3221225485</Data>
    <Data Name="Location">0</Data>
    <Data Name="Context">0</Data>

    Like I said earlier, If anyone can give me a hand with this I would greatly appreciate it. Also Im sorry if I'm posting this in the wrong Forum Topic. Wasn't sure what sub topic I was supposed to put it under..

  2. jobeard

    jobeard TS Ambassador Posts: 11,177   +990

    Easiest approach is to delete the host file
    \windows\system32\drivers\etc contains hosts

    you need ADMIN privileges
    First stop the client by getting a cmd prompt and enter net stop "dns client" (exactly as shown)
    now cd to \windows\system32\drivers\etc
    • del hosts
    then recreate it using echo "" >hosts
    (that is two consecutive double-quotes without anything between)

    now you should clear the event viewer log containing the error and follow up with
    net start "dns client"
  3. jobeard

    jobeard TS Ambassador Posts: 11,177   +990

    see this for a copy which blocks adverts
  4. tipstir

    tipstir TS Ambassador Posts: 2,477   +126

    Is this desktop or laptop? Windows OS version? When did this problem first start? What has changed prior to this issue?
  5. Jason Sullivan

    Jason Sullivan TS Member Topic Starter Posts: 32

    Sorry for taking so long to get back. This is a Window's 7 Desktop. Nothing has really changed that I can think of.. This problem has existed ever since I installed windows on my new computer.

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...