VMware Horizon: remove Desktop Pool stuck in deleting state

horizon-remove-desktop-pool-stuck-deleting-state-01

During the operation of delete of a Desktop Pool in VMware Horizon, the Desktop Pool stuck in deleting state and it is not removed from the system.

When you face such situation, the only way to remove the Desktop Pool is done by editing the ADAM database.

horizon-remove-desktop-pool-stuck-deleting-state-02

 

Remove Desktop Pool stuck in deleting state

To fix this issue, the stuck Desktop Pool entries need to be removed from the ADAM database.

Open the ADSI Edit tool to establish a connection with the database. Right click the ADSI Edit item and select Connect to.

horizon-remove-desktop-pool-stuck-deleting-state-03

Enter View ADAM Database as Name for the connection and set the following options:

  • In the Select or type a Distinguished Name or Naming Contest text box enter dc=vdi,dc=vmware,dc=int.
  • Enter localhost in the Select or type a domain or server text box.

Click OK to establish the connection.

horizon-remove-desktop-pool-stuck-deleting-state-04

Expand the DC=vdi,dc=vmware,dc=int item and access the OU=Server Groups section. Search for the CN that contains the Desktop Pool to remove then right click the CN Name and select Delete.

horizon-remove-desktop-pool-stuck-deleting-state-05

Click Yes to confirm.

horizon-remove-desktop-pool-stuck-deleting-state-06

The Desktop Pool has been deleted successfully.

horizon-remove-desktop-pool-stuck-deleting-state-07

Access the OU=Applications section and search for the CN with the Desktop Pool to remove. Right click the item and select Delete.

horizon-remove-desktop-pool-stuck-deleting-state-08

Click Yes to confirm.

horizon-remove-desktop-pool-stuck-deleting-state-09

The Desktop Pool has been removed successfully.

horizon-remove-desktop-pool-stuck-deleting-state-10

Now go back to Inventory > Desktop area in VMware Horizon. The stuck Desktop Pool is no longer listed and it has been removed from Horizon.

horizon-remove-desktop-pool-stuck-deleting-state-11

Although this issue doesn't stop VMware Horizon service, it always recommended to have the system clean with no pending or stuck operations.

signature

Leave a Reply