Instructions to restore the hosts file on Windows to default

With File hosts on windows you can do a lot of things, and I can say that it is very necessary and indispensable for those who like to use 'pirated goods'. Specifically, you can use the host file to block ads, block unhealthy websites, activate software copyrights through shared serial keys on the network .

And I think the most common thing that you often see on the tutorials is accessing facebook when the network operator is blocked by inserting a text in the hosts file. In general, the hosts file is very important and it will be used very often, but for some reason you have lost the hosts file, the hosts file error, or you mistakenly deleted a part of the hosts file…. Now you are struggling to know how to recover that host file?

Instructions to restore the hosts file on Windows to default Picture 1

Where is the hosts file on Windows?

You can access it by going to the following path: 

C:WindowsSystem32Driversetc

Or you can get in quickly by: Open the Run dialog box and type C:WindowsSystem32Driversetc and press Enter.

Restore the hosts file on Windows to default

Actually, to get the default host file, you have many ways to do it, for example, to another computer to copy to or you can also use the software to restore the hosts file to default. But if you don't want to have to ask for help and trouble, you can follow this simple tutorial.

+ Method 1: You can download the original hosts file here. Then you extract and copy to the etc directory at the path C: WindowsSystem32Driversetc offline.

Contents of the hosts file:

# 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

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

Note: You can copy the above content to your hosts file and save it. If the error cannot be saved, copy it to the Desktop, then edit and copy the old location.

+ Method 2: You can use Complete Internet Repair software to do this, in addition to the main function of fixing the network loss caused by viruses, Complete Internet Repair software also supports users to restore the hosts file. default.

The above is a guide to  reset the hosts file to the default , and in my opinion, you should use it manually because it meets the criteria of 'fast, compact and fast'. There are many instructions on restoring hosts file by software online, but I think it is not necessary and we do not need to complicate such problems.

Hope the article will be useful to you, wish you success!

5 ★ | 1 Vote

May be interested

  • Restore lost File Explorer icons on Windows 10 Start MenuRestore lost File Explorer icons on Windows 10 Start Menu
    by default, windows 10 displays the file explorer icon in the lower left corner of the start menu, as well as on the taskbar so that users can easily open file explorer quickly.
  • How to restore default services in Windows 11How to restore default services in Windows 11
    service is a type of application that runs in the background without a user interface. services provide the core features of the operating system
  • Instructions to restore default settings for FirefoxInstructions to restore default settings for Firefox
    any browser will slow down and reduce the load speed after a period of utility installation and use. if you are using firefox as your main browser, you can refresh the profile to restore the browser default settings and still retain important data. follow the article below to learn how to recover firefox!
  • How to edit the Host file, how to edit the Host file, read and open the Host fileHow to edit the Host file, how to edit the Host file, read and open the Host file
    depending on your needs and purposes, you need to edit the hosts file accordingly. you want to open the hosts files to edit or add the command line to the hosts file. but you still do not know how to open the hosts file on windows 7 like?
  • How to restore the default font on Windows 10How to restore the default font on Windows 10
    you accidentally 'scratched' the font on windows 10 and want to return to the default font? in the tutorial below, tipsmake.com shares with readers how to restore the default font quickly and easily.
  • Instructions for changing the default PDF file reader application in Windows 10Instructions for changing the default PDF file reader application in Windows 10
    if you want to change another program in your computer to open the pdf file instead of using edge in windows 10. in the following article, network administrator will introduce and guide you in two extremely simple ways.
  • Some tricks for hosts files in the systemSome tricks for hosts files in the system
    the use of a number of support utilities such as adblock plus has become quite familiar to most of our users, since no one can withstand too much advertising information that is constantly displayed on access websites. they will distract the user, and greatly affect the connection speed.
  • Instructions for bringing Windows 10 back to the default 'root' installation stateInstructions for bringing Windows 10 back to the default 'root' installation state
    there are many reasons why the system is slow, probably because your windows 10 computer installs too many programs, applications or is infected by viruses, malware, malicious programs attack .... you can then think of a solution to restore windows 10 to the original installation state (factory reset).
  • How to fix the hosts file on Windows 10How to fix the hosts file on Windows 10
    sometimes, for some reason, you need to edit the host file on your computer, but you cannot edit because when saving the host file, you don't know how to open the host file…. if you do not know how to edit the host file on windows, then you please
  • Instructions on how to use System Restore on WindowsInstructions on how to use System Restore on Windows
    system restore is a tool available on the windows operating system, enabling users to restore windows state at a certain time, created by the user or by a specific computer.