How to disable CD-ROM auto-run in Windows XP

  1. Run the Registry Editor (regedit.exe)
  2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom
  3. Change the value of the key AutoRun to 0.


A less invasive method for disks without autrun.inf (such as music, dvd, and picture disks) is to right click on the disk drive and select properties. Under the AutoPlay tab you can set different actions for different media types.

You can also hold down shift while inserting the disk to prevent disks from auto-running.