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: A question about the host file

07 Feb 2015   #1
AirPower4ever

Windows 7 Pro 64-bit
 
 
A question about the host file

So I am chasing another problem down when I came across this and I wanted some advice. My systems are Windows 7 64-bit, Home and Pro. In the C:\Windows\System32\drivers\etc folder there is the file called "hosts". Now on all my other systems there is just the one file, but my system seems to have some extra ones. Here is what I have

hosts (last modified with today's date)
hosts_bak_360 (last modified with 11-25-2014)
hosts_bak_750 (last modified with 2-5-2015)

I am wondering if this is OK or if it OK to delete the 360 and 750 since those have older dates; leaving the most current one. I did open them using the Notepad, all look to have the same information and IP's. So just wondering. Thanks


My System SpecsSystem Spec
.
08 Feb 2015   #2
Tookeri

Windows 7 Pro 32
 
 

The "bak" files appear to be backups so they should be ok to delete. But why do you have them I wonder. Maybe you have some program installed that has modified the hosts file and created the bak files. If so, it would probably only create a backup when it actually modifies the original hosts file, so I would do a non-visual comparison first to verify if they're identical.

Start a command prompt(cmd.exe) and change the current directory with this command:
cd C:\Windows\System32\drivers\etc

Then do a FC(File Compare), example:
fc hosts hosts_bak_360
My System SpecsSystem Spec
Reply

 A question about the host file




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Host file modification
Solved I have a problem that after editing my Windows Host file, I can't save it :shock: Can someone help me with what I need to do, or it there is a tutorial on the subject :o Thanks in advance Oldarnie
General Discussion
Host file
Where is the Host file located in Windows 7? Clint
General Discussion
Cannot Config Host file
My problem is: I config my host file to go facebook (my country prevent me to go there :( ) and It work probably to one day... I cannot go to facebook, and I checked my host file again. It's still no change from that time, but there is a small thing: host file now has a key icon at left-bottom....
General Discussion
Can't add new Host file
I've always been able to update my "Host" file from time to time. C:\WINDOWS\system32\drivers\etc\HOSTS I add something to the file bur Win7 wouldn't let me save it in the "etc" folder becase of lack of permission. How can I override that?
System Security
Windows 7 Host File
Hi all, just joined, so hope I'm in the right area :D When editting the Windows Host File to block web sites, does editting this file affect EVERY user on the system? I'm running Windows 7 Ulimate with 2 users. Me, being Administrator. Thank you.
Customization
Which host file to use?
This is my first time with a 64 bit OS. I usually have to use the Hosts file to resolve my DNS on my XP machine. Do I use the hosts file in the same location that XP 32bit was for Win 7 64bit (windows\system32\drivers\etc\Hosts)? Or, is there another hosts file location that 64bit OS uses?
Network & Sharing


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 07:46.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App