Are the DVD and BluRay drives detected in the BIOS? If not, then installing/repairing Windows is not going to do any good. If they are properly identified, make sure your data and time are correct, then Save and Exit to ensure the CMOS information is properly saved.