09-03-2018 02:10 PM
Welcome to the Community Forums.
I would suggest that you try to test the drive by booting in a windows installer cd or live rescue cd similar to this. This can be an option if you do not have a spare cd/dvd to test the machine with and isolate if there is something on the software that causes this.
Check if the same eject happen outside Windows by trying a bootable disc.
Update us how it goes.