I built this custom PC in early 2021, and it has worked normally until now. Windows freezes on the spinning loading dots, and it also hangs at "Preparing Automatic Repair." When it locks up, the keyboard lights turn off as well. I've reset the CMOS, reseated the RAM and NVMe drive, and created a Windows installation USB with Microsoft's Media Creation Tool, but the system still freezes shortly after the BIOS screen—even when trying to boot from USB. The BIOS appears to detect the main hardware. I'm testing the NVMe drive with an enclosure, but I'm wondering what else could cause the system to freeze before Windows or the recovery environment loads.
1 Answer
Check whether Secure Boot is enabled in the firmware settings, since that can affect how the Windows installer or recovery media starts. It would also help to know the exact motherboard model; depending on the board, a BIOS update or changing the boot settings may be necessary for reliable USB booting. Since the computer also freezes when booting from USB, the problem may not be limited to the Windows installation or the NVMe drive.

I’m not familiar with Secure Boot, so I’ll check the firmware settings and look up the motherboard’s boot and BIOS options.