How to Reset Host File Back to Default in Windows 10
If you find that your Host file is changed for some reason, don’t panic, you can easily bring it back to default. And in this article, we’ll show you how to set the default values for your Host file in Windows 10.
In Windows, Host file is used to map host names to IP addresses, and it should not be changed. But if you notice any changes in this file, here’s what you need to do:
- Open File Explorer and enter the following location:
- Find Host file, and rename it to host.bak (You may be required to take ownership of the file, first)
- Paste the following text in Notepad:
# 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
# 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
- Save it to C:\Windows\System32\drivers\etc and close the document
Your Host file is now back to its default values, but it’s recommended to create a backup copy of the Host file, so you can easily replace it again, if needed. You can use your old Host file as a backup, and keep it in the Drivers folder, right next to the original.
If you have any comments or suggestions, please write to us in the comments section below.
What Android emulator is the best for my Windows PC? Bluestacks MeMu Nox Remix OS Player Droid4X AMIDuOS Windroy Genymotion Xamarin Android Player Andy We’re […]
Recently, a security researcher @SandboxEscaper disclosed in a tweet which has been deleted (the account also has been removed), that the task scheduler is vulnerable […]
Microsoft may be developing a new wireless charging system called “Ultrafast’” for its devices, if a newly discovered patent gets approved for mass production. This […]