This happened to me, I had kaspersky and I installed bitdefender antivirus and my computer kept on rebooting.I resolved this problem by reinstallting my entire Os.