Hosts File Editor- a functional program for editing the host file. Allows you to easily add a new host, delete a host, there is a button to save changes, you can create a backup copy, restore the hosts file, create a completely new file, import data into text format, export a file, add a blank line, add a comment through a grid, there is a search function, you can edit the selected comment, remove duplicates, delete a blank line, there is Automatic blocking popular websites, you can block telemetry and so on...

System requirements:
Windows XP SP2 and higher
Microsoft. NET Framework 4.0 Client Profile

Torrent Host File Editor - Hosts File Editor+ 1.5.8 portable details:
Additional tools of this program
Translated by Yandex

- /Windows Advanced tools / - (for Windows users 7, like the newer Windows OS
- (Enable/Disable Windows Update).
- (Clear Windows Update History.).
- (Enable/Disable Windows Firewall).
- (Creating rules in Windows Firewall.).
- (Enable/Disable Windows Defender.).
- (Enable/Disable Hibernation Mode.).
- (Enable / Disable Windows Security Center.).
- (Enable/Disable UAC).
- (Temp File Cleaner (Clean: C:/Windows/Temp; C:/User/UserName/AppData/Local/Temp
C:/Windows/Prefetch and the last items).
- (Delete system restore points).
- (Block for launching some applications).

Main features of this program
Translated by Yandex

- Install DNS servers (tools / install DNS servers).
- Configure proxy settings (tools/proxy settings).
- Changing the network MAC address
- Show Network Connection Information
- Add new host (IP address and hostname
- Added IP address and hostname under the selected item.
- Added IP address and hostname to the end of the list.
- Added one more item with?www.?...
- Up/down the selected item.
- Display (delete) possible thefts - (View / Display possible thefts).
- Added at the same time more different Host names with the same IP address (file/Add
Armies.)
- Added a label to display the total number of Host names.
- Copy complete elements and copy only Hostnames (without 127.0.0.1 and without 0.0.0.0
- Select all items
- Minor bugs fixed.
- Delete host
- Save changes
- Change read-only status (hosts file
- Backup file hosts
- Restoring the hosts file from a backup
- Create a new hosts file (if the hosts file does not exist C:/Windows/System32/drivers/etc)
- Import file (.txt format
- Export hosts file
- Add an empty line
- Add a comment
- Properties (hosts file
- Search for objects
- Replace IP 127.0.0.1 ---> 0.0.0.0 ; 0.0.0.0 ---> 127.0.0.1 and its value
- Edit selected comment (#) - (to enable double click on the element.
- Removing duplicate elements
? - Comment selected
- Removing empty lines
- Removing comment lines
- Hosts file enabled/disabled
- DNS Client service enabled/disabled
- Enabled/disabled UAC
- DNS cache flush clears all entries and reloads entries from Hosts file.
- View the current contents of the DNS resolver cache and entries previously loaded from the Hosts file.
- Add Serbian-Latin language
- Block popular sites (Facebook, Youtube, Twitter.
- Microsoft block, Telemetry, AdobeAutodesc, Nero, Corel...
- Reset the hosts file back to default (Windows XP, Windows Vista, Windows 7, Windows 8
8.1, Windows 10, Windows Server 2003, Windows Server 2008, Windows Server 2012
- Download and install the list of updates (.txt format
- Update the hosts file (install the update and remove the update
- Zooming in and out of the main program window (resizing other windows) - Viewing
Zooming in and out of the program window.
- Block IP Address Using Windows Firewall (Tools / Block IP Address Using Windows
Firewall.)
- Sorting found items (search).
- Added enable/disable selected Hosts (one or more).
- Change font size
- Added enable and disable buttons (hosts file) to the toolbar.
- Added certain functions for right click.

What's new
Translated by Yandex

In version v 1.5.8. added:
-----------------------
- The program has been translated into French (Thanks to Ralfi from Paris-France).
- The program has been translated into Russian (Thanks to Pavel Gulin, Republic of Belarus).
- The program has been translated into simplified Chinese (Thanks to Yanjun Sun).
- The program has been translated into Korean (Thanks to Jaehyung Lee, [email protected]).
- Add Network Watcher (Help / Network Watcher).
- Add HFE-Take Charge to the context menu of all files and folders for all users
? (Additional tools / add HFE - take charge).
- Improved some program functions.
- Minor bugs fixed.

Portable build features:
Portable build from the developer.
Does not require installation on the system.

Key Features

  • Creation backup copies hosts file;
  • system data recovery;
  • adding new entries;
  • replacing the contents of a system file;
  • commenting the desired line, as well as deleting comments;
  • deleting selected lines or block lines;
  • eliminating the consequences of viruses and malware.

Advantages and disadvantages

  • compact dimensions;
  • ample opportunities to work with system files hosts;
  • does not make changes to the system registry;
  • automatic detection of required files.
  • not found.

Analogs of the program

Baku. Multifunctional program to clean the system of unnecessary data. It scans for keys remote applications, incorrect entries, links to non-existent files, etc. At the same time, Baku does not touch important information, which cannot be deleted.

PowerTools Lite. An application that cleans the registry, optimizes the system, and protects the PC from malicious web resources. It can work automatically, checking for errors in the registry and fixing problems at its discretion.

Wise Registry Cleaner. A utility that diagnoses the registry, identifies and eliminates incorrect, unnecessary and outdated data. Deleted information can be restored by first creating a backup copy.

Work principles

In order to replace damaged entries in hosts files and restore their original state (for example, after being modified by viruses), download the HostsXpert program and run it.
In the window that opens, select the “File Handling” menu item, then click on the button labeled “Restore MS Hosts file” and “Ok”.

Changing system records can lead to such common problems as, for example, blocking search engines or pages on popular social networks. HostsXpert fixes errors and changes in hosts, which in almost all cases helps solve these problems.

Hello, friends!
In some situations it is necessary to change or restore the hosts file.

In this article I will tell you what it is intended for and how to edit it correctly. I will give an example of how using the hosts file you can speed up, redirect or block access to certain sites.

The hosts file is special text file system, which is responsible for converting symbolic domain names into their corresponding IP addresses and vice versa. In addition to the usual address, an Internet site also has an IP address.

Eg, social network Odnoklassniki has an address like www.ok.ru and IP address 217.20.147.94. By the way, you can enter these numbers in address bar browser and go, but you will be redirected to www.ok.ru.

It should be noted that such domain addresses (www.ok.ru and others) were invented solely for the sake of convenience. Agree, it is much easier to remember the symbolic name (domain) ok.ru than its IP address 217.20.147.94.

However, the server (dedicated computer) on which the ok.ru website is located does not accept such symbolic treatment. To convert a host name to an IP address, the hosts file and a special domain name system (abbreviated as DNS) are used. Moreover, the hosts file has priority over DNS.

When you enter an address, the first thing it does is look at your hosts file, and only then contact the DNS server. Unlike DNS, the hosts file can be edited directly.

I believe that you now understand the importance of the hosts file and understand why most malware seeks to gain access to it.

Using the hosts file

By managing the hosts file, you can speed up access to certain sites or, conversely, limit access to them. You can organize redirection from some pages to other sites. For example, when accessing some prohibited resources, you will be redirected to the website of the Ministry of Internal Affairs.

But the greatest danger comes from malicious software, which, having gained access to the hosts file, will use it for its own malicious purposes. For example, block access to websites, social networks, or the sites of antivirus software companies.

Where is the hosts file located?

As a rule, if this operating system Windows (NT, 2000, XP, 2003, Vista, 7, 8), the hosts file is located in the system partition on drive C. The full address looks like this: C:\Windows\System32\drivers\etc\hosts.

There are more quick way get to the host file. To do this, press the key combination: Win + R or “Start” → “Run”. A window for entering a command will open. Enter the following command:

  • notepad %windir%\system32\drivers\etc\hosts

And here is the host file itself, which by default looks like this:

If there is no hosts file in this folder, then most likely the virus has changed its location in the registry key. Below is a registry key that specifies the path to the folder with the host file:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters \DataBasePath

In addition, the hosts file may be hidden. In this case, go to “Folder Options” → “View” and set the value to “Show hidden folders files and disks."

How to edit the hosts file?

The hosts file can be edited in any text editor. For example, in a standard Windows notepad.

Let's look at the editing options and get started block access to the sites mentioned above: vk.com and ok.ru.

The site or sites to which access needs to be blocked are registered with new line, preliminarily indicated at the beginning of the line local IP address - 127.0.0.1 .

In our case, the entry looks like this:

127.0.0.1 vk.com
127.0.0.1 ok.ru

Save the changes. Now open the browser and try to go to the address vk.com or ok.ru. As you can see, the hosts file has done its job, and the attempt to connect to these sites failed.

You can also redirect(make a redirect) to another site. To do this, you need to know the IP address of the site where the redirection will be made, and next to it, indicate the domain from which the redirect is being made, separated by a space.

The example below shows that first I entered the IP address of the site yandex.ru (213.180.204.3), and indicated the domain vk.com separated by a space.

This means that when you try to access the vk.com website, you will be redirected to yandex.ru (213.180.204.3).

To speed up the loading of a site, you need to know its IP address and domain. This data is written in the hosts file.

It would seem that everything is simple: you need to register the necessary changes in the hosts file and click “Save”. But the system complains and does not allow you to save the desired changes. More precisely, it suggests saving it to a separate text file.

This is due to stricter security rules in the OS latest versions, and this makes sense, since many viruses try to write their lines here. In this case, the changes are made by us, and this is done purposefully.

You need to do the following. Return to the location of the hosts file and right-click to call context menu, where select “Properties”.

Go to the “Security” tab and select the user under whose name you are working.

Agree with the warning about the reduced security level. Go back and save changes.

There is an easier way to edit the hosts file - using command line. You can read it.

To restore the default hosts file settings, simply copy and paste the text below:

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
#space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a ‘#’ symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost

This is how you can easily and simply by editing the hosts file, you can block access to sites or perform redirection. That's all for today.

In the next article I will tell you how to edit the hosts file if Windows system blocked. In addition, I will answer popular questions: “Why can’t I log into Odnoklassniki?”, “Why can’t I log into VKontakte, email and other sites?” Subscribe and don’t miss the release of this article (the article has already been published, you can read it).

Hosts is Text Document, which is controlled by the PC administrator, contains data about domain names. It is used to translate nodes into network addresses. When a user cannot access a website or there are problems with the login and password mailbox- This is evidence of an illegal change in a system file.

How to restore the hosts file

If malicious changes have been made to the hosts file, it must be restored.

Since it contains text and numeric data, we use a notepad with Administrator rights for editing.

Click “Start”, select “Accessories” from the list of programs and click right click Click on the Notepad icon, Run as administrator.

We delete all lines and leave only 127.0.0.1 localhost

Or we restore the original content. It looks like this:

Note: the hosts file may be empty. This is normal. In this case, nothing needs to be changed.

Cleaning and restoring hosts using the AVZ utility

Another way to restore data in the hosts file is to use the AVZ program.

Download the utility from this page, unpack and run avz.exe.

A program window will open. To clear hosts, select “File”, “System Restore”.

Under item 13, check “Cleaning the Hosts file” and confirm the operation.

To do this, open the “File”, “System Restore” utility and select item No. 20 “TCP/IP Settings: Removing static routes”. Then we confirm our choice.

This completes cleaning and restoring the Hosts file.