How Do I Restore My Hosts File?
Resetting the Hosts File to Microsoft Defaults
Click OK. On the File menu, select Save as, type "hosts" (including the quotation marks) in the File name box, and then save the file to the desktop. Press Windows Key + R again. Type %WinDir%System32DriversEtc into the Run window and click OK.

.

Besides, how do I get my original host file back?

How to Reset Hosts File Back to Default in Windows 10

  1. With Notepad open in administrator mode, you're ready to open the HOSTS file. Click on the File menu and select Open.
  2. Browse to the directory C:WindowsSystem32driversetchosts. Change the file filter drop-down box from “Text Documents (*.
  3. Now, paste the following text into Notepad:
  4. Click on the File menu and Save.

Subsequently, question is, do I have to reboot after changing hosts file? You don't need to reboot. Any changes you make to the hosts file are immediate. You used to need to reboot for changes to take effect in Windows 9x. However, you may need to restart any applications that do internal hostname or DNS caching, such as web browsers.

Besides, how do I fix my hosts file?

To manual reset (restore) hosts file to its default values:

  1. Navigate to C:WindowsSystem32driversetc folder.
  2. Copy the hosts file to your desktop.
  3. Right click at the hosts file (on your desktop) and select Open.
  4. From the list of programs select the Notepad and click OK.
  5. Select the text below and press Ctrl + C (Copy).

How do I change a file back to default?

  1. click the “Start” button and select “Control Panel.”
  2. Click “Programs,” click “Default Programs”
  3. Select “Set Default Programs.”
  4. On the left of the screen is a list of all programs installed on your computer.
  5. Click the program you want to associate with a particular file type.
  6. Click “Choose Defaults for this program.”
Related Question Answers

What should be in the hosts file?

A Hosts file is a file that almost all computers and operating systems can use to map a connection between an IP address and domain names. This file is an ASCII text file. It contains IP addresses separated by a space and then a domain name. Each address gets its own line.

How do I download a host file?

For Windows 10 and 8
  1. Press the Windows key.
  2. Type Notepad in the search field.
  3. In the search results, right-click Notepad and select Run as administrator.
  4. From Notepad, open the following file: c:WindowsSystem32Driversetchosts.
  5. Make the necessary changes to the file.
  6. Click File > Save to save your changes.
Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.