I have a Lenovo w510 laptop. When it came, its CD drive was powered off; I right-clicked it and enabled power to it.
Now I want to power it off again, without using any software.
Does anyone know how I can disable the eject button of the CD drive?
The power management settings let you decide how fast it powers off, but I'm not aware of any way to manually turn it off without involving an app or just waiting for it to go to sleep. (I'm not even sure what you mean by "without using any software" - you want a physical switch?)
EDIT: See comments; this functionality is not native to Windows. Requires special software.