Skip to main content

How to edit & save the Windows Hosts file

You can edit and save the host file, C:\Windows\System32\drivers\etc\hosts, in a few simple steps:

  • Copy or drag the host file to your machine's desktop
  • Edit the file with notepad or any word processor of your choice
  • Copy or drag the file back to the /system32/drivers/etc folder

Please note, if you try to edit the host file directly from the file explorer, you will receive an error that will not allow you to save.