On the Horizon server open cmd as administrator and navigate to Horizon folder
C:\Users\user>cd C:\Program Files\VMware\VMware View\Server\tools\bin
C:\Program Files\VMware\VMware View\Server\tools\bin>
Run the iccleanup tool with following parameters:
iccleanup.cmd -vc vcenter.address.local -uid administrator@vsphere.local -skipCertVeri
Enter password of user administrator@vsphere.local
Please enter vCenter Password:
2025-08-12 13:35:56,695 [main] INFO com.vmware.daas.cloneprep.utils.IcCleanup [] - Connecting to vCenter [vcenter.address.local]...
2025-08-12 13:35:56,929 [main] INFO org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean [] - Creating Service {urn:internalvim25}InternalVimPortTypeService from class com.vmware.vim25hic.InternalVimPortType
2025-08-12 13:36:03,897 [main] INFO com.vmware.daas.cloneprep.utils.IcCleanup [] - vCenter Connected.
****************************************************************************************************
* Welcome to Instant Clone Cleanup Tool. Available commands: *
* list: list some or all internal VMs and present them in a hierarchical structure *
* unprotect: unprotect some or all internal VMs; might include the folders *
* delete: delete some or all internal VMs; might include the folders *
* exit: exit the program *
* For more help please use -h/--help as option *
****************************************************************************************************
> Please input the command (list/unprotect/delete/exit):
List all replicas chain to see if any are unused
1. [Master VM 5033513d-446a-7567-2121-dcfba519ff4a Deleted]
cp-template-53ba6a23-9dc5-4f28-9489-59fc30056a66
cp-replica-4fbbe332-cf36-4ca0-8f77-9d05bd7eac66
2. [Master VM 50332f06-de43-336b-521f-b72933279e68 Deleted]
cp-template-2a88b143-bce9-4afa-853b-b23101c0a966
cp-replica-815376c0-bf0a-42d0-b010-d4afd5e6565e
3. [Master VM 5033821b-3be5-1698-f8de-df150e0d9860 Deleted]
cp-template-5e6f6603-66c6-42ce-824d-d7fd741621ff
cp-replica-36258381-222f-4e51-bea9-5e62268a2e08
Use then the delete command to delete these
> list> Please input the command (unprotect/delete/output/back):delete -index 1
2025-08-12 13:41:16,357 [main] INFO com.vmware.daas.cloneprep.utils.IcCleanup [] - *WARNING* delete command will delete all internal VMs associated with this index.
2025-08-12 13:41:16,357 [main] INFO com.vmware.daas.cloneprep.utils.IcCleanup [] - Type 'DELETE' (case-sensitive) to continue this operation.
Validate typing DELETE
DELETE
2025-08-12 13:41:25,511 [main] INFO com.vmware.daas.cloneprep.utils.IcCleanup [] - Protections removed for VM: cp-template-53ba6a23-9dc5-4f28-9489-59fc30056a66
2025-08-12 13:41:25,530 [main] INFO com.vmware.daas.cloneprep.utils.IcCleanup [] - Protections removed for VM: cp-replica-4fbbe332-cf36-4ca0-8f77-9d05bd7eac66
2025-08-12 13:41:25,559 [main] INFO com.vmware.daas.cloneprep.utils.IcCleanup [] - Delete VM: cp-template-53ba6a23-9dc5-4f28-9489-59fc30056a66
2025-08-12 13:41:25,583 [main] INFO com.vmware.daas.cloneprep.utils.IcCleanup [] - Delete VM: cp-replica-4fbbe332-cf36-4ca0-8f77-9d05bd7eac66
2025-08-12 13:41:25,583 [main] INFO com.vmware.daas.cloneprep.utils.IcCleanup [] - The specified group of internal VMs, with index 1 has been successuflly deleted.
Repeat for all index that must be deleted