Well, you could just create a autorun.inf folder in every drive. And henceforth, you won't need to remove the autorun.inf file, which isn't a virus actually.
When you create a folder named autorun.inf, a new file with the same name cannot be created there. So, you will be safe. Infact, do it with your pendrive as well. And more or less, your computer will be free from viruses. Or Just disable autorun through registry or gpedit.msc .