Raymond.CC Blog
  • Home
  • Forum
  • Giveaway
  • X-Ray 2.0
  • Contact
  • About
  • I’m Feeling Lucky
Search the site...
You are here: Home » Computer » Fix MMC Cannot Open the File C:\WINDOWS\system32\dfrg.msc Problem

Fix MMC Cannot Open the File C:\WINDOWS\system32\dfrg.msc Problem

Updated by Raymond - 4 years ago - Computer
58
  • Like
  • +1
  • Tweet
  • Printer Friendly and PDF

One of my client’s computer encountered a problem which is unable to run Windows Disk Defragmenter. Windows Disk Defragmenter is a computer program included in Microsoft Windows designed to increase access speed (and sometimes increase the amount of usable space) by rearranging files stored on a disk to occupy contiguous storage locations, or defragmenting. The purpose is to optimize the time it takes to read and write files to/from the disk by minimizing head travel time and maximizing the transfer rate.

The problem is whenever he tries to run the Disk Defragmenter shortcut from Start > Programs > Accessories > System Tools > Disk Defragmenter, only an error window “MMC cannot open the file C:\Windows\system32\dfrg.msc. This may be because the file does not exist, is not an MMC console, or was created by a later version of MMC. This may also be because you do not have sufficient access rights to the file.” appears.

MMC cannot open the file C:\Windows\system32\dfrg.msc. This may be because the file does not exist, is not an MMC console, or was created by a later version of MMC. This may also be because you do not have sufficient access rights to the file

Here are some suggestions on how to fix running disk defragmenter problem in Windows.

One of the methods below should be able to help you restore Windows Disk Defragmenter. Try the first solution and then run Disk Defragmenter. If it didn’t fix the problem, continue with the second one and etc.

Solution 1: Make sure you have rights to run Microsoft Management Console (MMC) and MSC file.

Solution 2: Go to Start > Run, type regsvr32 msxml3.dll and click OK.
MMC cannot open the file C:\Windows\system32\dfrg.msc. This may be because the file does not exist, is not an MMC console, or was created by a later version of MMC. This may also be because you do not have sufficient access rights to the file

Solution 3: Go to Start > Run, type regsvr32 dfrgsnap.dll and click OK. Then again go to Run, type regsvr32 dfrgui.dll and click OK.

Solution 4: Go to C:\Windows\Inf, right click at dfrg.inf file and select Install.
Install DFRG.INF

Solution 5: Go to Start > Run and type sfc /scannow. Make sure you have your Windows XP installation disc in the CD/DVD drive.

Solution 6: Download and apply .MSC association fix.

Solution 7: Download and apply Defrag SnapIn registry fix.

Solution 8: Download and install latest MMC 3.0 from Microsoft.

One of the methods above should be able to help you restore your disk defragmenter. But for my case, I’ve gone though all methods above and it still doesn’t restore Windows Disk Defragmenter. Every time I run defrag, I still get the error MMC Cannot Open the File C:\WINDOWS\system32\dfrg.msc. After days of trying, finally I just decided to rename the dfrg.msc file at C:\WINDOWS\system32\ to dfrg-renamed.msc. I ran dfrg-renamed.msc, and I was shocked to see that it was able to run! So I created a shortcut for dfrg-renamed.msc and place it at Start menu and desktop for my client.

Until today I still couldn’t figure out what is causing this weird behavior but this workaround allows me to run Disk Defragmenter without getting the MMC Cannot Open the File C:\WINDOWS\system32\dfrg.msc error. I’d appreciate if you can share with me what might be the cause of this problem and how to really fix it.


Didn't find what you want? The links below could help:

Unable to View Pictures in Archive with 7-ZipUnable to View Pictures in Archive with 7-ZipChange Apache Server Port 80 in XAMPPChange Apache Server Port 80 in XAMPPHow to Remove or Uninstall Microsoft Office 2010How to Remove or Uninstall Microsoft Office 20108 Tools to Automate Downloading from One-Click File Hosting or Cyberlocker8 Tools to Automate Downloading from One-Click File Hosting or Cyberlocker

