How to enable or disable Windows AutoPlay

Updated: 06/30/2020 by Computer Hope
autoplay disable enable

The Windows AutoPlay feature allows a computer to automatically run a program or video on a CD or DVD that's inserted into a computer disc drive. If AutoPlay is disabled, nothing automatically happens with a CD or DVD until you explore the disc.

By default, Autoplay is enabled in Windows, but may be disabled by a user or another program. To enable or disable the Windows AutoPlay feature, follow the appropriate steps below.

Disable Microsoft Windows AutoPlay

To disable AutoPlay in Microsoft Windows, follow these steps.

Tip

You can temporarily disable the AutoPlay feature by holding down the left Shift key as the CD begins to run. Also, to browse the contents of the CD, open My Computer, right-click the CD-ROM drive, and choose Explore.

If you want to permanently disable the AutoPlay feature, follow the steps below for your version of Microsoft Windows.

Disable AutoPlay in Windows Vista, 7, 8, and 10

Note

To perform the steps below, you must edit the system registry. Editing the registry incorrectly can cause system errors, and there is no undo function. Before editing your registry, create a backup of the current registry state. If something goes wrong, you can restore the registry to this state, to try to fix the problem. For more information, see: How to back up and restore the Windows registry.

  1. Open the Windows Registry Editor.
  2. In the Registry Editor, open the below registry key:
HKEY_LOCAL_MACHINE\
System\
CurrentControlSet\
Services\
Cdrom\
  1. In the Cdrom folder, change the Autorun string value from a '1' to a '0'.
  2. Close the Registry Editor.

Disable AutoPlay in Windows XP

In Windows XP, you can disable AutoPlay by configuring Windows Explorer.

  1. Open My Computer or Explorer
  2. Right-click the CD-ROM drive and click Properties.
  3. Click the AutoPlay tab. In this section, you can specify all Windows AutoPlay features.

Disable AutoPlay with TweakUI

On multiple versions of Windows, you can disable AutoPlay with the TweakUI utility.

  1. Download and install TweakUI.
  1. From the TweakUI interface, click the + next to My Computer
  2. Click the + next to AutoPlay
  3. Select Drives and uncheck each drive you want to disable AutoPlay on.

Disable AutoPlay in Windows 95, 98, and ME

In Windows 95, 98, or ME, follow these steps to disable AutoPlay.

  1. Open the Device Manager.
  2. Click the + next to CD-ROM and double-click the currently installed CD-ROM drive.
  3. In the CD-ROM properties, click the Settings tab and verify that there is not a check in the Auto Insert Notification section.

Disable AutoPlay on audio CDs only

To disable AutoPlay for audio CDs only, follow these steps.

  1. Click Start, Programs, Windows Explorer
  2. In Windows Explorer, click View, then click Folder Options.
  3. Click the File types tab and locate " CD Audio Track" category in the list of available file types.
  4. Highlight " CD Audio Track" and click Edit or Advanced.
  5. In the Actions category, change the default from Play to Open or None.

Disable AutoPlay by editing the Windows registry

If the My Autorun or AutoPlay feature still does not work after following the above recommendations and you are running Microsoft Windows 95 or Windows 98, try the below solution.

Caution

Before editing your Microsoft Windows registry, we recommend you create a backup of the entire registry. Any improper registry changes can cause the operating system to malfunction. Only proceed if you're confident in what you are doing, and are prepared to restore the registry if necessary.

In Regedit, navigate into the below folders.

HKEY_USERS\
.DEFAULT\
SOFTWARE\
MICROSOFT\
Windows\
CURRENTVERSION\
POLICIES\
EXPLORER\

Once in the Explorer folder, double-click the entry NoDriveTypeAutoRun if present and change the value to "95 00 00 00".

If NoDriveTypeAutoRun is not present, follow the steps below.

  1. Click Edit from the drop-down menu.
  2. Click New.
  3. Click Binary value.
  4. Enter "NoDriveTypeAutoRun" as the name.
  5. Enter "95 00 00 00" as the value.

