Question: I’ve recently received an assembled PC. I don’t know if the disk is an SSD or old HDD (whether SATA or other technologies).

I can’t find a way to tell if the disk is SSD or not, apart from the size of the disk. However, now that the sizes of SSDs are getting close to that of HDDs, checking the size is not a good and robust way to distinguish drive type. Is there some other way to determine if the disk is an SSD?

Answer: Actually, there’s a much simpler solution.

Windows Drive Optimizer (formerly Disk Defragmenter) reports whether a drive is an HDD or SSD. You can access this utility by pressing Windows+S, searching for “optimize”, and selecting Defragment and optimize your drives.

Windows Drive Optimizer showing the media type

This will generally work in any system where the disks are not plugged into a RAID card. However, if the OS cannot determine the media type (e.g. the drives are in a hardware RAID), the above solution won’t work, although a program such as CrystalDiskInfo may still be able to help. If you still can’t tell whether the drive(s) is an HDD or SSD, you may need to open the computer case and examine the actual drive(s).


Alternatively, you can use the PowerShell Get-PhysicalDisk cmdlet. Here’s what it looks like on my custom desktop:

PS C:Windowssystem32> Get-PhysicalDisk | select FriendlyName,BusType,MediaTypeFriendlyName ?BusType MediaType———— ?——- ———NVMe Samsung SSD 960 NVMe ?SSDSanDisk SDSSDH31024G SATA ?SSD