ntdsperf.dll missing on Server 2019 LTSC
built a new 2019 standard server with desktop experience, patched fully, add it as a new domain controller in an existing domain, all goes well but the reason I did was someone in forums getting perflib 1023 error referencing ntdsperf.dll and is no where on system. Same for my new one, no where on system yet there is a reference to it HKEYLOCALMACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Performance. I don't get the error because I have no counters running yet the missing file seems problematic.

9 comments
-
Dylan commented
I had the same issue with my Server 2019 Standard deployment. Just ran Stephen's fix and all is good now. It succeeded on the first time for me. Thanks!
-
Anonymous commented
The 1st time you run Stephens fix you get error code is 2. Run it again and it completes successfully rebuilt
-
Anonymous commented
Try this. This update fix this problem. Is valid for windows server 2019
https://support.microsoft.com/en-us/help/4516077/windows-10-update-kb4516077
-
Dan commented
Error: Unable to rebuild performance counter setting from system backup store, error code is 2
Making it a capital R worked???
C:\Windows\system32>lodctr /RInfo: Successfully rebuilt performance counter setting from system backup store
C:\Windows\system32>Time will tell if it fixed anything.
-
Dan commented
Same problem here, the file is missing from the server.
Tried running Stephen's fix and no luck:Microsoft Windows [Version 10.0.17763.1217]
(c) 2018 Microsoft Corporation. All rights reserved.C:\Windows\system32>lodctr /e:C:\WINDOWS\system32\ntdsperf.dll
C:\Windows\system32>lodctr /r
Error: Unable to rebuild performance counter setting from system backup store, error code is 2
C:\Windows\system32> -
Stephen commented
To fix run this from cmd prompt (run as administrator)
lodctr /e:C:\WINDOWS\system32\ntdsperf.dllThen run:
lodctr /rThis should then result in the following being displayed:
"Info: Successfully rebuilt performance counter setting from system backup store"Hopefully no more errors in the event log from that point
-
Marc Wood commented
I'm getting the exact same error trying to promote a 2019 member to a DC.
Also getting verification of replica failed.The forest functional level ... must be server 2008 or higher. (THE FFL was already 2008 and it didn't work P.S. I have a 2012 R2 DC currently. I raised the FFL to 2012 R2 and I am still getting the same error about the FFL need to be 2008 or higher.getting:
Application 'C:\Windows\System32\wsmprovhost.exe' (pid 4712) cannot be restarted - Application SID does not match Conductor SID..FYI - the local domain is single label so
TO JOIN the 2019 server to the (I also have to do this with Windows 10 workstations) domain I had to FIRST DO:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters
Locate AllowSingleLabelDnsDomain. If the key AllowSingleLabelDnsDomain does not exist:
Edit, New, DWORD.
Write AllowSingleLabelDnsDomain as key name, and ENTER.
Double click AllowSingleLabelDnsDomain.
Set the Value to 1.
-
Anonymous commented
I have the exact same error along with a 2019 domain control.
Have you found a solution to this yet? -
Keith Bates commented
The full event that gets logged:
02 May 2019 05:24:34 AM
Computer: [TESTAD1]
Monitor: [CORE - Event Log Monitor]
Description:
* Event Time: 02 May 2019 04:41:25 AM
* Source: Microsoft-Windows-Perflib
* Event Log: Application
* Type: Error
* Event ID: 1023
* Event User: DOMAIN\Administrator
* Windows cannot load the extensible counter DLL "C:\Windows\system32\ntdsperf.dll" (Win32 error code The specified module could not be found.).
126