Tip & How-To about Computers & Internet

How to disable Autoplay of Audio CDs and USB Drives in windows



All recent versions of widows contain features called AutoPlay and AutoRun. AutoPlay lets you choose which program to use to start different kinds of media, such as music CDs, or CDs or DVDs containing photos. For example, the first time you try to play a music CD, AutoPlay asks which media player you want to use, if you have more than one installed on your computer. You can change AutoPlay settings for each media type.Autorun is the technology used to start many programs or enhanced content (such as videos on a music CD) automatically when you insert a CD or USB drives into your computer. This is different from AutoPlay, but the result are the same, when inserted, the CD or USB drive starts automatically, using a particular program. Autorun is incorporated into the media types that use it, and you can't modify it.
When a disc is inserted or a drive is connected to your computer, Windows looks in the root directory of the disc or drive for a file named autorun.inf. If found, Windows executes the instructions in that file. ( whether it be start the music or install the virus.)
For example, an autorun.inf file on a CD might contain a line that reads open=setup.exe. This tells your computer to launch a setup program as soon as the CD is inserted into the drive

Removable USB/thumb drives use the Autorun feature to load files when the drives are plugged into the USB port. Malware exploits the Autorun feature to spread from thumb drive to PC. Disable the autorun feature to prevent malware from spreading.


For XP users:

1.Click Start and then click Run. Type gpedit.msc and click OK. The Group Policy window will open.



2. In the left pane, double-click Administrative TemplatesIn the right pane, double-click System, scroll down the list and double-click Turn Off Autoplay

3.In the Turn Off Autoplay Properties window, select Enabled. From the dropdown next to Turn Off Autoplay on, select All drives and then click OK.




4.Exit Group Policy by selecting File, then choosing Exit from the menu.

Posted by on

Computers & Internet Logo

Related Topics:

Related Questions:

1 Answer

AutoPlay - Windows XP


Autorun is a feature of Windows XP that brings up a screen with actions that the user can perform any time a storage device or piece of media is inserted into a computer. This feature can be disabled by changing a value in the system registry. If the Autorun feature is not working on your Windows XP system, fix the computer so that the Autorun options will be displayed when a USB device is connected.

Select the "Start" button and choose "Run." Type "regedit" (no quotation marks) and click "OK." Click on the key "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer\NoDriveTypeAutorun" in the left side of the window. Right-click on the value "NoDriveTypeAutoRun" in the right side of the window. Select "Modify" from the menu. Enter "91" into the "Value data" box. Select "Hexadecimal" as the type. Click "OK" to enable Autorun on all types of drives, including USB devices. Close the registry editor and reboot the computer. Hope this helps.

Jan 10, 2013 | Computers & Internet

1 Answer

I have Samsung R590 Laptop which i bought December last year... Before the USB ports used to work properly and display wt ever data is present in the usb ... but now it reads the data but all appear as shortcut and when i tried to opened it ... it always displays that window cannot open the folder!! Please suggest!!!


Microsoft Knowledge Base
Article 971029
describes an update to Autorun that restricts AutoPlay
functionality to CD and DVD media. This update is intended to stop AutoPlay
functionality from working on USB drives, external hard drives, or network
shares. This update is available for supported editions of Windows XP, Windows
Server 2003, Windows Vista, and Windows Server 2008.

Removable USB/thumb drives use the Autorun feature to load files when the drives are plugged into the USB port. Malware exploits the Autorun feature to spread from thumb drive to PC. Disable the autorun feature to prevent malware from spreading.

The preceding describes what has likely happened to your USB ports due to Windows update disabling the autorun feature for USB thumbdrives. The thumbdrive may no longer present its data properly unless you manually invoke the autorun in its root.

Mar 27, 2011 | Computers & Internet

1 Answer

I am trying to get my DVD drive to autoplay. When I right click on the drive icon and select autoplay, the type of file and the program to autorun + apply -- the system seems to respond. But when I right click on the drive again, the original settings appear unchanged and autoplay does not work.


The AutoPlay feature may not be turned on. To turn on AutoPlay, follow these steps:
  1. Click Start, and then click Run.
  2. Type regedit, and then click OK.
  3. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CDRom
  4. Double-click Autorun and see whether a zero or a one is displayed in the Value data box.
    • If the value for Autorun is 1, go to step 5.
    • If the value for Autorun is 0, right-click Autorun, and then click Modify. In the Value data box, type 1, and then click OK.
  5. Locate and then click the following subkey: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
  6. Double-click NoDriveTypeAutoRun to see its value. If the value is 0xb5, the AutoRun feature for CD-ROMs is turned off. To turn on the AutoRun feature, follow these steps:
    1. Right-click NoDriveTypeAutoRun.
    2. Click Modify.
    3. In the Value data box, type 91.
    4. Select Hexadecimal, and then click OK.
  7. Exit Registry Editor.

Jun 12, 2009 | Computers & Internet

2 Answers

My computer does not have a AutoPlay feature in it so I can insert and run my Cd-ROM PC games. It must have come with one but I can't find it.


Enabling AutoPlay on a data and audio CD (Windows XP)
  1. Open My Computer or Explorer
  2. Highlight the CD-ROM drive, right-click the CD-ROM drive and click properties.
  3. Click the AutoPlay tab. Within this section you will be able to specify all Windows AutoPlay features.
If I could be of further assistance, let me know. If this helps or solves the issue, please rate it.
Thanks, Joe

Nov 26, 2008 | HP Computers & Internet

Not finding what you are looking for?

212 people viewed this tip

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Loading...