what OS are you running?
try rebooting your system in safe mode then delete the file manually from DOS or windows(whetever). Access Denied message is because the application is running. what is the name of the trojan? tell us if you are still not able to get rid of the trojan

this is a similar thread .