Virtual Desktop Agent Failed to Register with Desktop Delivery Controller due to PerfMon Counter Corruption

Virtual Desktop Agent Failed to Register with Desktop Delivery Controller due to PerfMon Counter Corruption

book

Article ID: CTX206319

calendar_today

Updated On:

Description

Virtual Desktop Agent Failed to Register with Desktop Delivery Controller, caused by PerfMon Counter Corruption.

Exception 'Cannot load Counter Name data because an invalid index '' was read from the registry.' of type 'System.InvalidOperationException'..

User-added image

Resolution

1. Log on VDA. Open cmd.exe with administrator privileges. Enter lodctr /R in command line to rebuild PerfMon Counter setting from system backup store.
2. Restart ‘Citrix Desktop Service’. VDA will register with DDC successfully.
User-added image
 

Problem Cause

Before Citrix Desktop Service registers with Broker Service in DDC, it needs to load PerfMon Counter. In this case, Citrix Desktop Service detected invalid index during the load process. The implication is that this VDA’s PerfMon Counters are completely corrupt, or our CitrixBrokerAgent Performance Counter Category has encountered some level of corruption.

Issue/Introduction

Virtual Desktop Agent Failed to Register with Desktop Delivery Controller due to PerfMon Counter Corruption.