Cannot delete movies.

Hello,
I’m on Windows 10 creators update (not sure if it’s related). When i press “delete” on a movie, after confirming the 2 questions (remove from library and from hard drive), the movie is gone from the list, but it’s not actually deleted. The movie stays on the hard drive and the next kodi load it will find it again.
“Allow delete and rename” is checked.
this is what I see in the log:
ERROR: XFILE::CFile::Delete – Error deleting file — > the file I wanted to delete here,
and there is no further information.
The file is easily deleted in the windows explorer.
I’m using the latest kodi 17.3, and it happens with every movie I try to delete – nothing is deleted.
I also tried running kodi as administrator – it doesn’t help.
What can be the problem?