These are the host file location in various Windows versions
If Windows operating system is installed in C drive these are the locations
Windows 95 - C:windows Windows 98 - C:\windows Windows Me - C:\windows Windows 2000 - C:windows\system32\drivers\etc Windows XP - C:\windows\system32\drivers\etc Windows NT - C:\winnt\system32\drivers\etc Windows Vista - C:\windows\system32\drivers\etc Windows 7 - C:\windows\system32\drivers\etc
If you don’t know in which drive Windows is installed, try these generic paths
Windows 95 - %WinDir% Windows 98 - %WinDir% Windows Me - %WinDir% Windows 2000 - %SystemRoot%\system32\drivers\etc Windows XP - %SystemRoot%\system32\drivers\etc Windows NT - %SystemRoot%\system32\drivers\etc Windows Vista - %SystemRoot%\system32\drivers\etc Windows 7 - %SystemRoot%\system32\drivers\etc
If you are unable to edit host file in Windows Vista or Windows 7 check this Microsoft knowledge base: http://support.microsoft.com/kb/923947