Where is Windows Host file located

Windows operating system has a Hosts file which can help resolve Names to IP addresses. This is really helpful in an internal enviornment where you want to resolve your machine and server name to ip addresses in absence of DNS.

The Windows hosts file on Windows 7, Windows Vista, Windows XP, Windows 2000 and Windows NT can be found at :

C:\windows\system32\drivers\etc

Where as in Windows 98 and Windows 95, it is located at C:\Windows folder

When enabled, the host file takes precedence over other name resolution methods in Windows. You can use a simple application such as NotePad to modify the hosts file. Please note that if you are trying to modify this in Windows Vista or Windows Seven, you will need to launch NotePad as an administrator (shift + right click on NotePad in Start Menu and choose, run as administrator). If you do not do a "run as" on Notepad, you will get an access denied message when trying to modify the hosts file.

Reply to comment | IndiaWebSearch.com

Unfortunately, Internet Explorer is such an integral part of the Windows system that it can be difficult to diagnose any particular problems with the application. There could be a number of reasons due to which this problem occurs. It comes with a message with itself that Windows could not write to a specific file. Ideally these should be measured by experienced surveyors before you order. There has been lots of talk and buzz about these Surface slates but the fact is Microsoft has kept them very close at hand.