Unable to delete VDI: "The provisioning task already running on the Machine Catalog"
book
Article ID: CTX579371
calendar_today
Updated On:
Description
Unable to remove the VDI from the catalog with error:"The provisioning task already running on the Machine Catalog"
Resolution
To resolve this issue, you will need to run the below powershell commands on your delivery controller:
asnp Citrix*(this command will load all Citrix powershell modules).
Get-ProvTask -active $trueThis command will gets the task history for the Machine Creation Service that are currently running tasks.
Take note of the Task ID filed that gets returned when running this command.
Stop-provtask -TaskId xxxxxxxThis command stops currently running Machine Creation Service tasks.
You will need to take the task ID output got from the previous command.
Remove-provtask -TaskId xxxxxxxThis command removes the specified task from the database for the Machine Creation Service
Once the above has been completed, login to the studio console and repeat the machine removal from catalog.
You should now be able to delete the VDI from the machine catalog.
Problem Cause
Stuck ProvTask
Issue/Introduction
prov task is stuck during the machine removal from catalog
Was this article helpful?
thumb_up
Yes
thumb_down
No