How do you keep the DVD drive from opening when you get the message "please insert a disk into drive"? [duplicate]

In Windows Explorer, when I click on the drive that happens to be my cd/dvd drive, I get the message "please insert a disk into drive", which might be OK, but then the DVD drive opens and I have to close it. I consider this very rude and I do not like it. Is there a way I can keep the DVD drive from opening when it is empty and Windows tries to access it?


You can effectively stop the 'rude' auto eject behavior by disabling the built-in CD burning settings.

Quick Solution:

  • Set the following value in the Registry:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoCDBurning"=dword:00000001

Solution:

  • Open the Local Group Policy Editor (gpedit.msc).

    Run

  • Navigate to User Configuration\Administrative Templates\Windows Components\Windows Explorer.

  • Find and double click the Remove CD Burning features setting.

    Settings

  • Change the setting to Enabled, and click Okay.

    Enabled

  • Log off and then log back in.


Before:

  • Context menu (notice the Burn to disc option).

    Burn to disc

  • When we double click the drive, this message pops up and the disc tray pops open. >:(

    Insert disc

After:

  • CD Burning has been disabled. (The Format... option is gone, too...)

    CD burning disabled

  • When we double click the drive, the disc tray does not eject! :D (I don't know why they changed the spelling of 'disc'...)

    Insert disk