I have 2 SSDs that have the Disk Optimization not available error.
Tried everything with defrag commands and SATA/motherboard drivers. Nothing worked.
I wanted to share how I fixed this.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityLaunch Windows command prompt as administrator and enter the command :
winsat formal
Now launch a Powershell command prompt as Aministrator
Optimize-Volume -DriveLetter c -ReTrim -Verbose
Confirm with Enter and wait during operations. Disk optimization is now available with Windows 10 dfrgui.exe
Tried just about all the suggested fixes with no success. Finally, Went into device manager, Removed the hard disk driver, Restarted, Voila, All good immediately. Eugene C (aviator_888)