# Local is requesting administrative privileges to modify your etc/hosts file

**URL:** <https://community.localwp.com/t/local-is-requesting-administrative-privileges-to-modify-your-etc-hosts-file/44655>\
**Category:** Support\
**Created:** [September 21, 2024, 7:49pm UTC](https://community.localwp.com/t/local-is-requesting-administrative-privileges-to-modify-your-etc-hosts-file/44655 "2024-09-21T19:49:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![atakan](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@atakan](https://community.localwp.com/u/atakan)\
**Post date:** [September 21, 2024, 7:49pm UTC](https://community.localwp.com/t/local-is-requesting-administrative-privileges-to-modify-your-etc-hosts-file/44655/1 "2024-09-21T19:49:53Z")

</div>

Hello, I always get this error when creating a wordpress page:  
 ![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/b/a/ba7fe0cfbcb0fa18877fc183fa4c458d8d28bad2.png)

 ![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/4/5/45b7492b153556a8b4a6daa520f27173fe03cbba.png)

and additionally the error:

![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/f/2/f286b1a5679123664db26ee725c349a03303fee4.png)

i have already tried the steps in the post ([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)) i have also turned off my windows defender unfortunately this does nothing  
My OS is Windows 11

---

<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:** [September 21, 2024, 8:08pm UTC](https://community.localwp.com/t/local-is-requesting-administrative-privileges-to-modify-your-etc-hosts-file/44655/2 "2024-09-21T20:08:00Z")

</div>

Hi @atakan

It looks like this error may be due to a special character in your Windows username.

Can you try creating and using a user directory without extended characters?

> [@Special characters not supported on Windows username/password](https://community.localwp.com/t/unable-to-provision-site-due-to-special-characters-in-windows-username/14419):
>
> Moderator Note: Known Bug Summary Thank you everyone who has chimed in and helps clarify this issue! The general problem is that when a Windows Username includes special characters (so an apostrophe ' or a non-ASCII character like é) it can break the commands Local uses to communicate with the MySQL database. Usernames that have an apostrophe in them should be fixed, so update to the most recent version of Local if the username has an apostrophe in it. Read on for what you can do if the userna…

Thanks!

---

<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:** [December 20, 2024, 8:08pm UTC](https://community.localwp.com/t/local-is-requesting-administrative-privileges-to-modify-your-etc-hosts-file/44655/3 "2024-12-20T20:08:40Z")

</div>

Closed on December 20, 2024, 8:08pm UTC

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