How to close cd tray in Windows Server 2012 r2

Solution 1:

The Matshita uj8e1 is a laptop-type unit (I guess it's enclosed in some usb enclosure). Those units do not have a motorized tray, therefore they require the tray to be mechanically pushed in order to close.

Solution 2:

That appears a laptop style slimline DVD drive which is spring loaded and not motorized, so no. It requires manual closure.

Full sized DVD drives are motorised and often using that same eject function on a DVD drive that is already open will close it again.

The typical approach on servers is rather than creating actual DVD's, to create DVD images, which you then download.