This method disables automatically running CD-ROMs. If you want to disable automatically running CD-ROMs depending on the CD-ROM that you insert in the CD-ROM drive, you can press and hold down one of the SHIFT key while you insert the CD-ROM.
I have found this very useful many times, as you do not always want to auto run, especially if it’s a data cd. It gives you the opportunity to manually browse the contents of the CD without having to close any autorun window that may open on the insertion of the CD.
To change Autorun settings:
‘0’ for disable, ‘1’ for enable.
Change to value of ‘Autorun’, or create a new DWORD value if it doesn’t already exist, and set the data to equal ‘0’ for Autorun disabled.
Restart your computer for the changes to take effect.