Insert this code into a notepad text file and name it "openDiscDrives.vbs"
For Each d in CreateObject("Scripting.FileSystemObject").Drives
WScript.sleep 60
if d.DriveType = 4 then
CreateObject("Shell.Application").Namespace(17).ParseName(d.DriveLetter & ":\").InvokeVerb("Eject")
end if
next
Then double click this file, if all your CD/DVD drives don't open then Windows has an issue referring to your drive for some reason, update windows. If this does not work, try re installing your DVD Drive drivers, if that fails then you MAY want to re-install windows.
If it fails after that, you will need to talk to the customer support for your Laptop Manufacturer.
1You could try to reboot the computer and repeatedly press the eject button during boot. That's what I do when I get this problem, also me not being able to eject under normal conditions is due to bad media and drive spinning continuously, which seems to be different with your case. – bonob – 2014-04-16T15:29:45.047
@bonob my laptop doesnt have a eject button :( – Computernerd – 2014-04-16T15:30:55.323
There may be a tiny hole in the outside of the drive tray. If there is, put a paper clip in there to eject it. – EBGreen – 2014-04-16T15:35:31.177
The dell engineer in that 'Solution' must be a complete idiot. You can see clearly by the pictures on alienwares website that it has no eject or emergency eject buttons and he's saying to eject it via the bios??? What an idiot. Anyway, you could try booting into Ubuntu from a USB stick and eject it from there. You can then determine if it's the media or the drive that is at fault by using different discs. – Simkill – 2014-04-16T15:42:38.897