“Configuration Manager Admin Console can’t connect to the Configuration Manager Site Server”

Sometimes, when we re-install or upgrade Configuration Manager Admin Console. It shows following error on console.

Go to following location and open SmsAdminUI.log
C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\AdminUILog\SmsAdminUI.log
[6, PID:5544][######] :The performance counter ‘# exceptions’ was not found
[6, PID:5544][ ######] :The performance counter ‘# exceptions’ was not found
[6, PID:5544][ ######] :The performance counter ‘# result objects in memory’ was not found
[6, PID:5544][ ######] :The performance counter ‘# exceptions’ was not found
[5, PID:5544][ ######] :The performance counter ‘# images’ was not found
[1, PID:5544][ ######] :The performance counter ‘# images’ was not found

How to Fix:
Above problem explains that performance counters store is corrupt. We need to rebuild performance counter.

  1. Uninstall Configuration Manager Admin Console.
  2. If possible delete registry key: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\ConfigMgr10
  3. Run LODCTR /r on Command Prompt
  4. Once command completes successfully, we can re-install Configuration Manager Admin Console
  5. If LODCTR /r fails with error code 2, we can try following actions on command prompt.
     reg query “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PERFLIB” /v “Last Counter”
     if %errorlevel% == 1 reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PERFLIB” /v “Last Counter” /t REG_DWORD /d 0x0 /f

 reg query “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PERFLIB” /v “Last Help”
 if %errorlevel% == 1 reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PERFLIB” /v “Last Help” /t REG_DWORD /d 0x0 /f

  1. Run LODCTR /r on Command Prompt again, this time, it should work.
    C:>LODCTR /r
    Info: Successfully rebuilt performance counter setting from system backup store.

I hope this will help.

About the Author

Ajaz ur Rehman

Ajaz ur Rehman

I've been working as Server / SCCM Administrator more than 10 years. I've managed from Small to Enterprise Level environments. I love to troubleshoot complex problem. I've created many scripts for business to automate jobs and many reports for businesses to sort out software inventories and licensing issues. Everyday learning something new in IT.