Disable CD-ROM in BIOS

bioscompact-disclaptopoptical-drive

I have a Lenovo T420 laptop. The reason I want to disable the CD-ROM is because when moving the laptop, I often unintentionally press the eject button, which turns on CD-ROM's power and pops the tray open – it's annoying for me.
I am looking for a way to power off CD-ROM, and only power back on when I re-configure it, preferably done through the BIOS.

Best Answer

Disabling the effect of the eject button can be controlled at the OS level. Use CDRom-Lock or eject -i on to lock the drive closed.

Related Question