Reset hosts file back to defaults.msi




















When you encounter an iTunes error like , network failures, or connectivity issues, it is recommended to edit the hosts file. If you have updated the file many times, the original version is gone. The simplest explanation is that it is a text file used by your computer to map a connection between an IP address and domain names. It can be edited to test certain network aspects or to troubleshoot connectivity issues.

Of course, you should keep a backup of it before editing. But in case you do not, you can still recover the original version as explained below. On a Mac, the hosts file mostly contains nothing more than a couple of lines of active code. The rest of the stuff is just commented out description of the hosts file itself.

To reset, we are going to open the hosts file in a text editor, replace the entire file with the default text and save it. It won't take a lot from you, but it will help us grow. Thanks for your support! Sergey Tkachenko is a software developer from Russia who started Winaero back in On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram , Twitter , and YouTube. View all posts by Sergey Tkachenko.

Your email address will not be published. Skip to content Advertisement. Contents hide. Support us Winaero greatly relies on your support. Leave a Reply Cancel reply Your email address will not be published. Entirely blank lines in the file are ignored. If the Hosts file is changed from default, resetting it can help resolve some connectivity issues. To reset the Hosts file back to the default, follow these steps according to your operating system:.

Open Notepad. Copy the following text, and then paste the text into the file: Copyright c Microsoft Corp. 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 space. Additionally, comments such as these may be inserted on individual lines or following the machine name denoted by a ' ' symbol. For example: On the File menu, select Save as , type "hosts" in the File name box as displayed in the following image , and then save the file to the desktop. Tap and hold or right-click the Hosts file, select Rename , and then rename the file as "Hosts.

If you are prompted to enter an administrator password, select Continue. It is also not necessary in Linux I think, the computer will work without it. If the file is deleted, you can create an empty file for Windows or Linux may create a new one during boot. On the Remove Host Member page, select the host or hosts that you want to remove from the host cluster. This file has been automatically generated for use by Microsoft Internet Connection Sharing. It contains the mappings of IP addresses to host names for the home network.

ICS file. Any changes may result in a loss of connectivity between machines on the local network. Jul 30, Find the hosts file.

Right-click it and go to Properties. Near the bottom, you should see Attributes and uncheck Read-only next to it.



0コメント

  • 1000 / 1000