Make sure that a burner is installed properly ... This problem has a simple fix, just update the driver. To do that, expand DVD/CD-ROM drives, right-click on the DVD writer, and select Update ...
Some people create custom VBScripts for a sequence of tasks. Calling a third party enables such people to eject DVD/CD trays without performing any manual task. Whatever be your reason ...