Probably the device is causing an error and the windows is restarting. my computer right click > properties > advanced > start up and recovery > settings > uncheck automaticly restart under system failure options and clik on ok. ok. Should stop the restarting issue. I would say replace the cd-rom but lets have some detailed look. Waiting for the specs...