DNS client event errors

Jason Sullivan

Posts: 32   +0
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
 
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"
 
Is this desktop or laptop? Windows OS version? When did this problem first start? What has changed prior to this issue?
 
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.
 
Back