How to remove the virus hosts?

The hosts file is present in all modern popular family of operating systems such as Windows, Linux and Mac OS , and determines how the computer will process the request to the Internet . By adding this file several additional lines can achieve the effect in which users attempt to open your favorite sites will only see ads. Often, access to sites blocked completely , demanding payment for his recovery.

 
These are typical actions of Internet fraud in recent years, which are inexperienced users to their own enrichment . If you are affected by their actions , then take a few minutes to this article , in which we will explain how to remove the virus hosts.

Manual removal of viruses in the hosts file
  1. Click "Start" and appeared immediately above the search bar, enter the command:

    notepad% WinDir% \ System32 \ Drivers \ Etc \ hosts
  2. After entering the command, press the key combination Ctrl Shift Enter, which will open the hosts file with administrator privileges to avoid problems with saving the modifications.

    opening the hosts file on the command lineopening the hosts file on the command line

  3. If the control system accounts for an administrator password, enter it in the box.
  4. Copy to open the file, depending on the operating system the following data.

    For Windows XP:

    # Copyright (c) 1993-1999 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.
    # Entry should be kept on an individual line.
    # 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

    For Windows Vista:

    # Copyright (c) 1993-2006 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.
    # Entry should be kept on an individual line.
    # 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
    :: 1 localhost

    For Windows 7:

    # Copyright (c) 1993-2006 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.
    # Entry should be kept on an individual line.
    # 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

    # Localhost name resolution is handle within DNS itself.
    # 127.0.0.1 localhost
    # :: 1 localhost

    For Windows 8:

    # Copyright (c) 1993-2006 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.
    # Entry should be kept on an individual line.
    # 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
    # Localhost name resolution is handle within DNS itself.
    # 127.0.0.1 localhost
    # :: 1 localhost

  5. Press the key combination Ctrl S to save your changes.
Removing the virus in the hosts with the utility AVZ
Novice users work with the command line , which contains the previous described method for removing viruses in the file hosts, can seem daunting and confusing . The output in this situation may be to use the anti-virus utility AVZ, which is totally free and is used to remove various malicious software from your computer.
In particular, the program includes a file manager and hosts, with which you can make it easy to clean and understandable form.
  1. Download the archive with the latest version of the program from the official website of its developer www.z-oleg.com.
  2. Unpack the archive in the selected folder on your computer.
  3. Start from the unpacked folder executable program avz.exe.
  4. In the window that opens, select the main menu "Tools-> File Manager Hosts».

    startup manager hosts filestartup manager hosts file

  5. This opens a window manager that allows only line- delete / edit the contents of the file hosts. All lines that start with # are grayed out . They are called commented out , they are complementary and do not contain any commands or instructions. They can be ignored .

    Edit window hosts fileEdit window hosts file

  6. The lines do not contain a # will be displayed in black. They are executable commands to the operating system . Carefully compare the contents of your file hosts with the above examples and the presence of additional lines , remove excess .
  7. In fact, you are depending on your operating system, you should see only the following line uncommented.

    For Windows XP:
    127.0.0.1 localhost

    For Windows Vista:
    127.0.0.1 localhost
    :: 1 localhost
    Windows 7 and Windows 8 uncommented lines (without the # sign at the beginning) should contain.
If, after cleaning and then restart the hosts file appeared again " infected " with additional entries , it means that your computer operates the virus that must be removed before starting to clean up the file.