Delete an in-use file
Spyware and viruses can be difficult to delete. Often times when you locate spyware on your computer and try to delete the file you get the following error: “Cannot delete file: Access is denied. Make sure the disk is not full or write-protected and that the file is not currently in use.” There is an easy way to remove these files.
Install Creative Element Power tools. You can download Creative Element Power tools from their website.
Now when you right click on an icon, you will have the ability to “Delete in-use file.” See the screenshot below:
If you choose to delete the in-use file you will be prompted with the following dialogue. If you choose “OK” the file will be deleted when you restart.