After installing VDA , Event 1008 & 2004 appear in the Application event logs on "Citrix Desktop service" start

After installing VDA , Event 1008 & 2004 appear in the Application event logs on "Citrix Desktop service" start

book

Article ID: CTX693961

calendar_today

Updated On:

Description

After installing VDA , Event 1008 & 2004 appear in the Application event logs on "Citrix Desktop service" start

 

EventID: 1008

Source: PerfLib

Description: The Open Procedure for service "WmiApRpl" in DLL "C:\Windows\system32\wbem\wmiaprpl.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.

EventID: 2004

Source: PerfNet

Description: Unable to open the Server service performance object. The first four bytes (DWORD) of the Data section contains the status code

We can see broker agent load perfnet.dll at the time of the event however there is no indication of a failure within our CDF traces

In the procmon similarly there is no clear indication of a failure, however we do see multiple permissions errors for "Network Service Account"

 

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

Workarounds:

Error 1008  - give full permissions on the following key to the network service account

HKLM\SYSTEM\CurrentControlSet\Services\wmiApRpl

HKLM\SYSTEM\CurrentControlSet\Services\BITS

HKLM\SYSTEM\CurrentControlSet\Services\MSDTC

HKLM\SYSTEM\CurrentControlSet\Services\NETFramework

 

Error 2004

Add Network Service account to the Local Administrators group on the VDA.

 

Solution:

This is a known limitation and these events can be safely ignored because they do not adversely affect functionality of any Citrix component.


Problem Cause

This appears to be caused by the context under which we request these dlls to be loaded

Issue/Introduction

After installing VDA , Event 1008 & 2004 appear in the Application event logs on "Citrix Desktop service" start

Additional Information

Discussion:

https://discussions.citrix.com/topic/362660-error-in-event-viewer-after-vda-installation/

 

Reference docs:

https://serverfault.com/questions/555938/unable-to-open-the-server-service-performance-object

https://social.technet.microsoft.com/Forums/en-US/b9ac65b1-ade6-4be2-a670-cd8cde731e7d/error-event-id-2004?forum=winserversetup

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc727117(v=ws.10)