Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Alert

Ihave an OEM Winows 7 Home Premium

Feb 4, 2012 11:19AM PST

Discussion is locked

- Collapse -
The site tells you where ...
Feb 4, 2012 1:10PM PST

to place the hosts file on the download page and I will quote it here:

http://hosts-file.net/?s=Download

Hosts File Installation (Windows)

Extract the contents of hosts.zip to a folder on your hard disk. Locate the file named HOSTS.TXT which you just extracted and rename it to HOSTS with no .TXT extension. Copy the renamed HOSTS file to one of the following locations depending on your version of Windows.

Windows XP/2003/Vista/2008
C:\Windows\System32\Drivers\Etc

Windows NT/2000
C:\Winnt\System32\Drivers\Etc

Windows 95/98/Me
C:\Windows


If you are running Windows 2000 or above and you are not a part of a domain, or notice a considerable slowdown, you will need to disable the Windows DNS Client Service.

To accomplish this, click Start, Run and type "services.msc" and click OK. Double click DNS Client service entry, set its startup type to manual and stop the service. You will need to be logged on as a member of the Administrators group to perform this task. After you have stopped the DNS Client you may install your hosts file.

Failure to disable the DNS Client may cause your computer to slow down and/or stop responding until the DNS Client is stopped. If you'd like to keep the DNS client enabled, whilst still using a large HOSTS file such as hpHosts, should use the hosts-optimized.zip package.


The QUICKEST way to place the file where it is supposed to go is to EXTRACT it to your root drive which is C:\

After extracting it you would open a command prompt and type in the following command:

Copy c:\hosts %SystemRoot%\System32\Drivers\Etc (then press the enter/return key)

Check that it is there by typing this command:

dir %SystemRoot%\system32\drivers\etc (then press the enter/return key) and the resulting directory listing should show the file hosts in the list.

Now, since you know it is where it needs to be type this command to remove it from the root directory del hosts (press the enter/return key)

If you extract the hosts file anywhere else modify the commands as needed.

- Collapse -
Hosts
Feb 4, 2012 10:52PM PST

The mvps zip file contains a batch file.
Unzip the file......run the batch file......the hosts will be placed where it belongs.
No fuss.

Or you can do it in a manual fashion as Edward said.

- Collapse -
Thanks for the info, I stumbled how to do this with Hostman
Feb 5, 2012 12:48PM PST