How to fix ConfigMgr 2007 Console Error: “MMC cannot initialize the snap-in”

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.

By | 2010-12-29T13:04:38+00:00 December 29th, 2010|Configuration Manager (SCCM)|1 Comment

About the Author:

Jakob Gottlieb Svendsen

Twitter: @JakobGSvendsen

Jakob Gottlieb Svendsen is a Microsoft Cloud and Data Center Management MVP (, Working as Global Lead Developer, Senior Consultant and Trainer at CTGlobal, where he is one of the driving forces in keeping CTGlobal a System Center Gold Partner and member of the System Center Alliance.

Since he started at Coretech in 2007, he has focused on Scripting and Development, primarily developing tools, extensions and scripts for the System Center Suite. His main area is Automation (including OMS/Azure Automation, Service Management Automation, PowerShell and Orchestrator). Another area is Windows Azure Pack / Azure Stack, where he does implementation, development, workshops and presentations. He is a world-wide renowned voice in the Automation field.

He is passionately devoted to the community, to which he contributes by being a moderator at TechNet and sharing his knowledge at

  • Co-founder: PowerShell User Group Denmark
  • Speaker at MMS 2016, Minneapolis (
  • SCU Europe 2014, 2015, 2016 (
  • Microsoft TechEd North America 2014, Houston
  • NIC 2012,2013,2014,2015, Oslo (
  • Microsoft CampusDays 2011, 2013, Copenhagen
  • Microsoft TechDays 2015, Sweden (
  • Microsoft Partner Event: New in SC2012 SP1
  • User group meetings (PSUG.DK , SCUG.DK/BE/NO, AZMUG + more)
  • Microsoft Certified Trainer.
  • Microsoft Scripting Guys Forum Moderator

Main working areas:

  • Automation (Azure Automation, SMA, SCO)
  • Windows Azure Pack / Azure Stack
  • System CenterVisual Studio Team Services / Team Foundation Server
  • Development:C#.Net, VB.NET, VBScript, PowerShell, Service Manager, OpsMgr, ConfigMgr
  • Orchestrator
  • Windows Azure Pack / Azure Stack


  • Azure Automation
  • Service Management Automation
  • System Center Orchestrator
  • PowerShell, VBScript, C#.Net, VB.Net
  • Windows Azure Pack / Azure Stack Development Workshops

One Comment

  1. Jonatas February 14, 2014 at 11:32 - Reply

    Thank you very much! This article help me a lot!!!

Leave A Comment