It seems you have other problems then. That must work.
Check with Malwarebytes
You can also run the command prompt as Administrator and delete the file there.
Navigate to the directory and file you want to delete and type in "Del" Filename.??? Substituting the actual file name and extension for "Filename" and "???"
If that does not work then you have other problems.