How to reset HOSTS file on Windows 7/8 / 8.1 and Windows 10

In the age of Facebook people and Facebook houses, access to Facebook on computers and phones has become increasingly important. Among the methods to access Facebook, we have heard about editing HOSTS files on Windows. So what is this HOSTS file? How does it work but "god"? Please learn about this concept with the following article of TipsMake.com!

1. What is HOSTS file in Windows?

Simply, you can understand this is a configuration file, allowing or not allowing the computer to connect to one or more certain IP addresses. So if you encounter a situation where access to a website is not possible (eg Facebook), it may be because the computer's HOSTS file has been modified. The solution given here is to reset the HOSTS file to its original state:

How to reset HOSTS file on Windows 7/8 / 8.1 and Windows 10 Picture 1

HOSTS file in Windows 7

See more articles:

  1. Some tricks with file HOSTS system
  2. How to block websites with HOSTS file
  3. The steps to enter Facebook do not worry about being blocked

2. Resetting HOSTS files on Windows 7/8 / 8.1 and 10:

In Windows versions, the HOSTS file is located in the directory:

  1. C: WindowsSystem32driversetc

And to reset this HOSTS file, open Windows Explorer (Windows + E shortcut), type the following command into the address bar and press Enter:

% systemroot% system32driversetc

How to reset HOSTS file on Windows 7/8 / 8.1 and Windows 10 Picture 2

The above command is similar to the access path that contains the HOSTS file in the System32 directory, changing the current HOSTS file name to hosts.bak (enter the Administrator account if the system requires). After that, create a new NotePad file, name it HOSTS (no tail !!!). Then copy and paste the content and code below:

# Copyright (c) 1993-2009 Microsoft Corp.
#
# Này là một tập tin HOSTS được dùng bởi Microsoft TCP / IP cho Windows.
#
Tập tin này chứa mappings của IP địa chỉ đến tên tên máy. Each
Số nhập nên được giữ lại ở một dòng này. Cần địa chỉ IP
# được đặt trong theo thứ tự đầu tiên trước theo tên host tương ứng.
# Tên địa chỉ IP và tên máy nên được gỡ bỏ ở ít nhất một
# space.
#
Không thêm được, ý chú ý (như như này) có thể được inserted on nhân
# lines or theo tên máy này được gỡ bỏ bởi một '#' ký hiệu.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# tênhost tên phân vùng là xử lý trong nó DNS.
# 127.0.0.1 localhost
# :: 1 localhost

Besides, you can refer to and use HostsMan software - specializing in managing HOSTS file of Windows:

  1. Link to download the HostsMan management utility

Good luck!

3.5 ★ | 2 Vote

May be interested

  • Summary of some simple ways to Reset Windows 10Summary of some simple ways to Reset Windows 10
    if your windows 10 computer is having some problems you can choose refresh, reset or restore to restore the problem. if you select reset windows 10 computer, all user accounts will be deleted, the settings will be restored to their original state ....
  • How to open the hosts file with Admin rights - Apply to open the file systemHow to open the hosts file with Admin rights - Apply to open the file system
    instructions to open the host file with admin rights on windows using the windows admin rights and change the file properties, see how to read the host file here
  • 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 2 simple ways Reset Windows 10 (The last part)Instructions 2 simple ways Reset Windows 10 (The last part)
    if your windows 10 computer is having some problems you can choose refresh, reset or restore to restore the problem. in the previous article, network administrator has instructed you to reset windows 10 from boot, in the article below, network administrator will guide you how to reset windows 10 from the settings menu.
  • 3 How to reset Win 7, Factory reset Windows 73 How to reset Win 7, Factory reset Windows 7
    if you want to resolve problems in microsoft operating system, improve performance and delete files, you should reset windows 7. tipsmake will guide you how to factory reset windows 7 in the following article.
  • Edit Hosts file to access Facebook 2014Edit Hosts file to access Facebook 2014
    sometimes due to the fault of the network provider, you cannot access facebook, i will guide you to fix the host file in windows so that you can log into facebook stably.
  • Instructions on how to reset Windows 10 extremely fast and simpleInstructions on how to reset Windows 10 extremely fast and simple
    - - like its predecessors, window allows users to reset windows 10 to its original state. this will cause you to lose all data in the windows installation drive, but in return it is a feature to help the computer can work again.
  • How to Reset Windows 7 PasswordHow to Reset Windows 7 Password
    if you forget your windows 7 password, you will have to reset your user account password to log in. windows 7 passwords can be reset by your network administrator if your computer is in a domain, or can be reset using a password reset disk if your computer is in a homegroup or workgroup. this article will teach you to reset windows 7 password in both ways.
  • New features of Reset This PC on Windows 10New features of Reset This PC on Windows 10
    the reset this pc feature has been around since windows 8, but it has changed a lot since. microsoft continues to make it better and better. let's find out about the improvements in this feature on windows 10.
  • How to open the Host file on Windows 10, edit the hosts fileHow to open the Host file on Windows 10, edit the hosts file
    how to open the host file on windows 10 helps users to edit the host file, manage access to web sites on computers and laptops. the following article will guide you how to open and edit the host file on windows 10 simply and quickly.