Reset the contents of the file hosts
File hosts - is an important part of the network component of Windows, it stores a database of domain names that is used to translate them into network addresses. Very often, viruses, trojans and other malware modify the contents of this file to redirect the user to infected websites or block access to, for example, update servers for antivirus software, Windows Update, etc. Further it is explained how to restore the contents of this file by default.
1. First you need to open "System folder" containing the file hosts, or you can simply type in the search bar of "Start menu" following:
For 64-bit versions of Windows, additionaly you may also look here:
2. Then all you need to do is to open the hosts file using Notepad or any text editor and replace it with the following content:
# 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. 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: # # 184.108.40.206 rhino.acme.com # source server # 220.127.116.11 x.acme.com # x client host # localhost name resolution is handle within DNS itself. # 127.0.0.1 localhost # ::1 localhost If you do not desire to go through the above steps manually you can use a utility from Microsoft, available at the link below.