# # 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.Create a new short cut pointing to: C:\Windows\System32\C:\Windows\System32\drivers\etc\hosts Open the properties and click the Advanced button on the Shortcut tab and select Run As Administrator.I can't do a screenshot of this, but click the "Continue" button and then notepad will start.Due to the restrictions imposed by UAC (Users Access Control) users are prohibited from running any batch files, so the included installer "mvps.bat" does not work unless you turn off or modify UAC (not recommended).Then, saving the HOSTS file over the original can be performed without having to verify your admin credentials.If you still can't save to the HOSTS file location, you probably don't have the correct permissions to be editing files in that folder.I'm having a different problem after recenty security (pre-SP1) updates... Vista connectivity is really shitty (dropping the connection etc.) - but that's different story I'm seeing an even odder problem, relating to the hosts file.
To modify the hosts file, you add two entries to the file that contains the IP address that you want the site to resolve to and the address.
You should be logged in under an account that has administrative rights over the HOSTS file, which you can check by right-clicking the file and going to the tab.
The HOSTS file is the virtual equivalent of the phone company's directory assistance.
However I have come up with a fairly simple solution ... [or] You can Update the HOSTS file via "Elevated" Command Prompt [or] You can use one of the Related Utilities specifically designed for this purpose ...
[or] You can right-click on the included "mvps.bat" and select "Run as Administrator" ...