This computer suddenly started freezing on startup and taking 5 minutes to boot to Windows.
I have updated the bios (126.96.36.199), restored default settings, made sure the hdd had 1st boot priority, updated all drivers, virus scans, and registry cleanup.
The Fujitsu diagnostic utility in the boot menu returned the code 00410002 related to the hard drive so I cloned the drive to a SSD and replaced the old drive. It still hangs but now takes 4 minutes to start Windows (and subsequent diagnostic utility returned no codes). It seems to work fine once it gets to Windows.
It's 5 years old so I think the ram might be getting old, but that's not a known cause of delaying before starting windows.