Close Disk Tray (exe)

Finally - an app to close the CD/DVD optical drive in Windows

There have been more times than I can count where I needed to open and close the CD/DVD tray on a remote PC. If you use Plex Media Server, you may understand this pain. It’s very easy to open or eject the contents of your internal optical drive. Most applications that use the optical drive have an “Eject” button, but no “Close tray” option. Same goes for Windows, you can right-click on the optical drive and just click “Eject”. I understand that this is incredibly niche, but COME ON!

winmm.dll has entered the chat.

This simple application uses winmm.dll to send the command to close the optical drive. That’s it. No interface, no console, just tray closing goodness.