Hello. You’re on the right path, so no need to worry just yet. If your SSD shows up in DiskPart, that means it’s still detected by the system, but the partition table may be corrupted, which is why it appears as fully unallocated space.
Before proceeding with TestDisk or GParted, please check the following:
- Open DiskPart (from the Windows Recovery Command Prompt) and enter
list volume. Do any volumes or drive letters show up, or is the list empty? - In your BIOS, under Storage Information or NVMe/SATA Details, verify whether your SSD’s model, firmware version, and SMART health status are displayed correctly. If these details are missing, the issue could be hardware-related (such as a controller or NAND failure). You can also run this command in the Windows Recovery Command Prompt:
wmic diskdrive get status
If the status shows “OK,” your SSD’s hardware is probably intact and only the file system is affected.
One important note: if you previously enabled BitLocker or manufacturer encryption, recovery tools like TestDisk won’t be able to access your data without the recovery key.