I'm trying to delete a CD image file (.img) from my desktop
when I try to put it in the recycle bin I get the message
"The action cannot be completed because the file is open in another program Close the file and try again"
First I checked obvious things like whether the .img file was  mounted in a virtual drive - it isnt so I then used LockHunter to find which application is using the file so I can close it through the Task Manager.
Unfortunately LockHunter tells me that the file is being used by "System" - which cannot be shut down through the TM.
Any help?
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation. The problem is that the program that you used to mount the image is still using the image.  In my case i used magic disk. Go to the start menu find the magic disk folder and in the folder there should be an option to uninstall magic disk. I tried un-installing it from conrtol programs add and remove but it would not let me. You can also click on computer from the start menu and see if the file you are trying to delete is still mounted (appears as a CD image). If it is you can click on the drive hit eject. Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.

Hi Tobleton_Plonk,

First I would suggest that you try to boot into safe mode and try to delete the file, check if it works.

Steps to boot to Safe mode
1.     Restart your computer if it is powered on.
2.     Tap the F8 key after your computer initially powers on.
3.     Once you see the Advanced Boot Options menu you can stop tapping.
4.     Use the up/down arrow keys to highlight your selection.
5.     Select Safe Mode and press Enter .
6.     You should see drivers loading, and then Please wait.
7.     You should then be at the Welcome Screen.
8.     Logon to your computer using an account with Administrator privileges.

Start your computer in safe mode
http://windowshelp.microsoft.com/Windows/en-US/Help/323ef48f-7b93-4079-a48a-5c58eec904a11033.mspx

If you are unable to delete the file in the safe mode then try deleting the file with administrator privileges and check if it works.
• Right click on the file and later click on “ Run as administrator

Why can't I delete a file or folder?
http://windows.microsoft.com/en-US/windows-vista/Why-cant-I-delete-a-file-or-folder

Halima S    - Microsoft Support.
Visit our Microsoft Answers Feedback Forum and let us know what you think.

Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.