Delete horizon protected images or VMs or templates

From Notes_Wiki

Home > VMWare platform > VMWare Horizon > Delete horizon protected images or VMs or templates

To delete Horizon protected VMs use:

  1. Login into existing connection server as domain user
    This can also be a different / new connection server deployed afresh and connected to same vCenter where old horizon protected VMs / templates or images need to be deleted
  2. Open an administrative cmd
  3. Go to folder using
    cd C:\Program Files\VMware\VMware View\Server\tools\bin
  4. Connect to vCenter using:
    iccleanup.cmd -vc <vcenter-fqdn-or-ip> -uid administrator@vsphere.local -skipCertVeri
  5. List VMs with
    list
  6. Once you know which VM to delete, delete with
    delete -I <index>
    For example
    delete -I 1
  7. After delete use "back" command to come back to main prompt
  8. At any point get help via -h such as
    delete -h

Refer:

Home > VMWare platform > VMWare Horizon > Delete horizon protected images or VMs or templates