VMware Horizon – Troubleshooting “Desktop Pool stuck in “Deleting” state”

Release date: September 8th 2019

Welcome to my VMware Horizon series. I recently had a problem with a desktop pool not being deleted. It simply just remained with status “Deleting”. This is not an uncommon situation in VMware Horizon and is quite easy to fix.

In Horizon Administrator the status remained (Deleting) on the desktop pool I was trying to remove, w10-1809-lc

DeletePoolStuck-01

 

In Windows Event Viewer I found more info about this error, BROKER_PROVISIONING_SVI_ERROR_REMOVING_VM

DeletePoolStuck-02

 

From experience, I know that to remediate this situation, I can use VMware’s viewdbchk utility. This is situated in the C:\Program Files\VMware\VMware View\Server\tools\bin folder on the connection server. From an administrative cmd prompt I ran this command:

“C:\Program Files\VMware\VMware View\Server\tools\bin>viewdbchk.cmd –scanMachines –limit 10”

That produced the following output:

DeletePoolStuck-04

 

As we can see from the output above, this cleaned up the vm’s and pool that was hawing problems.

In Horizon Administrator the desktop pool was now removed.

DeletePoolStuck-03

 

VMware Horizon planning, deployment etc.

 

Disclaimer: Every tips/tricks/posting I have published here, is tried and tested in different it-solutions. It is not guaranteed to work everywhere, but is meant as a tip for other users out there. Remember, Google is your friend and don’t be afraid to steal with pride! Feel free to comment below as needed.

Leave a Reply

Your email address will not be published. Required fields are marked *