DVD or CD Tray Lock from Script or on login
i have some PCs that have DVD Drives in i wan't to be able to lock them closed so the eject button doesn't work. Most of the time they won't be used but occasionally for mastering DVDs they will be needed.
I found a couple of Apps that will lock the Drive so i know its possible, however they are icon and tray based and don't have any command line switches and need doing post login so they don't serve my purpose, other than proof of concept. for example CDLocker.exe by sosftbureau.com
i've had a look around and can't find anything... surely someone has written a EXE or Script for this purpose. that i could use as a login script.