MASIGNCLEAN104

How to reset Hosts file back to default in Windows 10

iklan banner

The Hosts file inward Windows 10/8/7, is used to map host names to IP addresses. If for around reason, you lot detect that your Hosts file has been compromised as well as that around malicious entries cause got been added, you lot tin if you lot wish, reset Hosts file dorsum to default.

 is used to map host names to IP addresses How to reset Hosts file dorsum to default inward Windows 10

Reset Hosts file inward Windows 10

The Hosts file inward Windows 10/8/7 is located at the next location:

C:\Windows\System32\drivers\etc

To reset the Hosts file, opened upwards File Explorer, type the next inward the address bar as well as striking Enter:

%systemroot% \system32\drivers\etc

Rename the Hosts file to hosts.bak. You may last required to accept ownership of the file first.

Next, exercise a novel default Hosts file. To exercise so, opened upwards a novel Text file named hosts inward the folder %WinDir%\system32\drivers\etc folder.

Copy-paste the next text into the notepad file:

# Copyright (c) 1993-2009 Microsoft Corp.## This is a sample HOSTS file used yesteryear Microsoft TCP/IP for Windows.## This file contains the mappings of IP addresses to host names. Each# entry should last kept on an private line. The IP address should# last placed inward the get-go column followed yesteryear the corresponding host name.# The IP address as well as the host lift should last separated yesteryear at to the lowest degree one# space.## Additionally, comments (such equally these) may last inserted on individual# lines or next the motorcar lift denoted yesteryear a '#' symbol.## For example:##      102.54.94.97     rhino.acme.com          # source server#       38.25.63.10     x.acme.com              # x customer host# localhost lift resolution is handgrip inside DNS itself.#       127.0.0.1       localhost#       ::1             localhost

Save the text file.

Download default Windows Hosts file

Alternatively, if you lot want you lot tin download the default Hosts file of Windows 10/8/7 yesteryear clicking here. Extract the contents as well as house the Hosts file inward your C:\Windows\System32\drivers\etc folder. You may last asked for permissions to supervene upon it.

HostsMan is skilful freeware utility that lets you lot add, withdraw the entries as well as to a greater extent than oft than non lets you lot grapple the Hosts File inward Windows easily. Go hither to encounter how you lot tin Lock, Manage, Edit Hosts File inward Windows.


Source: https://www.thewindowsclub.com/
Share This :