I have a HP a6400f computer running Windows Vista. It is not connected to the internet and was used 3 or 4 times this year. It was running fine 3 months ago when I turned it off.
Today I turned it on and it would not boot up to Windows. It appeared to be disk-related because I could see garbage on the screen.
I restarted the computer and held F9 down to run diagnostics. The diagnostic app is powered by PC Doctor along with the HP logo. The CPU, memory, hard drives, and the boot path all passed.
When I then let the computer restart, Windows came up fine and ran for several hours when I shut it down.
The last time this happened was in late 2022. I found an intermittent connection in the hard drive cabling between the power supply and the disk. I replaced the cable and the computer has been running fine until today.
What might be the cause of the problem?