I welcome you to the third post in the series “Working with Hosts File”, where we are learning to work with the Hosts file in our operating system. You can read my post about editing and hacking Hosts file here => http://ttw.tips/2bsRWpl
In this post, you learn about the custom hosts file and how to work with them in different ways, which includes how to download and install MVPS hosts file and how to edit the same.
What is a custom hosts file?
A custom hosts file is a hosts file, which is customized to provide a layer of security and protection while browsing the Web. It is basically utilized to provide extra security while you surf on Internet. A custom hosts file allows you to block unwanted ads, banners, or any other third party counters from appearing while opening a webpage, which may load these additional unwanted services. You can even block and cease the very connections that supply these little bugs by using the custom hosts file, which is virtually referred to as the MVPS hosts file.
Let us now understand the working of the custom hosts file.
How does it work?
Your computer automatically searches the hosts file for the entry you make in the web browser to open a web page. In the MVPS hosts file, the IP address corresponding to an unwanted ad or other unwanted element is entered as 127.0.0.1 (which is the location of your computer); so when a third party or other unwanted service is requested in the web page you’re working on, the computer starts finding the file onto your computer; after the file is not found, it jumps to the next file and the ads, cookies or banners are failed from getting loaded into the system.
For example, the following entry blocks all the files provided by the DoubleClick server:
Using a well-created MVPS hosts file, you can fasten the loading of the web pages by avoiding these unwanted ads, banners, or counters. Also, it prevents several tracking websites also known as Data Miners from tracking your Web movement or the webpages that you may visit. In addition, the MVPS hosts files at present contain some really effective entries for blocking big parasites, hijackers, and other Adware programs.
Let us now learn how to install MVPS hosts file.
How To Install MVPS Hosts File?
Different methods are there for installing in different versions of Windows. In our case, we have explained the installation method in Windows 8, however, you may visit the following links to see the instructions for your specific version.
Windows 7 Users: Click this
Windows Vista Users: Click this
Perform the following steps to change Windows Defender settings:
TIPS: You require to change Windows Defender settings before installing the file, because Windows Defender detect the MVPS hosts file as malware and replaces it with the default Microsoft hosts file.
- Open Windows Defender (Figure 1).
- Select the Settings tab, as shown in Figure 1:
The options under the Settings tab are displayed (Figure 2).
- Select the Excluded files and locations option from the left pane (Figure 2).
- Click the Browse button in the right pane, as shown in Figure 2:
The Windows Defender dialog box opens (Figure 3).
- Browse to the location where the hosts file is saved (Figure 3).
- Click the OK button, as shown in Figure 3:
- Click the Add button to add the browsed path (Figure 4).
The selected path is added under the Name section (Figure 4).
- Click the Save Changes button to save the settings (Figure 4).
- Click the Close button to close the Windows Defender window, as shown in Figure 4:
Now, perform the following steps to install the MVPS hosts file in your system:
NOTE: Download the hosts file directly from hosts.zip in your User download folder.
- Right-click the downloaded file and extract the files from the menu, as shown in Figure 5:
- Right-click the mvps batch file and select Run as administrator, as shown in Figure 6:
The User Account Control prompt appears.
After you click yes, the command prompt appears as shown in Figure 7:
NOTE: The message The MVPS Hosts File Is Now Updated appears in the command prompt.
- Press any key to close the command prompt.
The MVPS hosts file is installed and updated successfully in your system.
TIPS: A large hosts file may slow down your system, so you may need to change the DNS client settings from the path Control Panel-> Administrative Tools-> Services.
You can perform the following steps to resolve the problem:
- Open the Run dialog box by pressing the windows key + R combination (Figure 8).
- Type services.msc in the Open: text box to open the Services window (Figure 8).
- Click the OK button, as shown in Figure 8:
[ Figure 8]
The Services windows opens (Figure 9).
- Select the DNS Client option by scrolling down the window (Figure 9).
- Right-click the option and select the Properties option from the menu, as shown in Figure 9:
The DNS Client Properties (Local Computer) dialog box appears (Figure 10).
[ Figure 10]
- Select the Manual or Disabled option from the list. In our case, we have selected the Manual option, as shown in Figure 11:
NOTE: The Manual option is recommended.
- Click the OK button to save the settings, as shown in Figure 12:
Let us now learn how to edit the hosts file.
How to Edit the Hosts File?
Suppose, you want to edit the hosts file as per your requirements, you may do it manually; so you do not need to face permission issues to edit it.
Perform the following steps to edit the hosts file:
- Right-click the Hosts file and select the Properties option from the menu, as shown in Figure 13:
The etc Properties dialog box appears (Figure 14).
- Select the Security tab in the etc Properties dialog box ,as shown in Figure 14:
The options under the security tab are displayed (Figure 15).
- Select your account under the Groups or user names section (Figure 15).
- Click the Edit button, as shown in Figure 10:
The Permissions for etc dialog box appears.
- Select the checkboxes, as per your requirements.
- Click the OK button to close the Permissions for etc dialog box.
- Click the OK button in the etc Properties dialog box to save the settings.
So this ends our third and the last post in series “Working with Hosts File”. We hope that you guys liked the previous posts and like this one too. We tried to cover almost everything important meant to be taught and learned while working with hosts file. However, you can share your queries if any, with us and we’ll try to resolve them as much as we can.