You could prevent Windows from reading/executing autorun.inf using application like Panda USB Vaccine or disabling it through registry. However, it wouldn't delete the virus (assuming your disk being infected by autorun virus). I don't think it's really needed (disabling autorun), since any good antivirus would protect you from this kind of virus.
This was another point I wanted to make for the OP. I use Panda USB Vaccine
http://research.pandasecurity.com/panda-usb-and-autorun-vaccine/ and it can be run on any drive on your machine for removable devices.
You are given the option to "vaccinate" your machine, which means to disable autoruns.inf from infecting your machine, and you can enable it again (although I wouldn't). Plus you can "vaccinate" any USB/flash or removable device so that it cannot infect your machine. This type of malware is easily transmittable because many people use USB's.
Many AV programs do not protect you from autoruns.inf. There are a few options available for protection:
- Panda USB Vaccine
- Flash Drive Disinfector
- AutoRun Eater
- Manually disabling Autoruns from your machine
How to format or cleanse your USB / flash drive:
- Right click from Windows Explorer and do a full format to cleanse your USB flash drive.
If your machine is infected, you need to go through a malware removal process.
It is best to be protected against autoruns.inf prior to being infected.