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: Host file

02 Mar 2012   #1

Windows 10 Pro 64-bit
Host file

Where is the Host file located in Windows 7?


My System SpecsSystem Spec
02 Mar 2012   #2

Microsoft Community Contributor Award Recipient

Win 7 Pro x64 / Win 10 Pro

It would be located at C:\Windows\System32\drivers\etc
My System SpecsSystem Spec
02 Mar 2012   #3
mickey megabyte

ultimate 64 sp1


Host file-hosts.png

oops - bongo was too quick!

My System SpecsSystem Spec

02 Mar 2012   #4

Windows 7 Ultimate x64 SP1

It's in the same spot it's always been located in...but you may have it hidden. Be very careful, though. You can do some damage by editing this file.
My System SpecsSystem Spec
02 Mar 2012   #5

64-bit Windows 10 Pro

Hello Clint,

In addition: :)

Hosts File : Use in Windows 7 / Vista
My System SpecsSystem Spec
02 Mar 2012   #6

Windows 10 Pro 64-bit

Thanks everybody. I found it.
My System SpecsSystem Spec
02 Mar 2012   #7

64-bit Windows 10 Pro

You're most welcome Clint. I'm glad that we could help. :)
My System SpecsSystem Spec
02 Mar 2012   #8

MS Windows 7 Home Premium 64-bit SP1

Dear Clint,
Welcome! Now that you have located the HOSTS file, you must ensure whether it's working or not!

Open your fav. Browser and type in the address If Google site opens up, you can be sure it's working. Updating the HOSTS file is another kettle of fish altogether.

I will suggest a program ,SPYWAREBLASTER, which is equally effective. Download site:
SpywareBlaster® Download
Now here's abit about Spywareblaster: Works for Internet Explorer, Firefox and most Web browsers. It uses a list of adware/spyware sites very similar to the one in the MVPS HOSTS file but without messing with the HOSTS file or the DNS Client service. There are 13 350 items in SpywareBlaster's database!

SpywareBlaster will even create an encrypted backup of your HOSTS file with its Hosts Safe option.

SpywareBlaster works by entering a list of adware/spyware sites to your browser's Restricted Zone and Blocked Cookie list. Updates have to be performed manually, weekly, for the free version of SpywareBlaster. Been using the program for years without a glitch. Highly recommended.

My System SpecsSystem Spec

 Host file

Thread Tools

Similar help and support threads
Thread Forum
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...
Network & Sharing
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
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
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:53.
Twitter Facebook