# EPERM: operation not permitted, copyFile

**URL:** <https://community.localwp.com/t/eperm-operation-not-permitted-copyfile/17309>\
**Category:** Support\
**Tags:** windows-10\
**Created:** [February 14, 2020, 4:17am UTC](https://community.localwp.com/t/eperm-operation-not-permitted-copyfile/17309 "2020-02-14T04:17:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sasi](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@sasi](https://community.localwp.com/u/sasi)\
**Post date:** [February 14, 2020, 4:17am UTC](https://community.localwp.com/t/eperm-operation-not-permitted-copyfile/17309/1 "2020-02-14T04:17:03Z")

</div>

Hi

I recently updated the flywheel local to the latest version. After that I am getting below error whenever I start the local server or add new site.

C:\Users\LOGIN\AppData.…\router-error-404.html.

I tried the steps provided in the below link. but I still have the problem. Any idea ?

> **[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”...

---

<div class="post-metadata">

**Author:** ![sasi](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@sasi](https://community.localwp.com/u/sasi)\
**Post date:** [February 22, 2020, 1:04am UTC](https://community.localwp.com/t/eperm-operation-not-permitted-copyfile/17309/2 "2020-02-22T01:04:57Z")

</div>

Hi  
Thanks a lot for the reply. It is resolved after disabling the anti-virus.

---

<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:** [May 22, 2020, 1:05am UTC](https://community.localwp.com/t/eperm-operation-not-permitted-copyfile/17309/3 "2020-05-22T01:05:00Z")

</div>

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