{ 86 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


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...


  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


    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.


Wow, 86 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!

        1. Miha says:

          Yeah, it helped! 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.

      1. Anonymous says:

        CHNGE THE OS

    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,


  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. https://en.wikipedia.org/wiki/MultiMediaCard

    The MMC in this article is a Microsoft Management Console.


  11. MohdSaleh says:

    Realy …….. Thnk you very very very moutch

  12. vijay says:

    thanks a lot

    1. Gert says:

      If you’re reading this, you’re all set, paerrdn!

    2. It may seem strange.But I enjoyed your Hope that you would like the opinions of f Han as well.To ask you to write this good again 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


  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:


  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:


  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.


  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.


  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:

    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.

  47. Pete K says:

    This worked for me!

  48. Werner says:

    DFS-Console was not starting anymore…

    Brilliant solution. Thank you!

  49. Mraky says:

    Great post worked for me also!

  50. Mraky says:

    In windows server 2012 the path to MMC folder is


  51. Sonic says:

    Thanx.my problem Solved 🙂

  52. Nijam says:

    Solved my defag opeing issue. Thanks

  53. Kent says:

    Thank you very much. It worked fine.

  54. Lore says:

    Tx, you’re a lifesaver.

  55. Frozy says:

    Awesome fix thanks !

  56. me says:

    didn’t work for me. error persists.

  57. Dark Phantom says:

    Downgrade the msxml3.dll. Newer msxml3.dll needs more requirements that our Windows didn’t have.

  58. Jas says:

    Great, thanks

  59. amit says:

    thanks you so much my problem resolved…..

  60. Ronald Hine says:

    I had this problem on a Win 7 machine and it then migrated to a Win 10 machine, but your solution worked perfectly, I just made some adjustments for the different folder structure in Win 10. Many thanks.

  61. fix says:

    I LOVE you Dude, it helps!!!!!

  62. AlanR says:

    Life saver!

  63. Anonymous says:

    Maybe Im doing something wrong but the same thing pops up when i do it

  64. Kevin says:

    Sorry not working for me

  65. Bob says:

    Wow, thank you so much for the trick. How and where do you find amazing tips like this one? Worked perfectly!!!!!!

  66. RK says:

    Wow, worked. Thanks so much for this solution, been searching for almost a year now.

  67. Manish Shah says:

    Thanks a lot…. Solved lot of problems.

  68. Darrel J says:

    Wife’s computer. I inherited it (I’m 70 and her genes came from the murky end of the gene pool, draw your own conclusion). After 3 years finally got serious about cleaning it up (XP HOME). Removed teaser and similar function programs, etc.. Then couldn’t immediately find resolution of defrag issue so videoed cmd screen flash, used defrag.exe with proper format and started defrag process. Then found your SOLVED page. Fixed both logins and ran defrag again using MMC process. Works. Thank you very much.

  69. Luca says:

    MANY THANKS!!!!!!!

  70. thekissasian says:

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

  71. David says:

    Worked thanks buddy.

  72. roberto says:

    muchisimas gracias por tu ayuda ya pude resolver mi problema de eventlog

  73. John says:

    Thanks. Still relevant in 2018 on Windows Server 2012. You’d think Microsoft would solve these little bugs at some point in time…

Leave a Reply