Quick Answer: Where Is Host File Windows 10?
Contents

How to Reset Hosts File Back to Default in Windows 10

  • With Notepad open in administrator mode, you’re ready to open the HOSTS file. Click on the File menu and select Open.
  • Browse to the directory C:\Windows\System32\drivers\etc\hosts.
  • Now, paste the following text into Notepad:
  • Click on the File menu and Save.

How do I restore my hosts file back to default Windows 10 8 7?

To do so, open a new Text file named hosts in the folder %WinDir%\system32\drivers\etc folder. Save the text file. Alternatively, if you wish you can download the default Hosts file of Windows 10/8/7 by clicking here. Extract the contents and place the Hosts file in your C:\Windows\System32\drivers\etc folder.

Can’t find my hosts file?

How to Get to and Edit the Hosts File

  1. Click on the Start button, type “notepad” and press CTRL+SHIFT+ENTER. Acknowledge the UAC dialog.
  2. Type CTRL+O. Navigate to C:\Windows\System32\drivers\etc. Select “All Files” in the bottom right corner.
  3. Now you see the hosts file. Select and open it. Make your changes and save it.
Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest