Cannot defragment Vmware Fusion virtual disk from Windows 10 on Mac mini (late 2012) with Apple Fusion Drive 1 TB.
I want to defragment Windows Pro 10 Anniversary v1607 (Build 14393.0) 64-bit on VMware Fusion 8.1.1 (3771013) on Mac OS X 10.11.6 (15G31) El Cap itan, to later on reduce its size, since I had to increase its size from 15 GB to 30 GB in order to update from Windows Pro 10 (Build 10240) 64-bit into Windows Pro 10 Anniversary v1607 (Build 14393.0) 64-bit and extra space was needed to mount the Windows 10 ".iso" installer with PowerISO (Windows did not mount it) and run Setup.exe to install, which required copying contents into temporary directory to install.
1. First I tried to reduce disk size via "Virtual Machine - Settings - Removable Devices - Hard Disk (SCSI)", yet it shows "Invalid disk size. Disk size must be between 30,00 and 8192,00 GB". I understand that is because the disk is fragmented and must be defragmented first, as explained at
------------------------------------------------------------------------------------------
Defragmenting, shrinking, and cleaning up VMware Fusion virtual machine disks (1001934)
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1001934
------------------------------------------------------------------------------------------
2. So, I tried Windows 10 "Optimize Drives" ("Defragment and Optimize Drives") which recognizes VMware Fusion virtual disk as solid-state drive (which I think is not correct, since it is an Apple Fusion Drive made of SSD + HD), yet it shows "Optimization not available". Both "Analyze" and "Optimize" buttons are dimmed.
3. Additionally, when trying to defragment via Windows 10 "PowerShell", as described in
------------------------------------------------------------------------------------------
Optimize and Defrag Drives in Windows 10
How to Optimize and Defragment Drives in Windows 10
4. To Automatically TRIM or Defrag Drive for what is Proper
http://www.tenforums.com/tutorials/8933-optimize-defrag-drives-windows-10-a.html
------------------------------------------------------------------------------------------
it shows:
------------------------------------------------------------------------------------------
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
PS C:\WINDOWS\system32> Optimize-Volume -DriveLetter C -Verbose
VERBOSE: Invoking retrim on (C:)...
VERBOSE: Retrim: 100% complete.
Optimize-Volume : The volume optimization operation requested is not supported by the hardware backing the volume.
Activity ID: {...}
At line:1 char:1
+ Optimize-Volume -DriveLetter C -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (StorageWMI:ROOT/Microsoft/...age/MSFT_Volume) [Optimize-Volume], CimExcep
tion
+ FullyQualifiedErrorId : StorageWMI 43022,Optimize-Volume
PS C:\WINDOWS\system32>
------------------------------------------------------------------------------------------
How to fix it? Thanks.