How To Save Host File In Windows 8
Windows 8 Windows 8.ane Windows 7 Windows Vista Windows XP Windows 10 More...Less
Summary
This article helps you reset the Hosts file dorsum to the default.
What'due south the Hosts file
The Hosts file is used by the operating system to map man-friendly hostnames to numerical Net Protocol (IP) addresses which place and locate a host in an IP network. The hosts file is one of several system resources that accost network nodes in a calculator network and is a mutual part of an operating system's IP implementation.
The Hosts file contains lines of text consisting of an IP address in the first text field followed by one or more than host names. Each field is separated by white space (Tabs are often preferred for historical reasons, but spaces are besides used). Comment lines may be included, and they are indicated past a hash character (#) in the first position of such lines. Entirely blank lines in the file are ignored.
If the Hosts file is changed from default, resetting it can assistance resolve some connectivity issues.
Resolution
To reset the Hosts file dorsum to the default, follow these steps according to your operating arrangement:
To reset the Hosts file back to the default, follow these steps:
-
Open Notepad. To do this, search for "Notepad" using Cortana, and so tap or click the Notepad icon.
-
Re-create the following text, and so paste the text into the file: # Copyright (c) 1993-2006 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 respective host proper name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such every bit these) may be inserted on individual # lines or following the car proper name denoted by a '#' symbol. # # For instance: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.ten 10.acme.com # x client host # localhost proper name resolution is handle within DNS itself. # 127.0.0.1 localhost # ::one localhost
-
On the File menu, selectSave equally, type "hosts" in the File name box (every bit displayed in the following image), and then save the file to the desktop.
-
Close Notepad.
-
Search for %WinDir%\System32\Drivers\Etc using Cortana, and then select the File folder icon.
-
Tap and hold or correct-click the Hosts file, select Rename, and so rename the file as "Hosts.old".
-
Copy or motion the Hosts file that you created in step iii from the desktop to the %WinDir%\System32\Drivers\Etc folder. If yous are prompted to enter an administrator password, select Continue.
To reset the Hosts file dorsum to the default, follow these steps:
-
Open up Notepad. To exercise this, swipe in from the right border of the screen, tap Search, type Notepad, and then tap the Notepad icon. Or, if yous are using a mouse, bespeak to the upper-right corner of the screen, move the mouse pointer downwards, click Search, type Notepad, and so click Notepad.
-
Copy the post-obit text, and then paste the text into the file: # Copyright (c) 1993-2006 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 accost should # exist placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least 1 # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol. # # For case: # # 102.54.94.97 rhino.summit.com # source server # 38.25.63.x ten.acme.com # x client host # localhost name resolution is handle within DNS itself. # 127.0.0.1 localhost # ::i localhost
-
On the File bill of fare, selectSave as, blazon "hosts" in the File proper noun box (as displayed in the post-obit image), and and then salve the file to the desktop.
-
Close Notepad.
-
Open the %WinDir%\System32\Drivers\Etc folder. To do this, follow these steps:
-
Swipe in from the right edge of the screen, tap Search, type run, and then tap the Run icon. Or, if yous are using a mouse, point to the upper-right corner of the screen, move the mouse pointer down, selectSearch, type run, and then select the Run icon.
-
Type %WinDir%\System32\Drivers\Etc in the Open box, so selectOK.
-
-
Select the Hosts file, selectRename, and and so rename the file as "Hosts.onetime".
-
Copy or move the Hosts file that you created in step 3 to the %WinDir%\System32\Drivers\Etc folder. If yous are prompted to enter an ambassador countersign, tap or click Go on.
To reset the Hosts file back to the default yourself, follow these steps:
-
Click Kickoff, click Run, type Notepad, and then click OK.
-
Copy the following text to the file:
For Windows 7 # Copyright (c) 1993-2006 Microsoft Corp. # # This is a sample HOSTS file used past 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 respective host name. # The IP address and the host proper noun should be separated by at to the lowest degree one # space. # # Additionally, comments (such as these) may exist inserted on individual # lines or following the machine name denoted past a '#' symbol. # # For example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.ten x.tiptop.com # ten client host # localhost name resolution is handle inside DNS itself. # 127.0.0.1 localhost # ::1 localhost For Windows Vista or for Windows Server 2008 # Copyright (c) 1993-2006 Microsoft Corp. # # This is a sample HOSTS file used past 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 accost should # be placed in the starting time cavalcade followed past the corresponding host proper noun. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on private # lines or following the automobile name denoted by a '#' symbol. # # For example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.x x.top.com # x client host 127.0.0.1 localhost ::i localhost For Windows XP or for Windows Server 2003 # Copyright (c) 1993-1999 Microsoft Corp. # # This is a sample HOSTS file used past 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 accost should # be placed in the first cavalcade followed by the corresponding host proper name. # The IP accost and the host name should be separated by at least one # space. # # Additionally, comments (such every bit these) may be inserted on individual # lines or post-obit the machine proper name denoted by a '#' symbol. # # For instance: # # 102.54.94.97 rhino.elevation.com # source server # 38.25.63.10 x.tiptop.com # x customer host 127.0.0.1 localhost
-
On the File bill of fare, selectSave every bit, type "hosts" in the File proper name box, and then save the file to the desktop.
-
SelectBeginning >Run, type %WinDir%\System32\Drivers\Etc, and then selectOK.
-
Select the Hosts file, and rename it "Hosts.old."
-
Copy or movement the Hosts file that you created in stride 3 to the %WinDir%\System32\Drivers\Etc folder. If you are prompted to enter an administrator password, selectKeep.
More Information
Support for Windows XP has concluded
Microsoft concluded support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you lot and how to stay protected.
Support for Windows Server 2003 ended on July 14, 2015
Microsoft ended support for Windows Server 2003 on July fourteen, 2015. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.
Source: https://support.microsoft.com/en-us/topic/how-to-reset-the-hosts-file-back-to-the-default-c2a43f9d-e176-c6f3-e4ef-3500277a6dae
Posted by: johnstonwhiced1949.blogspot.com

0 Response to "How To Save Host File In Windows 8"
Post a Comment