However, Windows Vista users can disable the Autorun feature in the following manner.
Step 1: Click Start Menu and move to Settings>>Control Panel.
Step 2: In the Control Panel window, look for the Default Programs icon present in the top row of the programs list. Double-click to open the Default Programs window.
Step 3: Now, click the Change Auto Play Settings options to change the Auto Play settings. From the window, you will find a listing of devices and media on the left, and the corresponding action on the right. Change every corresponding action to “Take No Action” and click the “save” button located on the lower right corner of the window.
Other Windows users will have to follow a cumbersome path of creating a registry key in order to disable the threat of Microsoft's Autorun virus.
Step 1: Press “Windows key + R” to open the Run window. Type notepad and press enter.
Step 2: Now, add the following line and save the file as “AutorunDisable.reg” using the double quotes.
Regedit4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]@="@SYS:DoesNotExist"
Step 3: Now execute the file and when asked to enter the entry to the registry, click yes.