(+86) 15013630202 sales@pcie.com

How does windows decide if a drive is HDD or SSD ?

Mar 04, 2024
I have a somewhat older system with a SATA SSD drive in it and I wanted to optimize the drive.

When doing so , I saw that mediatype in file explorer properties was labeled as Hard disk drive , and it looked as if windows was actually defragmenting it rather than trimming.


So I am wondering where does windows keeps track if drives are HDD or SSD , and how can I go about to maybe correct this.

I have windows 10 pro by the way , not server edition as mentioned in the article below.


Edit:

Found this article: What To Do When Windows Identifies Disks Incorrectly


There are these PowerShell commands one can get and set the mediatype of a drive:






Get-PhysicalDisk | Select-Object FriendlyName, MediaType, Size



Turns out I have Unspecified MediaType




I managed to rename the FriendlyName in a NewFriendlyName containing no spaces , and then I was able to set the MediaType to SSD







but the change does not persist , after reboot , windows still reports the SSD back as HDD and in powershell, get-physicaldisk MediaType reports back as unspecified.


The article mentions that the command will only work if the physical disk is a member of a storage pool, I guess in a server environment.