Hey I found a article on how to do this in technet here it is:
For information about how to edit the registry, view the "Changing Keys and
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it. If
you are running Windows NT or Windows 2000, you should also update your
Emergency Repair Disk (ERD).
There is no user interface option to enable or disable the Autorun feature. To
enable or disable the feature, you must edit the registry. To do so, follow the
steps below.
1. Change the Autorun value in the following registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CDRom
To disable the Autorun feature, change the Autorun value to 0. To enable the
Autorun feature, change the Autorun value to 1.
2. Restart the computer.
NOTE: The above method disables the Autorun feature completely. If you want to
disable the feature on a per compact disc basis, you can hold down one of the
SHIFT keys while inserting the compact disc.
Additional Information
----------------------
There are two other keys that can affect this functionality:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
NoDriveTypeAutoRun = 0x00000095
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
NoDriveTypeAutoRun = 0x00000095
The correct value for each is0x00000095.
Additional query words: prodnt auto autoinsert insert notification autorun.inf