58 comments on “Fix MMC Cannot Open the File C:\WINDOWS\system32\dfrg.msc Problem”

  1. Shar says:
    4 months ago

    Solution 8 worked for me. Thanks.

    Reply
  2. zd says:
    10 months ago

    Thank you so-so much. For me only Solution 2 worked.

    Reply
  3. Normando says:
    11 months ago

    Thanks man, option 8 solved my problem!

    Obrigado cara, a opção 8 resolveu meu problema!

    Reply
  4. Hristian Kochev says:
    1 year ago

    Thank you very much, renaming of dfrg.msc to [anything].msc works indeed. However I really want to find a fix instead of workaround, to have the “Defragment now” button working.

    Reply
  5. abdo says:
    1 year ago

    merci

    Reply
  6. Cubina says:
    2 years ago

    You are great, I renamed the file, and it solved my problem too, thanks a lotttttt!

    Reply
  7. al says:
    2 years ago

    Save yourself a lot of trouble rename the dfrg.msc file at C:\WINDOWS\system32\ to dfrg-renamed.msc or dfrg-(insert anything).msc The change all of your short cuts.

    This really works and is VERY simple!!!!

    Reply
  8. david says:
    2 years ago

    rename to dfrg.msc worked

    Reply
  9. Anna says:
    2 years ago

    Thank you sooo much!!!! #8 worked!!!

    Reply
  10. Anna says:
    2 years ago

    Thanxxxx…solution n.8 worked =)))))

    Reply
  11. supersyd says:
    2 years ago

    Thanks a whole bunch to Raymond for your help. Your solution #2 solved my defrag problem!

    Reply
  12. Bearcat says:
    2 years ago

    Wanted to share may successful defrag tool repair.

    With the help of this article and a little luck …

    Per Solution 8: I download and install latest MMC 3.0 from Microsoft. support.microsoft.com/kb/907265

    There were other prerequisite per microsoft’s website:
    For Windows XP, x86-based versions, you must have Windows XP Service Pack 2 (SP2)… and …
    Version 2.0.50727 of the Microsoft .NET Framework to run managed framework snap-ins that are designed and built for MMC 3.0.

    I obviously had SP2 but I needed the Version 2.0.50727 of the Microsoft .NET Framework.

    Then went back to the Solution 3 from this article.
    Go to Start > Run, type regsvr32 dfrgsnap.dll and click OK. Then again go to Run, type regsvr32 dfrgui.dll and click OK.

    It worked for me after that ! :))

    Also from this article you may need solution Solution 4: Go to C:\Windows\Inf, right click at dfrg.inf file and select Install.

    Hope that helps.

    Reply
  13. karan says:
    2 years ago

    thnx bro !!!

    Its working !!!!

    Reply
  14. Robert says:
    2 years ago

    This actually works!! I have spend 2 and a half hours trying to find a program that will work for my computer. Tried this and It works. I am totally greatful.

    Reply
  15. Bill says:
    3 years ago

    Wow, just went through all the solutions and low and behold #8 was the winner!
    I can’t believe it!

    Cheers…. you are a genius.

    Bill

    Reply
  16. Nikolas says:
    3 years ago

    Raymond, obrigado pela ajuda, eu testei quase todos os métodos, e apenas o 8 foi eficaz, muito obrigado pela ajuda MESMO!!!

    Reply
  17. Alvaro says:
    3 years ago

    Thanks man…renaming to dfrg.msc worked since it was only labeled as dfrg.

    Reply
  18. khamim says:
    3 years ago

    tHANKS BRO, It’s work!

    Reply
  19. Tebas' says:
    3 years ago

    Muito obrigado, solucionou o problema

    Reply
  20. vyr says:
    3 years ago

    ok, I tried several things at once and I don’t know witch of them really helped :) First I tried solution no2 but with all msxml*.dll files (there are 3 of them). Funny is that exactly with msxml3.dll I failed – some error about something :) So I downloaded msxml3.dll and replaced mine. Still no go with regsrv32. Then I launched reg files mentioned in sol no 6&7. Finally I restarted machine and everything was ok, all msc’s working now. What MS tells about this problem:
    support.microsoft.com/kb/914231

    Reply
  21. vyr says:
    3 years ago

    solution no8 not valid anymore because it’s not compatible with SP3. Renaming not working for me – any *.msc file behaves the same way, regardless its name. Adding modules to mmc console? Yes, it’s works but only temporary. I can’t save! At least I can reach msc’s that way :) Reinstalling windows it’s only solution I guess.

    Reply
  22. Nhel says:
    3 years ago

    Thanks for this one. it really helps. til next time! i hope you contribute more to fixing anything about computers

    Reply
  23. Lefty says:
    3 years ago

    I solved the problem by adding new item in the mmc console:
    Go to Start > Run and type mmc
    then add new item in the console:
    File>add/remove>add>disk defragmentation
    then save the console.

    That’s it. It works.
    (It also works with renaming of dfrg file)

    Reply
  24. Ariel says:
    3 years ago

    TKS!!!! Finally works the last one (download & reinstall
    MMC)

    Reply
  25. Niki says:
    3 years ago

    Man you rock, slution 8 saved my day….
    Just to let you know i read about it and for my case what caused the problem was that i installed service pack 3 and i had some problems. After i removed service pack 3 then probably it removed also the dfrg.msc…..

    Reply
  26. Georgi says:
    3 years ago

    thaks of lot, solution 8 resolved my problem. Thanks again.

    Reply
  27. Art says:
    4 years ago

    Had same problem with different .msc, renaming was my only solution. Problem started after MS update

    Reply
  28. Jill says:
    4 years ago

    Hi,

    I will like to check that for solution 8, which link should I download? I’m kind of blur with this and it actually stated “Release Date: March 13, 2006″. Does this mean its an latest version?
    Windows Server 2003, x86-based versions
    Windows Server 2003, Itanium-based versions
    Windows Server 2003, x64-based versions

    Pls guide me through this solution as i tried all others and it doesnt help.Headache!!

    Thanks!!

    Reply
  29. Observador says:
    4 years ago

    Cara eu estava com o problema do tópico acima, fiz tudo que foi indicado e não deu certo. Foi ai que me veio a ideia de instalar o sp3 e o desfragmentador voltou a funcionar. Obs: Eu ja havia instalado o sp3 anteriormente só que não gostei e desinstalei-o, mas só fui fazer a desfragmentação há uns 3 dias atrás e observei este problema. Resumindo: Problema com o dfrg.msc resolvido com a reinstalação do sp3.

    Reply
  30. paolo says:
    4 years ago

    è GRANDIOSO STò SITO ………….BRAVI I RAGAZZI DELLA REDAZIONE!!!!!!!!CIAO A TUTTI!!!!!!!!!!!

    Reply
  31. DANIEL CABRAL says:
    4 years ago

    Muito bom esse tutorial. A SOLUÇÃO 6 resolveu meu problema. Muito brigado.

    Reply
  32. Lame Duck says:
    4 years ago

    Great work! Thanks… downloading and re-installing MMC from Microsoft did the trick for me!

    Reply
  33. maycon gouveia says:
    4 years ago

    muito abrigado resovel meu pro…

    Reply
  34. SCOOTER_CS says:
    4 years ago

    перепробовал всё, сработал 8 метод, спасибо большое!!!

    Reply
  35. Mandi says:
    4 years ago

    I just renamed the dfrg.msc file and now my defrag works fine… I tried the Hotfix first but that did help.

    Reply
  36. Александр says:
    4 years ago

    Спасибо Вам!! Решение №8- и у меня все проблемы решились!!!

    Reply
  37. Acid_Boy says:
    4 years ago

    Many thanks MAN!!!

    Reply
  38. ken says:
    4 years ago

    Thanks man it also fixed my system restore as that wouldn’t work earlier a trojan caused the dll to turn itself off It was a trojan in back up in the system 32 folder,again thank you.

    Reply
  39. Ladybug1440 says:
    4 years ago

    THank you SOOOOOOOOOOOOO much, I contacted HP who told me to do a system restore on my 1.5 yr old media center pc, Ive already done 2 since purchasing this pc, and that seems to be their solution to everything when they dont know how to fix a problem. I followed your advice EXACTLY after removing IE8 from my pc, which I believe the problem began After downloading the Beta version IE. It also caused a problem with my Help and support application on the pc. After performing each of your solutions, I rebooted my computer and Now Everything works like new. Thank you again for your kind advice and posting it so others could get their systems up and working again!

    Reply
  40. Franky says:
    4 years ago

    解決8 : Download下載 and install latest MMC 3.0 from Microsoft.並安裝最新的MMC 3.0從Microsoft 。

    This is OK , thanks!

    Reply
  41. Stoyan says:
    4 years ago

    Thanks a lot! Solution 8 worked for me. God bless you :-)

    Reply
  42. Bernie says:
    4 years ago

    microsoft.com/downloads/details.aspx?familyid=61FC1C66-06F2-463C-82A2-CF20902FFAE0&displaylang=en

    Reply
  43. Bernie says:
    4 years ago

    Fix MMC Cannot Open the File C:\WINDOWS\system32.

    hi are you having trouble with this problem above
    to fix this go to the URI above and download Microsoft Management Console 3.0 for Windows XP (KB907265).
    this will fix that problem.

    it works.
    cheers bernie

    Reply
  44. sujahat says:
    4 years ago

    just did this for a client, thank for everything.. not sure why its coming..

    Reply
  45. Сергей says:
    4 years ago

    Помогло – Решение 8: Загрузка и установить последнюю MMC 3,0 от Microsoft.
    support.microsoft.com/kb/907265

    Спасибо.

    Reply
  46. Pelouro says:
    4 years ago

    Tenía el mismo problema que tu y me ha funcionado la solución 8. He tenido que encontrar el idioma adecuado y todo perfecto.
    Gracias

    Reply
  47. ricky says:
    4 years ago

    many thanks Raymond, #8 stopped my hairfall :)

    Reply
  48. francis says:
    4 years ago

    C’est totalement étrange, mais cela marche.
    Je ne sais pas non plus pourquoi….

    J’ai cherché des semaines, essayé toutes les combines possibles, sans jamais trouver de solution… puis…

    J’ai trouvé cette astuce sur le net, ici, et cela fonctionne, mais je ne m’explique pas pourquoi…

    Vous allez voir, la manoeuvre est d’une simplicité enfantine et sans danger.

    Vous renommez le fichier drfg.msc de c:\windows\system32 en dfrgfichierenommé.msc ou ce que vous voulez…

    Et le défragmenteur se met à remarcher c’est assez étonnant…

    si on le renomme dfrgtoto.msc, cela marche aussi, de même que dfrgtotofaidugato.msc

    Si quelqu’un a une explication…

    Reply
  49. Sean says:
    4 years ago

    thanks man, #8 did it for me, took me like 15 min or so to figure out what to do for it but i eventually got it and now my defrag works

    Reply
  50. William Brown says:
    4 years ago

    Your the solution after #8 fixed the problem i renamed and pinned it to the start menu thanks for your research and solutions God bless you Mightly!!!

    Reply
  51. philip says:
    4 years ago

    Stewart is right..this problem is almost always caused by Diskeeper in a normal users computer. The reason you can\\\’t find it is cuz, they have uninstalled it long before (which is the cause of the problem).

    Reply
  52. Glenda says:
    4 years ago

    You Rock! I’ve been hours trying to fix my disk defragmenter. 20 minutes on your page and…problem solved! #8 worked for me.

    Thanks

    Reply
  53. ryanne says:
    4 years ago

    hi raymond you manage to fix the problem you posted here.. wat about typing rstrui in run command and giving you this error message
    —————————
    rstrui
    —————————
    Windows cannot find \’rstrui.exe\’. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search.
    —————————
    OK
    —————————

    I try to ready this problem as I went to my friends house and type this \”rstrui\” in the run command. I was supprised that same error message popup. So I think it is not really an error on my computer. by the way I can still launch system restore on all programs>accessories>system tools>system restore and no problem. My question is can you make system restore launch on run command?

    Reply
  54. John says:
    4 years ago

    I had a similar problem once (with another program). The REN seemed to also solve my problem. Several days later, I REN\’d it back to its original name, and it worked. I think Windows gets dyslexic sometimes, or the NTFS might get corrupted. The REN seems to correct the problem for some reason.

    Reply
  55. Stewart says:
    4 years ago

    See this maybe once a year.

    In my experience its sometimes caused by removing too much with nLite and sometimes by a poor uninstall of Diskeeper.
    I’m not criticising these products.

    I’ve written a crude batch file that simply replaces/overwrites the appropriate files and/or registry keys.

    Reply
  56. miden says:
    4 years ago

    ooh! i acutally have had this problem before! thoguh bac kthen, ididnt noe what to do so i just rebooted :/

    Reply
  57. Erwin Ried says:
    4 years ago

    Never seen this problem on my systems

    Reply
  58. Prashanth says:
    4 years ago

    Great Raymond. You have done lot of analysis on this. Maybe the cause is here –
    support.microsoft.com/kb/326574

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recently Updated

  • safemode uninstall icon

    Uninstall Programs Packaged with Windows Installer (MSI) in Safe Mode

  • packet error icon

    Detect Packet Errors in Your Network LAN Connection Status

  • hex to text icon

    4 Tools to Decode and Convert Windows Registry Hex Values to Text

New Articles

  • task manager replacement icon

    Memory Usage Test to See Which is the Lightest Antivirus Software

  • kaspersky antivirus 2013 icon

    Activate Free Kaspersky Anti-Virus 2013 ROG with 1 Year License

  • remote access software

    Top 8 Remote Access Software for Providing Online Support

Popular Posts

  • Top 10 FREE Data Recovery Software

    Top 10 FREE Data Recovery Software

  • How to Hack Into a Windows XP Computer Without Changing Password

    How to Hack Into a Windows XP Computer Without Changing Password

  • 10 Free Software to Mount CD or DVD ISO Image File as Virtual Drives

    10 Free Software to Mount CD or DVD ISO Image File as Virtual Drives

Recommend on Google
Follow @raymond_cc
Subscribe Youtube »
(c) 2013 Raymond.CC Blog
  • Contact
  • Disclaimer
  • Disclosure
  • Privacy Policy
  • Terms of Use
  • Sitemap