When installing a brand new management server on a brand new machine, the installation fails on the step when adding new performance counters to windows with the following error: InstallServerPerfCountersForSDK.62894CB9_4320_40DB_B4E4_C0347FAB97B6
SCSMInstall.log also shows this:
MOMPerformanceCounterInstaller: adding perf dll C:\Program Files\Microsoft System Center\Service Manager\Microsoft.EnterpriseManagement.DataAccessService.Core.dll
MOMPerformanceCounterInstaller: Called for Installation of per counters
MOMPerformanceCounterInstaller: Error: The installation failed, and the rollback has been performed.
StackTrace: at System.Configuration.Install.TransactedInstaller.Install(IDictionary savedState)
at Microsoft.MOMv3.Setup.MOMv3ManagedCAs.MOMPerformanceCounterInstaller(Session session, Boolean bInstall)
CustomAction _InstallServerPerfCountersForSDK.62894CB9_4320_40DB_B4E4_C0347FAB97B6 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Assembly Install: Failing with hr=80070005 at RemoveDirectoryAndChildren, line 393
MOMPerfCtrsInstall.log shows this:
An exception occurred during the Install phase.
System.InvalidOperationException: Invalid performance counter data with type ‘PERF_OBJECT_TYPE’.
Solution:
Disable 4 perfomance counters in Windows by adding the followin registry keys, and inside each of them create a “Dword (32Bit) value” named “Disable Performance Counters” with a value of 1.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Intercept CSM Filters\Performance]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Intercept Injector\Performance]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Intercept SyncAction Processing\Performance]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InterceptCountersManager\Performance]
Source: https://learn.microsoft.com/en-us/answers/questions/2202869/how-to-resolve-service-manager-datawarehouse-insta
