Table of Contents
This updated guide examines How to Reset Hosts File on Windows 7/8 // 8.1 and Windows 10 and organizes the essential facts, background, and practical takeaways in clear American English.
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:

HOSTS file in Windows 7
articles:
- Some tricks with file HOSTS system
- How to block websites with HOSTS file
- 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:
- 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

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:
- Link to download the HostsMan management utility
Good luck!
FAQ
What is How to Reset Hosts File on Windows 7/8 // 8.1 and Windows 10 about?
It provides a structured overview of file hosts, explains the main context, and highlights practical takeaways for readers.
Why does this topic matter?
Understanding the main concepts helps readers evaluate the issue, avoid common mistakes, and make better-informed decisions.
How should readers use this information?
Use the guidance as a practical starting point, confirm details that may have changed, and follow current product, safety, or security recommendations.
Reader Comments 0
Sign in with email or Google to join the discussion.