VDA machines stuck at initializing for Hybrid Azure AD join and taking long time to register

VDA machines stuck at initializing for Hybrid Azure AD join and taking long time to register

book

Article ID: CTX582500

calendar_today

Updated On:

Description

Azure AD based machines stuck in the initializing state or taking 45 minutes to register.

Environment

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

Resolution

Delete Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix\DeviceKeyPairRestored from the Platform Layer and republish the image.

Problem Cause

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix\DeviceKeyPairRestored was set to 1 in the App Layering Platform Layer.  This key should not be present in any layer.    

Issue/Introduction

Azure AD based Machines stuck in the initializing state or taking 45 mins to register.