Hi, I have had this very same problem not more than six weeks ago. I tried renaming the file, but I was not allowed to do so. I rebooted, re-logged in, but nothing would work.
I rebooted into safe mode thinking? I got you now"
Nope. So I went into command prompt DOS window, or reboot into DOS.
You have to be very afraid to make the wrong command here. There is no undo or <CTRL> Z.
You have to know the exact folder the file is in and type exactly the path to the file from the C:\> prompt with DEL(space)FOLDER\FOLDER\ETC\FILENAME.
If you have typed very carefully with proper spelling and spaces press enter. If you have the right path then the file will be seen and you will be asked if you want to delete "x" (y,n).
If the file you want to delete is named then type y, If not then type n. You may have to type the path to your file a few (many) times to get it right, but don't be frustrated, the computer is very exact and so do you have to be.
Another way to get the pathway correct is to right click on the bad file, and while holding down the right click key move the mouse. You will be asked questions.
Chose the question that says create shortcut(s) here. You will then have a shortcut to your bad file. Right click on the shortcut and then chose properties. In the properties box you will find the exact pathway to your file all done for you.
If the pathway is in blue highlight then copy this and paste it into notebook, or WordPad, even Word. Now print it out so you have it on paper when you are in CMD Prompt you can type from the printout. Leave out the" " marks these are not used.
Now you can do as above.
This will delete the file permanently.
Be careful and if you can't do this get someone who can.