MCS Machine Catalog Update fails with an error FailedToUnregisterMasterImageFromMdm\r\n

MCS Machine Catalog Update fails with an error FailedToUnregisterMasterImageFromMdm\r\n

book

Article ID: CTX477820

calendar_today

Updated On:

Description

  • MCS master image is joined to the Microsoft Workplace
  • MCS Catalog creation fails with the error FailedToUnregisterMasterImageFromMdm\r\n 

Further details of the error would be as below,

Update failed with ErrorID: FailedToUnregisterMasterImageFromMdm

Internal Exception:
    DesktopStudio_ErrorId : ProvisioningTaskError
    ErrorCategory : NotSpecified
    ErrorID : FailedToUnregisterMasterImageFromMdm
    TaskErrorInformation : Terminated
    InternalErrorMessage : Removing MDM status information from the master image failed with this error message: UnregisterMdm failed to read enrollment id. Use a master image which is not managed by MDM.

Environment

Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.

Resolution

  • Launch cmd in elevated mode
  • Run the command dsregcmd /status to find if the Master image is joined to Workplace. For example,
image.png

 

  • If the Device(Master image) is registered on Workplace, Deregister it( Windows settings > Accounts >Access work or school > disconnect the account) and upgrade the machine catalog

 


Problem Cause

MCS doesn´t support Workplace joined Machines

Issue/Introduction

MCS Machine Catalog Update MDM Error FailedToUnregisterMasterImageFromMdm\r\n 

Additional Information

You may refer https://support.microsoft.com/en-us/windows/add-or-remove-accounts-on-your-pc-104dc19f-6430-4b49-6a2b-e4dbd1dcdf32 to manage the account on the windows machine.