Error Hosts File

First Tine Install

I Get the message that it can not update the Hosts file

The Windows/system32/drivers\etc director is read only

It does not allow me to change permissions in this directory

The “Hosts” file in the “etc” directory

I change permissions on the file on the file but still get error

I open the file in Notepad make a change and when I save it says I do not have permission

If I open LocalWP as administrator its the same result


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc


System Details

  • Local Version:

  • Operating System (OS) and OS version:Windows 11


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @petewatters! Have you checked if there are any security blockers?

We have a Windows Troubleshooting guide below that goes over some common items to double check here: