Hello Jonathan,
Based on the screenshot, the ReTrim operation actually completed successfully (100%), but Windows then attempted an additional optimization operation that the underlying storage device or storage controller does not support. The key message is: "The volume optimization operation requested is not supported by the hardware backing the volume." This commonly occurs when the C: drive is presented through certain RAID controllers, SAN storage, virtual disks, Storage Spaces, or SSD firmware/drivers that do not fully expose all optimization capabilities to Windows.
To verify the storage type, run Get-PhysicalDisk | Select FriendlyName, MediaType, BusType, HealthStatus and Get-Disk | Select Number, FriendlyName, BusType. If the drive is an SSD, also run fsutil behavior query DisableDeleteNotify; a result of 0 indicates that TRIM is already enabled and functioning correctly. In your screenshot, the ReTrim phase completed successfully, so there is generally no corrective action required unless performance issues are present.
I also recommend checking Device Manager for storage controller drivers and updating the SSD firmware and storage controller driver from the hardware vendor. If the volume is hosted on a virtual machine, RAID array, or Storage Spaces configuration, this behavior can be expected because some optimization functions are intentionally unsupported by the underlying storage layer.
If my answer is useful for you, please hit Accept the answer to support me.
Thank you,HL.