# Error Hosts File

**URL:** <https://community.localwp.com/t/error-hosts-file/52258>\
**Category:** Support\
**Created:** [June 4, 2026, 5:11pm UTC](https://community.localwp.com/t/error-hosts-file/52258 "2026-06-04T17:11:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![petewatters](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/petewatters/32/25607_2.png) [@petewatters](https://community.localwp.com/u/petewatters)\
**Post date:** [June 4, 2026, 5:11pm UTC](https://community.localwp.com/t/error-hosts-file/52258/1 "2026-06-04T17:11:40Z")

</div>

### 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.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [June 8, 2026, 12:37pm UTC](https://community.localwp.com/t/error-hosts-file/52258/2 "2026-06-08T12:37:06Z")

</div>

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:

> **[Troubleshoot: Windows + Local](https://localwp.com/help-docs/troubleshooting/troubleshoot-windows-local/)**
>
> Windows is the operating system of choice for the majority of Local users, and while Local is compatible with Windows, below we will break down some common troubleshooting steps for Windows users to…

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [September 6, 2026, 12:37pm UTC](https://community.localwp.com/t/error-hosts-file/52258/3 "2026-09-06T12:37:21Z")

</div>

Closed on September 6, 2026, 12:37pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
