windows 10 – Why does my PC blue screen on first boot, then after restarting itself boot up normally?

I added an M.2 NVME drive to my computer yesterday, and cloned my original SSD with my Windows installation over to it.

The original SSD has since been formatted, and no other drives contain an operating system.

On initial boot from cold, Windows will bluescreen before it gets to the login screen with KMODE_EXCEPTION_NOT_HANDLED, and then reboots itself. On subsequent “hot” reboots, there is no bluescreen.

I have tried running sfc /scannow with no faults found.

Does anyone have any ideas on how to fix this please?