Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Hosts file keeps disappearing Win 7

03 Sep 2015   #1
WKVL

Windows 7 Professional 64-bit
 
 
Hosts file keeps disappearing Win 7

Hi,
This is my first post on sevenforums and hopefully not the last one

Actually my host file keeps disappearing ..... Why
Could someone give me ideas how to fix this issue.

Thanks.


My System SpecsSystem Spec
.
03 Sep 2015   #2
UsernameIssues

W7 Pro SP1 64bit
 
 

You might want to try Process Monitor to see what app is removing the file.

There is nothing to install - just download/open the zip and copy the files somewhere.

Run Process Monitor as admin.
Stop the data collection via Ctrl-E
Open the filter via Ctrl+L

Once the list of default filters appear, add this new filter:
Path > contains > Windows\System32\drivers\etc\HOSTS
Click on Add.
Click on Apply.
"OK" your way out of the filters.

Start the data collection via Ctrl-E
My System SpecsSystem Spec
03 Sep 2015   #3
WKVL

Windows 7 Professional 64-bit
 
 

Hi UsernameIssues - Okay will try and report back asap. thx
-------------------------------------------------------------
Till now nothing special I think, the only one item that result in:
Date & Time: 9/3/2015 2:39:27.7894469 PM
Event Class: File System
Operation: IRP_MJ_CREATE
Result: NAME NOT FOUND
Path: C:\Windows\System32\drivers\etc\hosts.ics
TID: 5180
Duration: 0.0000264
Desired Access: Generic Read
Disposition: Open
Options: Synchronous IO Non-Alert, Non-Directory File
Attributes: N
ShareMode: Read, Write
AllocationSize: n/a
My System SpecsSystem Spec
.

03 Sep 2015   #4
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Suggest: Check your AV logs/ quarantine. You don't get any pop up warnings that your Hosts file has been deleted?

What is your AV?

Personally I use software to monitor such things and I get prompted to allow/ deny changes to Hosts file.
Also other software creates rules on Hosts file modification/ deletion.
My System SpecsSystem Spec
06 Sep 2015   #5
WKVL

Windows 7 Professional 64-bit
 
 

Hi Callender - Thanks for your suggestions.

I'm using Avast Premier 2014, checked and could not find a way to detect changes to Hosts file with avast.
So will check RegWatcher right away.

Did full scan with Avast - result issues detected.
Logs and quarantine nothing special to report.
------------------------------------------------

Few days ago I restored my Win 7 backup (about 2 months old) till now the host file is still there ......
This will tell us that there was an virus responsible for this hosts file disappearing behavior.
My System SpecsSystem Spec
Reply

 Hosts file keeps disappearing Win 7




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Problem modifying hosts file, change file permissions?
Hi all,win7 Home Premium 64 bit. I'm having difficulties modifying my hosts file. Following guidance from this forum, I open Notepad++ as administrator & can navigate to and open the hosts file. But the "Save" option is greyed out, so I can't save directly to the original location. I can Save As...
General Discussion
Hosts file ignored and replaced with hosts.original
Hello. I am trying to use the hosts file. However both pings and web addresses still bypass the hosts file. I noticed that there is another file in the C:\Windows\System32\drivers\etc directory called 'hosts.original'. When ever I delete this file, it reappears seconds later. I have made sure that...
General Discussion
Hosts File
Hey, I was wondering, is there any internet performance gain if you put a commonly used website's IP (like Google) in your Hosts file, so it doesn't need to ask a DNS server? I mean, because I have 30 websites I go on at least 10 times each day, and it lags when I open all of them :D Thanks!
General Discussion
HOSTS File - Create a "Edit HOSTS file" Shortcut
How to Create a "Edit HOSTS file" Shortcut in Windows 7 and Vista The HOSTS file is a .txt file used in Vista and Windows 7 to map hostnames to IP addresses. Your computer checks this file first to resolve any network names to its corresponding IP address before it tries to check the Internet....
Tutorials


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:38.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App