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

Windows 10 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

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

 A question about the host file

Thread Tools

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
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
Editing host file
Sorry if this is in the wrong thread, feel free to move if needed :) I am trying to edit the host file but keep getting access denied even though I am admin. I did a search online and have tried everything that was suggested, I have tried opening notepad by right clicking and 'run as admin'. I...
General Discussion
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 02:39.
Twitter Facebook Google+