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.
migrated from serverfault.com Dec 20 '10 at 23:13
This question came from our site for professional system and network administrators.
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.
There are reg hacks that can enable windows 7 to do this. It could also be done through local group policy. It's not advised, as it makes the system more prone to USB viruses, but in some situations where one wants to automate certain behaviors and scripts, it comes in handy.
Clearing this value should work.