Updating the hosts file in windows vista
more info here shortcut [screenshot] In the next dialog box click Browse and navigate to: Windows\System32\drivers\etc Click Ok and in the next dialog box name the shortcut (example) Update Hosts In the future when you wish to update the HOSTS file, download the "hosts.zip", extract the included files and right-click on the included updated HOSTS file and select: Send To Note: this will overwrite (delete) the existing file, so if you have any custom entries in the file I would suggest copying these prior to updating the file.
Then open the HOSTS file and paste your custom entries.
You'll be prompted with permission validation and will have to confirm overwriting the file.
Another option is to open your text editor program as an administrator so that the permissions are already applied to the editor.
I'm glad the security is tighter on the hosts file, but I couldn't find a solution until I found your post.
# # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol.
# # For example: # # 1.97 com # source server # .10 com # x client host 127.0.0.1 localhost ::1 localhost Hey guys, heres a better way.
The HOSTS file is the virtual equivalent of the phone company's directory assistance.1) Browse to Start - Open 5) Browse to "C:\Windows\System32\Drivers\etc" 6) Change the file filter drop down box from "Text Documents (*.txt)" to "All Files (*.*)" 7) Select "hosts" and click "Open" 8) Make the needed changes and close Notepad. # The IP address and the host name should be separated by at least one # space. Now if I could only find a way (if at all) to customize my Explorer toolbar (like I used to be able to in XP). Update, I figured it out, I was editing a copy of the hosts file in a separate directory (e.g. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.On Linux and Unix systems it is typically at /etc/hosts and on Windows systems (Windows 2000, XP, Vista) at c:\windows\system32\drivers\etc\hosts If you open the hosts file on Windows Vista and then attempt to save it as a regular user, you will get an error message as show in the screenshot below ("Cannot create the c:\windows\system32\drivers\etc\hosts file.Make sure that the path and file name are correct): The reason for the error message is not that it cannot be created, but that you do not have sufficient permissions to write to that file.
Editing the HOSTS file might come in handy if you want to make custom domain redirects, block websites, or remove malicious entries set by malware. However, you might run into problems when trying to make changes to this file in some versions of Windows.