{ 54 Intelligent Comments }

Windows Error: MMC Cannot Open The File

MMC Cannot Open FileMicrosoft Management Console causing problems with some snap ins

  • When you try to launch a Microsoft Management Console Snap-in file (.msc file) you receive the error “MMC cannot open the file c:\pathfilename.msc

Explanation:

This is being caused by the remote access server console disconnecting abnormally and causing corruption in the user profiles MMC snap in’s reference file.

Luckily there is a relatively simple solution.

MMC Cannot Open The File...

Solution:

  1. Click Start > Run
  2. Type the following:
  3. regsvr32 C:\Windows\system32\msxml3.dll

  4. Click OK and WAIT until Windows confirms that the dll has been registered successfully.
  5. Now open Windows Explorer and browse to the following folder:
  6. C:\Documents and Settings\username\Application Data\Microsoft\MMC

    Note

    Replace the word username above with your own Windows username

  7. Look through the files in this folder and locate the file with the same name as the msc file that appears in the error message.
  8. Rename the file to filename_old
  9. Now try to launch your console again and the error should be resolved.

Discussion


Wow, 54 Comments! We've got a conversation going now. Join the discussion below!

  1. Diko says:

    Thanks, that resolve my problem and now defrag is working :)

    1. jen says:

      Thanks, my problem is also resolved.

      1. jen says:

        Such a big help, a million thanks!

    2. shanshen says:

      ” MMC cannot open that file C:\Windows\sapmmc.msc”

      When I start sap management console the above problem is coming. I am trying a lot. But till now the same problem. Please suggest, how can solve this problem.

    3. Selbee says:

      Thank You BIGTIME!!!

  2. Don says:

    Thanks For Your Wonderful Solving Idea.This Help Me To Solve This Problem And It Can Release My Headache Right Now…

  3. Don says:

    Dear Ross Whitney,

    Your Technic Before Got Help Me To Solve My Defragment Problem…
    I Need Your Advise To Solve My Internet Explorer…
    When I Open The Internet Explorer, It Will Appear Something Like This;

    Error loading C:\WINDOWS\system32\inetcpl.cpl

    The operating system cannot run %1.

    I Already Instal The Upgrade For IE 7, But It Still Have The Same Problem..

    Can You Help Me,

    Thanks,
    Don

  4. Imran says:

    Thanks Alot, it really works!!

  5. wiz4rd says:

    thx bro…u save my ass

  6. Explorenet says:

    Thanks a lot, your guide works for me, you really save my server.

  7. anoop says:

    mmc cannot open file and inesart mmc

  8. major says:

    This solution is super and straight fwd!! stay blessed

  9. siva says:

    my mmc card not able to format its coming window was unable to complete the format & its not opening in my pc what to do? how to format that card ? pls help me friends

  10. Rosco says:

    Hi Siva…The MMC you refer to is not related to the MMC in this article.

    The MMC you refer to is a MultiMedia Card. See Wikipedia for more info on this. http://en.wikipedia.org/wiki/MultiMediaCard

    The MMC in this article is a Microsoft Management Console.

    Rosco

  11. MohdSaleh says:

    Realy …….. Thnk you very very very moutch

  12. vijay says:

    thanks a lot

  13. Larry says:

    Had the same problem with the Defragmenter also and this worked like a charm.
    Thanks so much as I’ve been searching for a solution around the clock since last week.

  14. umair says:

    thanx bro

    1. Simran says:

      not all computer users know how to recevor the recycle bin, and in this video are described in detail. This is very useful for me because i have an habit of deleting the recycle bin without checking first. thanks for share

  15. Ravindra Patel says:

    Thanks brother
    We were facing the same problem & because of ur solution we are able to access MMC of Windows XP

    Thanks
    Ravindra

  16. laray says:

    There is no file in my MMS folder to change. It is empty?

  17. Joe A. says:

    Nice job! That did the trick. Amazing how such a simple solution can be so hard to find. Thanks so much!!

  18. WOHOOO says:

    Thanks Darling I love you so much it worked. Marry me?

  19. Darren Wiebe says:

    Thanks! This worked for me.

  20. Thanks!
    Its been a great relief.

  21. justrosie says:

    It’s been frustrating not to be able to Defrag my hard disk .. and this post has solved the problem very simply and in a way a lay-person can understand. Thank-you!

  22. jay says:

    thanks!

  23. Seemo says:

    thankx a lot

  24. Anonymous says:

    I have the same problem today in my Server 2003.
    After I renamed the folder “MMC” to “MMC_OLD”. Then, created new Folder “MMC” in C:\Documents and Settings\username\Application Data\Microsoft\MMC.
    And it worked !!!

  25. Alilu Tadesse says:

    Thanks!!

  26. Dean says:

    Thanks a lot i nearly formatted the server, this one saved me big time.

  27. shanshen says:

    “MMC file cannot open that file C:\windows\sapmmc.msc”

    Please how can solve this problem. As above methoed I tried. But my MMC folder is emplty. (C:\Documents and Settings\username\Application Data\Microsoft\MMC)
    There is no files in that fole. What will I do?
    Please suggest.

  28. Mithun says:

    Gtreat man , thanks alot.

  29. Thank you the problem has been resolved the problem

  30. Mike says:

    Thanks! Everywhere else I looked didn’t have step 4-6.
    Server 2008 R2

    1. Alan says:

      I have had this same problem and have not been able to
      defrag for several months. This idea worked perfectly.
      Thank you.

      Alan.

  31. Alan says:

    I have had this same problem and have not been able to
    defragment my hard disk for several months. This idea worked perfectly.
    Thank you.

    Alan.

  32. Arman says:

    Problem solved in less than a minute. Very useful, thanks!

  33. William S says:

    Great Article..!..thant´s Funk.!

  34. Thank you so much – kept me from punching myself in the face after a server restore from backup!

  35. kristi says:

    I am running ms storage server 2003. One of my hdd crashed. I had an IT guy (a co-worker’s brother) help me get it back in order. Now I can’t go to “my computer” and right click to manage the server. I tried your solution, but this is the error I get:
    LoadLibrary(“C:\Windows\system32\msxml3.dll”) failed – Invalid access to memory location.

  36. Ahmad says:

    Thanks Man it resolved my problem …. big thanks :)

  37. ravi says:

    in specified path mmc folder is empty … and even i tried to changed the mmc to mmcold and created new mmc same problem repeated… please help me out

  38. Ravikiran says:

    Hi
    In specified path mmc folder is empty … and even i tried to changed the mmc to mmcold and created new mmc same problem repeated… please help me out as it is urgent

  39. sujeeth says:

    fantastic, i had the similar issue opening biztalk server 2010 admin console, i tried repairing the software few times, nothing worked until i fumbled upon this article n exactly did the way its explained,it worked like a gem.

  40. randal says:

    WOW! That was a simple process.But, where does someone find such strange and useful voodoo? Thanks.

  41. Sameer says:

    Thanks..was resolved

  42. Frnd4ever says:

    Thank you so much for this wonderful step by step prob solving technique…

  43. Van says:

    Great solution! thanks so much.

    PS: I had to check
    Explorer–>Tools–>Folder Options–>Show Hidden Files
    in order to see the Application Data/MMC

    1. Rosco says:

      Nice tip Van. Thanks.

  44. Toaken says:

    Thanks for the great support. It did the job great problem resolving here :D..

  45. Anonymous says:

    Solved my problem after hours of troubleshooting. Corrupt profiles are no fun. Thanks!

  46. Jason says:

    Effing brilliant, I was crapping in my pants because I could not run the MS Exchange management tool on my server. Thank you so much.

Leave a Reply