You get a bonus - 1 coin for daily activity. Now you have 1 coin

Where Is the hosts File Located in Windows Vista/7 or Server 2008?

Practice



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

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Operating Systems and System Programming"

Terms: Operating Systems and System Programming