# Files can not be deleted

**URL:** https://resource.dopus.com/t/files-can-not-be-deleted/36050
**Category:** Help & Support
**Created:** [July 7, 2020, 6:57am UTC](https://resource.dopus.com/t/files-can-not-be-deleted/36050 "2020-07-07T06:57:10Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![ahmedwaheedahmed](https://resource.dopus.com/letter_avatar_proxy/v4/letter/a/82dd89/32.png) [@ahmedwaheedahmed](https://resource.dopus.com/u/ahmedwaheedahmed)
#### Post date: [July 7, 2020, 6:57am UTC](https://resource.dopus.com/t/files-can-not-be-deleted/36050/1 "2020-07-07T06:57:10Z")

</div>

every time i delete any file it still appears in my folder and only gone if I move to another folder and come back to same folder where I store my files. How can I solve this issue?

---

<div class="post-metadata">

### Author: ![Jon](https://resource.dopus.com/user_avatar/resource.dopus.com/jon/32/12713_2.png) [@Jon](https://resource.dopus.com/u/Jon)
#### Post date: [July 7, 2020, 6:59am UTC](https://resource.dopus.com/t/files-can-not-be-deleted/36050/2 "2020-07-07T06:59:28Z")

</div>

If you quit Opus fully (File -\> Exit Directory Opus) and run it again, does it still happen?

---

<div class="post-metadata">

### Author: ![ahmedwaheedahmed](https://resource.dopus.com/letter_avatar_proxy/v4/letter/a/82dd89/32.png) [@ahmedwaheedahmed](https://resource.dopus.com/u/ahmedwaheedahmed)
#### Post date: [July 7, 2020, 8:35am UTC](https://resource.dopus.com/t/files-can-not-be-deleted/36050/3 "2020-07-07T08:35:57Z")

</div>

I tried and not solved.

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [July 7, 2020, 8:53am UTC](https://resource.dopus.com/t/files-can-not-be-deleted/36050/4 "2020-07-07T08:53:20Z")

</div>

Does this happen on your local C drive or only on a particular device?

Is it a network drive? What's at the other end of it? Windows, or something else?

---

<div class="post-metadata">

### Author: ![ahmedwaheedahmed](https://resource.dopus.com/letter_avatar_proxy/v4/letter/a/82dd89/32.png) [@ahmedwaheedahmed](https://resource.dopus.com/u/ahmedwaheedahmed)
#### Post date: [July 7, 2020, 9:54am UTC](https://resource.dopus.com/t/files-can-not-be-deleted/36050/5 "2020-07-07T09:54:41Z")

</div>

its on the local D drive.  
its not a network drive.  
Windows 10

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [July 7, 2020, 10:05am UTC](https://resource.dopus.com/t/files-can-not-be-deleted/36050/6 "2020-07-07T10:05:36Z")

</div>

That is strange. Please try the suggestions here:

> [@Changes to folders are not being detected](https://resource.dopus.com/t/changes-to-folders-are-not-being-detected/1786):
>
> Opus should detect changes to folders automatically, but there are some things to check first: [Fully exit Opus](https://resource.dopus.com/t/how-to-exit-directory-opus/3479) and restart it, in case the problem is with the Windows change-notification system losing track of the request from Opus to listen to ch…

---

<div class="post-metadata">

### Author: ![ahmedwaheedahmed](https://resource.dopus.com/letter_avatar_proxy/v4/letter/a/82dd89/32.png) [@ahmedwaheedahmed](https://resource.dopus.com/u/ahmedwaheedahmed)
#### Post date: [July 8, 2020, 9:21am UTC](https://resource.dopus.com/t/files-can-not-be-deleted/36050/7 "2020-07-08T09:21:25Z")

</div>

I tried all steps and still same issue.

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [July 8, 2020, 9:48am UTC](https://resource.dopus.com/t/files-can-not-be-deleted/36050/8 "2020-07-08T09:48:38Z")

</div>

Please show us the debug output.

Also: Do you have Kaspersky installed?

---

<div class="post-metadata">

### Author: ![ahmedwaheedahmed](https://resource.dopus.com/letter_avatar_proxy/v4/letter/a/82dd89/32.png) [@ahmedwaheedahmed](https://resource.dopus.com/u/ahmedwaheedahmed)
#### Post date: [July 8, 2020, 1:29pm UTC](https://resource.dopus.com/t/files-can-not-be-deleted/36050/9 "2020-07-08T13:29:07Z")

</div>

Yes. Kaspersky installed.

I tried to upload the debug output file but I couldn't.

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [July 8, 2020, 1:51pm UTC](https://resource.dopus.com/t/files-can-not-be-deleted/36050/10 "2020-07-08T13:51:36Z")

</div>

> [@ahmedwaheedahmed](#):
>
> Yes. Kaspersky installed.

The FAQ mentions a problem where Kaspersky completely breaks change notification in Windows (unless the process is whitelisted). You may be seeing a result of that issue.

Please try whitelisting dopus.exe to see if it works. Instructions are in the post which the FAQ links to. If that fixes things, please complain to Kaspersky as they seem to have been ignoring this problem for _years_ and it affects a lot more than just Opus.

> [@ahmedwaheedahmed](#):
>
> I tried to upload the debug output file but I couldn't.

More detail please. What went wrong? Was there an error message? Did you zip up the debug output, or try to attach it as-is, or try to paste it into a message? (Zipping is best, if it's a large amount of text.)

---

<div class="post-metadata">

### Author: ![ahmedwaheedahmed](https://resource.dopus.com/letter_avatar_proxy/v4/letter/a/82dd89/32.png) [@ahmedwaheedahmed](https://resource.dopus.com/u/ahmedwaheedahmed)
#### Post date: [July 12, 2020, 8:33am UTC](https://resource.dopus.com/t/files-can-not-be-deleted/36050/11 "2020-07-12T08:33:45Z")

</div>

[debugfile.zip](https://resource.dopus.com/uploads/short-url/2pitH1MqQP3CzVMdyA76XhNMVy.zip) (770.4 KB)

please find attached debugfile. Appreciate if you could help me solving the issue.

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [July 12, 2020, 11:21am UTC](https://resource.dopus.com/t/files-can-not-be-deleted/36050/12 "2020-07-12T11:21:38Z")

</div>

Have you tried whitelisting Opus in Kaspersky? We know for sure that Kaspersky can break the notification system in Windows, so I would try that.

In the debug log you sent, which file (full path) was deleted, so we know what to look for?

---

<div class="post-metadata">

### Author: ![ahmedwaheedahmed](https://resource.dopus.com/letter_avatar_proxy/v4/letter/a/82dd89/32.png) [@ahmedwaheedahmed](https://resource.dopus.com/u/ahmedwaheedahmed)
#### Post date: [July 12, 2020, 11:53am UTC](https://resource.dopus.com/t/files-can-not-be-deleted/36050/13 "2020-07-12T11:53:25Z")

</div>

How can I do whitelisting Opus in Kaspersky?

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [July 12, 2020, 12:02pm UTC](https://resource.dopus.com/t/files-can-not-be-deleted/36050/14 "2020-07-12T12:02:52Z")

</div>

"Instructions are in the post which the FAQ links to."

The FAQ: [Changes to folders are not being detected](https://resource.dopus.com/t/changes-to-folders-are-not-being-detected/1786)

The post the FAQ links to: [rename - FileSystemWatcher no longer has old filename in some Windows 7 machines - Stack Overflow](https://stackoverflow.com/questions/30702325/filesystemwatcher-no-longer-has-old-filename-in-some-windows-7-machines/32098277#32098277)

> In a word, Kaspersky.
> 
> To elaborate, I thought I had already tested removing KAS but maybe I didn't reboot after or something, and it's odd because it is also installed on a computer at work that does not present the problem--same version of KAS.
> 
> Note that this version is a corporate version, which installs:
> 
> Kaspersky Endpoint Security 10 for Windows and Kaspersky Security Center Network Agent
> 
> A central policy is pushed out to each client computer and enforced. It has control over settings, like trusted applications (a whitelist). When IT pushed out a whitelist entry for my specific application, it fixed the problem.
> 
> Note that there are several checkboxes to select for each trusted application entry. This fix only needed one of them.
> 
> Under Settings | Anti-Virus protected | Exclusions and trusted applications | Settings, there is a list that can be added to.
> 
> Do not scan opened files X Do not monitor application activity Do not inherit restrictions of the parent process (application) Do not monitor child application activity Allow interaction with application interface Do not scan network traffic
> 
> Honourable mention must go to my co-worker, Arti Chauhan, who suggested more than once that KAS might be the problem. I thought I had fully tested when I guess I hadn't.
