How to reset the hosts file

How to restore the hosts file in WIndows 7, 8, 10 to the default state. hosts-restore0

How to restore the hosts file manually

1. Press the start button.
2. Enter notepad into the search field.
3. Right-click the Notepad in the results.
4. Select Run as administrator:

hosts-restore0011

Press File – Open:

hosts-restore0013

Browse to:

Windows\System32\drivers\etc

Switch filter to All files.
Select Hosts.
Press Open:

hosts-restore0015

Remove all entries.
Save the file (CTRL+S).

hosts-restore0017

How to clear the hosts file with NetAdapter Repair

All you need to reset hosts is to press the button Clear Hosts File:

hosts-restore0031