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.

updating windows hosts file-82updating windows hosts file-30

Updating windows hosts file video

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.

This is most likely due to permission issues; there's an explanation on how to bypass that below.

It includes a built-in hosts file updater & a hosts editor.

It lets you scan the hosts file for errors, duplicates, and possible hijacks – and also lets you create an Exclusion list.

It's a good idea to check the HOSTS file periodically or at least know how to remove false entries.

Tip: A much easier way to block certain domains from your computer is to use a custom DNS service that supports content filtering or blacklists.

The Hosts file in Windows 10/8/7, is used to map hostnames to IP addresses.

This Hosts file is located deep down in the Windows folder.

These instructions are valid for all versions of Windows, from Windows XP up through Windows 10.

To still use the file you've edited, go ahead and save it to your Desktop or some other folder, and then go to that folder, copy the HOSTS file, and paste it directly into the location where the HOSTS file be, as described above.

Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.