Once the above is completed, exit Regedit and reboot the computer. Autoplay should now be disabled.

Disable AutoPlay in Windows NT and 2000

In Windows NT or 2000, follow these steps to disable AutoPlay.

Note

Performing the steps below require you edit the system registry. Make sure you are aware of the issues that could occur if the incorrect registry entry is made.

  1. Click Start, Run, type Regedit and press Enter.
  2. In the Registry Editor, open the below registry key:
HKEY_LOCAL_MACHINE\
System\
CurrentControlSet\
Services\
Cdrom\
  1. In the Cdrom folder, change the Autorun value from a '1' to a '0'.
  2. Close the Registry Editor.

Enable Microsoft Windows AutoPlay

To enable AutoPlay in Microsoft Windows, follow these steps.

Note

Before attempting the instructions below, ensure the CD that may not be AutoPlaying is capable of doing this. Not all CDs are capable of being auto played. CDs for Microsoft Windows that are AutoPlay data have an "autorun.inf" file in the root directory of the CD.

Enable AutoPlay in Windows Vista, 7, 8, and 10

In Windows Vista, 7, 8, and 10, follow these steps to enable AutoPlay.

Note

Performing the steps below require you edit the system registry. Make sure you are aware of the issues that could occur if the incorrect registry entry is made.

  1. Open the Windows Registry Editor.
  2. In the Registry Editor, open the below registry key:
HKEY_LOCAL_MACHINE\
System\
CurrentControlSet\
Services\
Cdrom\
  1. When in the Cdrom folder, change the Autorun string value from a '0' to a '1'.
  2. Close the Registry Editor.

Enable AutoPlay in Windows XP

Enable through Windows Explorer

  1. Open My Computer or Explorer
  2. Right-click the CD-ROM drive or another disc drive and click Properties.
  3. Click the AutoPlay tab. In this section, you can specify all Windows AutoPlay features.

Enable AutoPlay on CD and DVD drives

  1. Download and install TweakUI.
  1. From the TweakUI interface, click the + next to My Computer
  2. Click the + next to AutoPlay
  3. Select Drives and check each drive you want to AutoPlay.

Enable AutoPlay in Windows 95, 98, and ME

  1. Open the Device Manager.
  2. Click the + next to CD-ROM and double-click the currently installed CD-ROM drive.
  3. In the CD-ROM properties, click the Settings tab and verify that there is a check in the Auto Insert Notification section. If there is no check in this box, place a check into the box, then click Ok and restart the computer.

Disable AutoPlay for Audio CDs only

  1. Click Start, Programs, Windows Explorer
  2. In Windows Explorer, click View and then Folder Options.
  3. Click the File types tab and locate "CD Audio Track" category in the list of available file types.
  4. Highlight "CD Audio Track" and click Edit or Advanced.
  5. In the Actions category double-click the option listed Play; if this is not listed, see the next paragraph.
  6. If you want to use the default Windows CD player, ensure that in the "Application used to perform the action" section is "c:\windows\cdplayer.exe -play".
  7. Once set, make sure this action is the Default.

If Play was not an option listed when following the above steps, in the "Edit File type" window click New. After that, type Play for the action type, then under "application used to perform this action" type c:\windows\cdplayer.exe -play.

Note

The above steps are for setting audio CDs to be played with the default Microsoft Windows CD player. If you have a different CD player, you need to edit the play to point to the program you want to play your CDs.

Enable AutoPlay in Windows NT and 2000

Note

Performing the steps below require you edit the system registry. Make sure you are aware of the issues that could occur if the incorrect registry entry is made.

  1. Click Start, Run, type Regedit and press Enter.
  2. In the Registry Editor open the below registry key:
HKEY_LOCAL_MACHINE\
System\
CurrentControlSet\
Services\
Cdrom\
  1. When in the Cdrom folder, change the Autorun from a '0' to a '1'.
  2. Close the Registry Editor.

Additional information