You have a bios issue. Default amount of times the bios will try and start is 3. After that it'll either revert to the last known stable, bootable bios or will bypass cmos and reset.
You can try booting directly to bios. Reset it to factory optimized default settings, save exit, shutdown, do not load windows.
Pull the plug, hold down the power button for 20 seconds, open the pc, pull the cmos battery, wait 10 minutes+ then replace everything.
Boot up. Goto piriform.com and get CCleaner. Install. Run the cleaner. Run the registry tool. Repeat until nothing is left to be gotten rid of.
Do both a virus and a malware scan, they are different. If you have the option to scan for root kits, use it.
That should clean out windows of any garbage.
Windows start button, scroll down to Command prompt Administrator. Enter. cd\ (enter). Type SFC /SCANNOW (enter). That'll make sure there's no corrupted/conflicting system files.
Shutdown, reboot.
Hopefully, cmos will be fixed by now, so next boot will not require 3x boots, cmos bypass, hardware search.