TechSpot

DNS client event errors

  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
    Keywords:
    User: NETWORK SERVICE
    Computer: Jay-PC
    Description:
    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">
    <System>
    <Provider Name="Microsoft-Windows-DNS-Client" Guid="{1C95126E-7EEA-49A9-A3FE-A378B03DDB4D}" />
    <EventID>1012</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x4000000000000000</Keywords>
    <TimeCreated SystemTime="2012-09-12T07:17:47.827236600Z" />
    <EventRecordID>43436</EventRecordID>
    <Correlation />
    <Execution ProcessID="1724" ThreadID="2152" />
    <Channel>System</Channel>
    <Computer>Jay-PC</Computer>
    <Security UserID="S-1-5-20" />
    </System>
    <EventData>
    <Data Name="ErrorCode">3221225485</Data>
    <Data Name="Location">0</Data>
    <Data Name="Context">0</Data>
    </EventData>
    </Event>


    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..

    Thanks
     
  2. jobeard

    jobeard TS Ambassador Posts: 13,446   +324

    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: 13,446   +324

    see this for a copy which blocks adverts
     
  4. tipstir

    tipstir TS Ambassador Posts: 4,683   +86

    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: 34

    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.
     


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.