- Joined
- Oct 24, 2020
- Messages
- 468 (0.30/day)
- Location
- Belgium
System Name | MSi Coffee Lake |
---|---|
Processor | i7-8700k |
Motherboard | MSI Z370 GAMING PRO CARBON AC |
Cooling | NZXT something AIO loop |
Memory | 16GB Kingston HyperX 2133 C14 Fury Black |
Video Card(s) | TITAN Xp Jedi Order Edition |
Storage | Samsung 960 Evo NVMe |
Display(s) | Medion 23' |
Case | Cooler Master Stryker |
Audio Device(s) | onboard |
Power Supply | BeQuiet 600W |
Mouse | Logitech Trackman T-BB18 |
Keyboard | Generic hp |
Software | Windows 10 |
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:
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.
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:
Turns out I have Unspecified MediaTypeGet-PhysicalDisk | Select-Object FriendlyName, MediaType, Size
I managed to rename the FriendlyName in a NewFriendlyName containing no spaces , and then I was able to set the MediaType to SSDSet-PhysicalDisk –FriendlyName "yourdiskname" -MediaType SSD ( <= OK, need to enclose the name in "quotes" when it contains spaces )
PS C:\Windows\system32> get-physicaldisk
Number FriendlyName SerialNumber MediaType CanPool OperationalStatus HealthStatus Usage Size
------ ------------ ------------ --------- ------- ----------------- ------------ ----- ----
0 Samsung860EVO XXXXXXXXXXXXXX SSD False OK Healthy Auto-Select 465.76 GB
5 Msft Virtual Disk Unspecified False OK Healthy Auto-Select 8 GB
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.
Last edited: