It is possible to use autorun.inf on a CD rom to make it run an exe without prompting the user but the same is not possible on a USB drive. Why?If its possible, how?On a USB drive it just prompts the user to select an action.
Solution:
This has been disabled in modern versions of windows (7, vista, etc) due to security issues. There’s no way to make autorunning exe’s anymore.
The issue was viruses being spread via “found” flash drvies. This is far less likely to occur with cdroms, so the restriction is only for flash drives.