>>1538174Tt could be due to an incorrect BIOS/UEFI setting, a physical connection issue, an outdated BIOS, a missing driver, or corruption of the drive itself,
did you do any windows updates lately.
There have been recent reports of Windows 11 users experiencing issues with their M.2 SSDs, including them vanishing, after installing the 24H2 update (KB5063878), which Microsoft is now investigating. If you've encountered this, you can try to resolve the issue by checking your M.2 drive's physical connection, using the Windows Recovery Environment to run a disk check (chkdsk C: /f /r), attempting to boot into Safe Mode, or performing a System Restore if you created a restore point before the update