{"id":13230,"date":"2018-11-01T08:34:34","date_gmt":"2018-11-01T08:34:34","guid":{"rendered":"https:\/\/www.top-password.com\/blog\/?p=13230"},"modified":"2018-11-01T08:37:27","modified_gmt":"2018-11-01T08:37:27","slug":"reset-hosts-file-back-to-default-in-windows-10","status":"publish","type":"post","link":"https:\/\/www.top-password.com\/blog\/reset-hosts-file-back-to-default-in-windows-10\/","title":{"rendered":"How to Reset Hosts File Back to Default in Windows 10"},"content":{"rendered":"<p>Every Windows version comes with a Hosts file which provides a simple mechanism to redirect website to IP address. If the HOSTS file is modified incorrectly or maliciously, it can break your Internet. In this tutorial we&#8217;ll show you how to easily reset the HOSTS file (C:\\Windows\\System32\\drivers\\etc\\hosts) back to default in Windows 10.<\/p>\n<p><strong>How to Reset Hosts File Back to Default in Windows 10?<\/strong><\/p>\n<p>By default, the HOSTS file is protected by the operating system so you&#8217;re unable to edit it without admin rights. Here we&#8217;re going to open the HOSTS file with Notepad and restore its content back to default:<\/p>\n<p>Click the <strong>Start<\/strong> button and type <strong>notepad<\/strong>. Right-click the Notepad app appeared in the search result, and then select &#8220;<strong>Run as administrator<\/strong>&#8220;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2018\/10\/open-notepad-as-administrator.png\" width=\"393\" height=\"472\" class=\"alignnone size-full\" \/><\/p>\n<p>With <a href=\"https:\/\/www.top-password.com\/blog\/open-notepad-as-administrator-in-windows-10\/\" rel=\"noopener\" target=\"_blank\">Notepad open in administrator mode<\/a>, you&#8217;re ready to open the HOSTS file. Click on the <strong>File<\/strong> menu and select <strong>Open<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2018\/11\/notepad-file-menu.png\" alt=\"\" width=\"512\" height=\"271\" class=\"alignnone size-full wp-image-13233\" \/><\/p>\n<p>Browse to the directory <em>C:\\Windows\\System32\\drivers\\etc\\hosts<\/em>. Change the file filter drop-down box from &#8220;Text Documents (*.txt)&#8221; to &#8220;<strong>All Files<\/strong>&#8220;, and select the HOSTS file and click <strong>Open<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2018\/11\/open-the-hosts-file.png\" alt=\"\" width=\"594\" height=\"324\" class=\"alignnone size-full wp-image-13234\" \/><\/p>\n<p>Now, paste the following text into Notepad:<br \/>\n<code><br \/>\n# Copyright (c) 1993-2006 Microsoft Corp.<br \/>\n#<br \/>\n# This is a sample HOSTS file used by Microsoft TCP\/IP for Windows.<br \/>\n#<br \/>\n# This file contains the mappings of IP addresses to host names. Each<br \/>\n# entry should be kept on an individual line. The IP address should<br \/>\n# be placed in the first column followed by the corresponding host name.<br \/>\n# The IP address and the host name should be separated by at least one<br \/>\n# space.<br \/>\n#<br \/>\n# Additionally, comments (such as these) may be inserted on individual<br \/>\n# lines or following the machine name denoted by a '#' symbol.<br \/>\n#<br \/>\n# For example:<br \/>\n#<br \/>\n#      102.54.94.97     rhino.acme.com          # source server<br \/>\n#       38.25.63.10     x.acme.com              # x client host<br \/>\n# localhost name resolution is handle within DNS itself.<br \/>\n#       127.0.0.1       localhost<br \/>\n#       ::1             localhost <\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2018\/11\/reset-hosts-file-to-default.png\" alt=\"\" width=\"603\" height=\"477\" class=\"alignnone size-full wp-image-13235\" \/><\/p>\n<p>Click on the <strong>File<\/strong> menu and <strong>Save<\/strong>. Now you&#8217;ve successfully reset the HOSTS file back to default in Windows 10. For Windows 8\/7\/Vista, the contents of the HOSTS file are different and you can copy them from <a  rel=\"nofollow\"  href=\"https:\/\/support.microsoft.com\/en-us\/help\/972034\/how-to-reset-the-hosts-file-back-to-the-default\" rel=\"noopener\" target=\"_blank\">Microsoft&#8217;s website<\/a>.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Every Windows version comes with a Hosts file which provides a simple mechanism to redirect website to IP address. If the HOSTS file is modified incorrectly or maliciously, it can break your Internet. In this tutorial we&#8217;ll show you how to easily reset the HOSTS file (C:\\Windows\\System32\\drivers\\etc\\hosts) back to default in Windows 10. How to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,10,1894],"tags":[4030,4031],"class_list":["post-13230","post","type-post","status-publish","format-standard","hentry","category-others","category-tips-tricks","category-windows-10","tag-reset-hosts-file-windows-10","tag-restore-hosts-file-windows-10"],"_links":{"self":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/13230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/comments?post=13230"}],"version-history":[{"count":6,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/13230\/revisions"}],"predecessor-version":[{"id":13239,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/13230\/revisions\/13239"}],"wp:attachment":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/media?parent=13230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/categories?post=13230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/tags?post=13230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}