My HP laptop had its motherboard replaced a few months ago and was wiped with Windows 11 freshly installed. It worked for a while, but then suddenly crashed with the CRITICAL_PROCESS_DIED (0xEF) stop code. After restarting, it sometimes shows "Boot Device Not Found" and says that no operating system is installed on the hard disk. The built-in diagnostics also occasionally report that no drive is present.
If I restart it again, Windows may load normally, and the diagnostics can see the drive while Windows is running. However, the problem eventually happens again. Could this be fixed without replacing the entire laptop? I can't afford a new one, so I'd appreciate advice on what to check first.
3 Answers
The most likely cause is a failing SSD, even though it may still work intermittently. A loose connection or a problem with the replacement motherboard could also make the drive disappear, but the drive itself is the usual culprit. Back up important files immediately while Windows still starts, then check the drive’s health and consider replacing it if it reports errors.
Corrupted system files could contribute to the crash, so after backing up your files you can try starting Windows in Safe Mode and running `DISM /Online /Cleanup-Image /RestoreHealth`. However, DISM will not solve a drive that is physically failing or disconnecting. If the laptop can boot, check the SSD’s health with a reputable diagnostic tool and prepare for a replacement or restore from a known-good backup.
Intermittently disappearing from the BIOS or hardware diagnostics points to a hardware or connection problem rather than just corrupted Windows files. If you’re comfortable opening the laptop, the SSD can be reseated, but avoid doing that before securing your data. If the drive continues vanishing, it will probably need to be replaced; reinstalling Windows alone won’t fix an unreliable connection.

Thanks, I’ll back up my files first and try the diagnostics and DISM check.