Exchange server 2016 CU 22

Gudakesh Sharma 26 Reputation points
2022-01-02T14:10:33.527+00:00

I am getting this error on multiple servers while installing CU22, please can someone suggest :

Performance counter names and help text failed to unload. Unlodctr exited with error code '1224'.

Event viewer is showing alerts for different Exchange counters on different servers, for example :

Unloading the performance counter strings for service MSExchange AD Performance (MSExchange AD Performance) failed. The first DWORD in the Data section contains the error code.

I have tried lodctr /r , updating, unloading, regkeys etc but it does not help, anyone else encountered this ?

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,755 questions
{count} votes

Accepted answer
  1. Kael Yao-MSFT 37,676 Reputation points Microsoft Vendor
    2022-01-21T08:04:25.017+00:00

    Hi @Gudakesh Sharma

    Due to a recent update in forum policy, the question author now is not able to accept their own answers.
    167143-09.png

    I have written a brief summary of this issue.
    Please feel free to accept it as the answer to the question to help other community members.
    Thanks for the sharing!


    Issue Symptom:
    While installing Exchange 2016 CU22, you get the following error message:
    Performance counter names and help text failed to unload. Unlodctr exited with error code '1224'.

    In Event Viewer you get the following alerts:
    Unloading the performance counter strings for service MSExchange AD Performance (MSExchange AD Performance) failed. The first DWORD in the Data section contains the error code.

    In Exchange setup log you get the following error messages:
    1 Updating performance counter strings for WorkloadManagementPerformanceCounters.ini
    1 Updating performance counter strings for WorkloadPerformanceCounters.ini
    1 Updating performance counter strings for WsPerformanceCounters.ini
    1 Finished updating performance counter strings
    1 [ERROR] Performance counter names and help text failed to unload. Unlodctr exited with error code '1224'.
    1 [ERROR] Performance counter names and help text failed to unload. Unlodctr exited with error code '1224'.
    1 [ERROR] Performance counter names and help text failed to unload. Unlodctr exited with error code '1224'

    Solution:
    Restored the VM from backup, to bring it back to original state (previous CU installation),
    Uninstalled all windows updates from past few days
    Started all Exchange services manually multiple times while latest CU upgrade was in progress. (Including winmgmt, W3Svc, IIS, filtering and Net.Tcp port sharing service).
    Installed latest CU and Security updates
    Updated\patched windows again.
    Rebooted and worked.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Gudakesh Sharma 26 Reputation points
    2022-01-05T17:16:00.687+00:00

    Thanks @KaelYao-M

    Tried manual addition\registration\rebuilding of perf counter with no help
    Tried windows updates, multiple reboots, event log error searches and fixes with no help
    Tried multiple available scripts around this issue on web from our Exchange colleagues , but did not have any luck

    Fix which worked for me -

    Restored the VM from backup, to bring it back to original state (previous CU installation),
    Uninstalled all windows updates from past few days
    Started all Exchange services manually multiple times while latest CU upgrade was in progress. (Including winmgmt, W3Svc, IIS, filtering and Net.Tcp port sharing service).
    Installed latest CU and Security updates
    Updated\patched windows again.
    Rebooted and worked.

    Hope this helps someone else in need.

    Happy New Year!

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.