Unable to Delete Machine Catalog in Studio

Unable to Delete Machine Catalog in Studio

book

Article ID: CTX200832

calendar_today

Updated On:

Description

Unable to delete the machine catalog. The Catalog has the following error in Studio:

The provisioning task is already on running on the Machine Catalog.

ErrorID : TaskAlreadyRunmingForProVisioningScheme.

Catalog will not delete with error.

Unable to delete Machine Catalog because:

Machine Catalog 'Horne Office' is busy performing actions. 

Posh trouble shooting;

get-provtask | ft active

 >>Active

     ------
      False  ( all false )

get-provscheme -ProvisioningSchemeName "home offcie"

Remove-ProvScheme -ProvisioningSchemeName "home offcie"

Unable to remove the provisioning scheme due to associated virtual machines remaining.

 

Resolution

To fix this issue, forcefully remove the associated AD accounts by running below powershell commands.

​$a=get-acctadaccount -identitypoolname "home offcie" | select-object adaccountsid -> Hit Enter
Remove-AcctADAccount -ADAccountSid $a -IdentityPoolName "Home Offcie" -force

Problem Cause

AD Computer accounts associated with the catalog still showing as In Use. 

Issue/Introduction

Unable to delete Machine Catalog in Studio