# Cant find HOSTS file

**URL:** <https://community.localwp.com/t/cant-find-hosts-file/37963>\
**Category:** Support\
**Tags:** windows-11\
**Created:** [July 7, 2023, 3:54pm UTC](https://community.localwp.com/t/cant-find-hosts-file/37963 "2023-07-07T15:54:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucktblue](https://avatars.discourse-cdn.com/v4/letter/l/7ba0ec/32.png) [@lucktblue](https://community.localwp.com/u/lucktblue)\
**Post date:** [July 7, 2023, 3:54pm UTC](https://community.localwp.com/t/cant-find-hosts-file/37963/1 "2023-07-07T15:54:50Z")

</div>

Hello guys!!! Pleaseee helpp meee  
Erro:  
Uh-oh! Could not update hosts file

Local ran into a problem when trying to update the hosts file.  
Please ensure that the hosts file is not locked by anti-virus.

I have no hosts file in etc folder. YEs i actived the hiden files option but still theres nothing there.

Help =

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [July 7, 2023, 4:41pm UTC](https://community.localwp.com/t/cant-find-hosts-file/37963/2 "2023-07-07T16:41:33Z")

</div>

Hi there @lucktblue -

Do you have anti-virus software installed on your computer that may be causing issues?

Here is some information and troubleshooting steps you can try related to anti-virus + Windows:

> [@Help! I'm running into an EPERM error with the hosts file on Windows](https://community.localwp.com/t/help-im-running-into-an-eperm-error-with-the-hosts-file-on-windows/3508):
>
> This is usually caused by the hosts file being set to read-only or locked by anti-virus. 1. Remove Read-only Attribute Go to C:\Windows\System32\drivers\etc Right-click on the hosts file and go to “Properties” Uncheck “Read-only” Click “Apply” Re-open Local Screenshot 2. Anti-Virus/Internet Security Avira See [https://answers.avira.com/en/question/avira-blocks-hosts-file-what-can-i-do-90](https://answers.avira.com/en/question/avira-blocks-hosts-file-what-can-i-do-90)Kaspersky Total Security Open Kaspsersky Total Security Go to “More Tools” Go …

Let’s start there!

Sam

---

<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:** [October 5, 2023, 4:42pm UTC](https://community.localwp.com/t/cant-find-hosts-file/37963/3 "2023-10-05T16:42:03Z")

</div>

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