Today I was working in my test environment, my colleague had been testing some backup/restore of the site software.

This had resulted in the console not working.

this error appeared, when I tried to start it:

MMC cannot initialize the snap-in”

I searched the net and found this article:

ConfigMgr 2007: Unable to open Configuration Manager Console, error: MMC Cannot Initialize the Snap-in

It helped me a lot in finding the installation log and testing the error.

I had the problem in the installation log, but when I ran the commandline test:

C:\windows\Microsoft.Net\Framework\v2.0.50727\installutil.exe "Drive:\Program Files\Microsoft Configuration Manager Console\AdminUI\bin\AdminUI.ResourceExplorerConsole.dll" /logfile=C:\inst.log  /showcallstack”

I did not get the errors he described. On my system the file registered as it was supposed to.

Use this guide to register all the required dll files:

Check the C:\ConfigMgrSetup.log on the site server, to check if you have the register errors like below:

“<date time> Registering C:\Program Files\Microsoft Configuration Manager Console\AdminUI\bin\AdminUI.ResourceExplorerConsole.dll
<date time> Cannot InstallUtil C:\Program Files\Microsoft Configuration Manager Console\AdminUI\bin\AdminUI.ResourceExplorerConsole.dll, error code -1
<date time> Registering C:\Program Files\Microsoft Configuration Manager Console\AdminUI\bin\AdminUI.WqlQueryEngine.dll
<date time> Cannot InstallUtil C:\Program Files\Microsoft Configuration Manager Console\AdminUI\bin\AdminUI.WqlQueryEngine.dll, error code -1
<date time> Registering C:\Program Files\Microsoft Configuration Manager Console\AdminUI\bin\AdminUI.Console.dll
<date time> Cannot InstallUtil C:\Program Files\Microsoft Configuration Manager Console\AdminUI\bin\AdminUI.Console.dll, error code –1”

Register all the DLLs from a commandprompt (run as administrator):

Please replace “Drive:\SCCM” with the location of your ConfigMgr Installation

1. C:\windows\Microsoft.Net\Framework\v2.0.50727\installutil.exe "Drive:\SCCM\AdminUI\bin\AdminUI.ResourceExplorerConsole.dll" /logfile=C:\inst.log  /showcallstack

2. C:\windows\Microsoft.Net\Framework\v2.0.50727\installutil.exe "Drive:\SCCM\AdminUI\bin\AdminUI.WqlQueryEngine.dll" /logfile=C:\inst.log  /showcallstack

3. C:\windows\Microsoft.Net\Framework\v2.0.50727\installutil.exe "Drive:\SCCM\AdminUI\bin\AdminUI.Console.dll" /logfile=C:\inst.log  /showcallstack

After registering these DDLs everything worked on my machine.

If it still does not work, please try instructions in the article to re-create the performance counter.