Lock CD Tray v20150226 – tested under Windows 7 Home Premium 64Bit
This is an very simple code / program to lock / unlock all CD / DVD / BD drives at the same time, so then the eject button is out of order. Put this program into your Windows-Autostart-Folder to lock all CD drives when Windows starts. Click on the tray icon to open an tray menu with the following menu items:
- Lock / Unlock ALL Optical Drives
Why i wrote this program? Because i touch accidently the eject button of my notebook cd drive too often. That was very annoying, so now it is disabled and the cd tray keeps closed, even when windows is resuming form sleep or hibernation mode.
v20150226 – added a 10 sec pause when starting the program, so when windows starts this prevents mailfunction of program, problem was, that auto lock on program start did not work properly when windows started
v20150223 – tray stays locked / unlocked when windows resumes from sleep or hibernation mode
v20150221 – on exit unlock all optical drives
v20150220 – initial release