Can't find the hosts file in the location familiar from Windows XP, in Windows Vista, Windows 7, or Windows Server 2008?
1) By default, the file isn't created. That is, it doesn't exist. At all. That's why you can't find it anywhere.
2) If some malicious code does create the file, or if you need to create this file yourself - it should be located at the following path:
C:\Windows\System32\drivers\etc
That is, like this:
C:\Windows\System32\drivers\etc\hosts
3) Creating, editing, and deleting this file is only possible from under a local administrator account, i.e. "Explorer" or another file manager should be launched via "Run as administrator" (or you should work with UAC turned off).
Comments