Delete horizon protected images or VMs or templates

From Notes_Wiki
Revision as of 06:47, 20 June 2022 by Saurabh (talk | contribs) (Created page with "Home > VMWare platform > VMWare Horizon > Delete horizon protected images or VMs or templates To delete Horizon protected VMs use: # 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 # Open an administrative cmd # Go to folder using #:<pre> #:: cd C:\Program Files\VMw...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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