Go Back   Tech Support Forum > Microsoft Support > Windows 7 Support, Windows Vista Support

[SOLVED] Can't find Windows hosts file

This is a discussion on [SOLVED] Can't find Windows hosts file within the Windows 7 Support, Windows Vista Support forums, part of the Tech Support Forum category. I can't find the hosts file in the usual drivers/etc location on Vista Business. In fact, "etc" is missing from


Closed Thread
 
Thread Tools Search this Thread
Old 09-09-2008, 03:44 PM   #1
Registered Member
 
Join Date: Apr 2005
Location: United States
Posts: 271
OS: Windows 7 & 8



I can't find the hosts file in the usual drivers/etc location on Vista Business. In fact, "etc" is missing from the computer entirely. Where has it gone?

Tried searching the forums for a solution, BTW, but search isn't working currently.

__________________
bauhsoj is offline  
Old 09-09-2008, 11:11 PM   #2
Moderator
- Microsoft Support
 
jenae's Avatar
 
Join Date: Jun 2008
Location: Sydney
Posts: 5,984
OS: XP, Vista, Seven, & a whole host you would never have heard of.



Hi, I don't think search in Vista has ever worked correctly. What are you trying to do? Playing with the Hosts file can cause you to not be able to access internet, so be careful. You do know it is a hidden file by default. You will need to go to folder options and enable "show hidden files and folders".

__________________
jenae is offline  
Old 09-09-2008, 11:42 PM   #3
Registered Member
 
Join Date: Nov 2007
Location: Cleveland, Ohio
Posts: 243
OS: Vista Home Basic SP2



If you were looking to ad to host files maybe have a look here http://www.mvps.org/winhelp2002/hosts.htm full good info. I use the host file from mvps and it works very well. You can add to it also.
__________________
Zappaboss is offline  
Old 09-10-2008, 01:04 AM   #4
Team Manager, Microsoft Support
Microsoft MVP
BSOD Kernel Dump Expert
 
jcgriff2's Avatar

Microsoft Most Valuable Professional
 
Join Date: Sep 2007
Location: New Jersey Shore
Posts: 30,702
OS: Windows 10, 8.1, 7 + Windbg :)



Try this -
START | type cmd.exe into the start search box | right-click on cmd.exe | select run as administrator | type the following -

Code:


cd %windir%\system32\drivers\etc

dir /a /s

Do you see the HOSTS file?

Regards. . .

jcgriff2

.
jcgriff2 is offline  
Old 09-10-2008, 12:06 PM   #5
Registered Member
 
Join Date: Apr 2005
Location: United States
Posts: 271
OS: Windows 7 & 8



Thanks, that did it!
__________________
bauhsoj is offline  
Old 09-10-2008, 12:53 PM   #6
Team Manager, Microsoft Support
Microsoft MVP
BSOD Kernel Dump Expert
 
jcgriff2's Avatar

Microsoft Most Valuable Professional
 
Join Date: Sep 2007
Location: New Jersey Shore
Posts: 30,702
OS: Windows 10, 8.1, 7 + Windbg :)



Glad to be of help - and to hear that you located the HOSTS file.

Thanks for posting back with the outcome - I appreciate it very much.

Regards. . .

jcgriff2

.
jcgriff2 is offline  
Old 12-01-2008, 03:32 PM   #7
Registered Member
 
Join Date: Dec 2008
Posts: 2
OS: Vista x64 SP1



Here's a question -- I dont recall this directory being hidden before. Has it always been hidden? Or do I have some other priv problem that I am just uncovering?

Seems that I have had a bunch of quarky stuff happening the last few days, which has caused me to download hijackthis

__________________
xavierholden is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is on
Smilies are on
[IMG] code is on
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Post a Question


» Site Navigation
 > FAQ
  > 10.0.0.2


All times are GMT -7. The time now is 06:35 AM.


Copyright 2001 - 2014, Tech Support Forum

Windows 7 - Windows XP - Windows Vista - Trojan Removal - Spyware Removal - Virus Removal - Networking - Security - Top Web Hosts