New
#1
optimize-volume error vs defrag working
Good day.
I hope someone can shed some light on this issue before having to resort to the in-place upgrade.
Both the Optimize Drives Tool and the defrag C: /L command work perfectly.
However, the Optimize-Volume -DriveLetter C -Analyze -Verbose or Optimize-Volume -DriveLetter C -ReTrim -Verbose cmdlets in powershell yield the following error:
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : MetadataError: (MSFT_Volume:ROOT/Microsoft/...age/MSFT_Volume) [Optimize-Volume], CimExc
eption
+ FullyQualifiedErrorId : HRESULT 0x80041031,Optimize-Volume
An online search for this error points to checking the integrity of the WMI, which the standard tools show to be OK. Dism, sfc and chkdsk show no other problems either. I would certainly appreciate any input. Thank you for your attention.
Last edited by justtesting; 18 Oct 2022 at 12:09.