How to reset Hosts file back to default in Windows 10


  1. I checked, but on my windows 7 RC build 7100 hosts does not live in %systemroot% \SysWOW64\drivers\etc.
    It does exist in %systemroot% \system32\drivers\etc however.

    Am I correct to assume that I should no longer set up my localhost aliases in the hosts file but rather directly in the dns client of the Microsoft Management Console (gpedit). If so, how?

  2. i think it’s not good solution because host file is configure as default setting. Rename host file may be crash system. My good solution is

    1. Open Notepad with Administrative privileges by clicking Start, All Programs, Accessories, and then right-click Notepad and select to open as Administrator.
    2. Now that Notepad is open with Administrative privileges browse to (C:\Windows\System32\drivers\etc) in Notepad and open the hosts file.

  3. Aparently this is supposed to fix the problem that i can´t install ublock or adblock plus because an adware messed up everything in my computer. I performed the instructions above and the same error appears. Any suggestions?

  4. i just found a sh*tton of trojans and PUPs with a trusted malware detector. nasty little buggers!

    this is an old solution, so i’m not sure if it works still, but if you found this, it means that you were probably in the (adblockplus . org) help forums. keep trying the other suggestions… best of luck to everyone!

  5. I’m having a DNS server issue and have tried everything.
    Someone suggested this on one of the DNS server fixing videos and I came here.
    I want to ask, is it a good or a bad idea to delete the files in the etc. folder? Many people have been saying that and I was curious.

Leave a Reply

Your email address will not be published. Required fields are marked *

7 + 6 =