Error: “The Provisioning Task is Already Running on the Machine Catalog” Deleting Machine Catalog in XenDesktop

Complete the following steps:

1. Open the PowerShell prompt with elevated privilege (Run as Administrator).

2. Load the Citrix PowerShell snap-ins by typing the following command (including the *):

Add-PsSnapin Citrix*

3. Run the following command to create a text file that lists running and recently completed provisioning tasks:

Get-ProvTask > c:provtask.txt

4. Run the following command to get the Provisioning Scheme ID for the catalog with the error. Replace CatalogName with the name of the catalog displayed in Studio.

If there are spaces in the name, use quotes around the name:

Get-BrokerCatalog -Name <CatalogName>

5. Highlight the ProvScheme ID and copy it into the paste buffer.

6. Open the c:provtast.txt. Search the file for the ProvSchemeID. For each task containing the ProvScheme ID, note if the task has the status “Running”.

a. If there is a running task with a matching ProvScheme ID, copy the Task ID into the past buffer and run the following command to change the Task:

Stop-ProvTask <TaskID>

b. If there are no matching tasks, run the following command to unlock the machine catalog:

Unlock-ProvScheme -ProvisioningSchemeUid <ProvSchemeID>

7. In Studio, delete the catalog.

Related:

  • No Related Posts

Error: “The Provisioning Task is Already Running on the Machine Catalog” Deleting Machine Catalog in XenDesktop

Complete the following steps:

1. Open the PowerShell prompt with elevated privilege (Run as Administrator).

2. Load the Citrix PowerShell snap-ins by typing the following command (including the *):

Add-PsSnapin Citrix*

3. Run the following command to create a text file that lists running and recently completed provisioning tasks:

Get-ProvTask > c:provtask.txt

4. Run the following command to get the Provisioning Scheme ID for the catalog with the error. Replace CatalogName with the name of the catalog displayed in Studio.

If there are spaces in the name, use quotes around the name:

Get-BrokerCatalog -Name <CatalogName>

5. Highlight the ProvScheme ID and copy it into the paste buffer.

6. Open the c:provtast.txt. Search the file for the ProvSchemeID. For each task containing the ProvScheme ID, note if the task has the status “Running”.

a. If there is a running task with a matching ProvScheme ID, copy the Task ID into the past buffer and run the following command to change the Task:

Stop-ProvTask <TaskID>

b. If there are no matching tasks, run the following command to unlock the machine catalog:

Unlock-ProvScheme -ProvisioningSchemeUid <ProvSchemeID>

7. In Studio, delete the catalog.

Related:

  • No Related Posts

Error: “The Provisioning Task is Already Running on the Machine Catalog” Deleting Machine Catalog in XenDesktop

Complete the following steps:

1. Open the PowerShell prompt with elevated privilege (Run as Administrator).

2. Load the Citrix PowerShell snap-ins by typing the following command (including the *):

Add-PsSnapin Citrix*

3. Run the following command to create a text file that lists running and recently completed provisioning tasks:

Get-ProvTask > c:provtask.txt

4. Run the following command to get the Provisioning Scheme ID for the catalog with the error. Replace CatalogName with the name of the catalog displayed in Studio.

If there are spaces in the name, use quotes around the name:

Get-BrokerCatalog -Name <CatalogName>

5. Highlight the ProvScheme ID and copy it into the paste buffer.

6. Open the c:provtast.txt. Search the file for the ProvSchemeID. For each task containing the ProvScheme ID, note if the task has the status “Running”.

a. If there is a running task with a matching ProvScheme ID, copy the Task ID into the past buffer and run the following command to change the Task:

Stop-ProvTask <TaskID>

b. If there are no matching tasks, run the following command to unlock the machine catalog:

Unlock-ProvScheme -ProvisioningSchemeUid <ProvSchemeID>

7. In Studio, delete the catalog.

Related:

  • No Related Posts

Error: “The Provisioning Task is Already Running on the Machine Catalog” Deleting Machine Catalog in XenDesktop

Complete the following steps:

1. Open the PowerShell prompt with elevated privilege (Run as Administrator).

2. Load the Citrix PowerShell snap-ins by typing the following command (including the *):

Add-PsSnapin Citrix*

3. Run the following command to create a text file that lists running and recently completed provisioning tasks:

Get-ProvTask > c:provtask.txt

4. Run the following command to get the Provisioning Scheme ID for the catalog with the error. Replace CatalogName with the name of the catalog displayed in Studio.

If there are spaces in the name, use quotes around the name:

Get-BrokerCatalog -Name <CatalogName>

5. Highlight the ProvScheme ID and copy it into the paste buffer.

6. Open the c:provtast.txt. Search the file for the ProvSchemeID. For each task containing the ProvScheme ID, note if the task has the status “Running”.

a. If there is a running task with a matching ProvScheme ID, copy the Task ID into the past buffer and run the following command to change the Task:

Stop-ProvTask <TaskID>

b. If there are no matching tasks, run the following command to unlock the machine catalog:

Unlock-ProvScheme -ProvisioningSchemeUid <ProvSchemeID>

7. In Studio, delete the catalog.

Related:

  • No Related Posts