This article explains how to resolve the error “Not able to Delete Host Connection” on XenDesktop.
Get-ProvTask -active 1
Stop-ProvTask -TaskId “UID of task”
Remove-ProvTask -Task ” UID of Task”
When trying to remove the host, the same error occurs.