dfrg.msc missing

  • mas77
  • Proficient
  • Proficient
  • User avatar
  • Posts: 258

Post 3+ Months Ago

hi
I'm using windows XP
I've got the file dfrg.msc missing ,,, it is used to defragment the system, by mistake it was deleted from the registry, do you think there is a way I can get it back. also I have another computer running also on xp , so do you think I can copy that file from my other computer into the other one.
thanks
  • conorific
  • Proficient
  • Proficient
  • User avatar
  • Posts: 350
  • Loc: NY

Post 3+ Months Ago

System restore. Google or Ozzu search it.
  • Truce
  • Guru
  • Guru
  • Truce
  • Posts: 1477
  • Loc: Washington DC

Post 3+ Months Ago

I haven't ever heard of the file but if it indeed is what you say it is, then you can most definately copy it from any other computer with the same OS version.

Good luck and keep us updated on what happens!
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23455
  • Loc: Woodbridge VA

Post 3+ Months Ago

*lol....I was trying to find some help here and typed dfrg.msc into google and this post came up as the second result...Too cool.


Still looking though, to help you with a solution. I just had to comment on that.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23455
  • Loc: Woodbridge VA

Post 3+ Months Ago

Question, though...was it deleted from only the registry? Or was it deleted period?

If the file is still there, it should be in Windows/system32/dfrg.msc

Is the file still in that directory? and do you just need to fix the registry settings, or is it completely missing from system32?
  • mas77
  • Proficient
  • Proficient
  • User avatar
  • Posts: 258

Post 3+ Months Ago

what happend here is that when the key ".msc" was deleted from the registry accidently it caused it to be missing from system32, I've copied the file dfrg.msc from my other computer and pasted it into my infected computer but it does not work , when I click on the defregmantation icon it gives me a message saying that : c:\windows\system32\certmgr.msc is not a valid win32 application.
do you have any guideline on how to install that file into the registry.
thanks
  • JrzyCrim
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2062

Post 3+ Months Ago

Code: [ Select ]
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.msc]
@="MSCFile"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.msc\OpenWithList]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.msc\OpenWithProgids]
"MSCFile"=hex(0):

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.msc]
@="MSCFile"
  1. Windows Registry Editor Version 5.00
  2. [HKEY_CLASSES_ROOT\.msc]
  3. @="MSCFile"
  4. [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.msc\OpenWithList]
  5. [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.msc\OpenWithProgids]
  6. "MSCFile"=hex(0):
  7. [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.msc]
  8. @="MSCFile"


Copy and paste the above into a text file, save it as a .reg file, then double-click the file to merge it into the registry.

I'm not sure that's going to solve your problem, however. I'm not sure how the Certificate Manager relates to the defrag utility. Have you tried replacing certmgr.msc?

Also, you say your computer is infected? infected with what?
  • mas77
  • Proficient
  • Proficient
  • User avatar
  • Posts: 258

Post 3+ Months Ago

hey
I did what you told me and the key was added to the regirstry, I aslo replaced the file certmgr.msc .
I come up with this message now
(((Windows cant find disk defragmenter.ink
This program is needed to open files of type “MSC File”
Type in the executable file to be used instead : )))


what I meant by infected was the missing file .
  • JrzyCrim
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2062

Post 3+ Months Ago

Like I said, I didn't think it would work. I guess try to find this other missing file. Other than that, I don't have any other suggestions beyond doing a repair install or even a clean install.
  • Leshw
  • Born
  • Born
  • Leshw
  • Posts: 1

Post 3+ Months Ago

My thanks to "Jim Roberts "with his copy & paste into the registry.

When I read that post, I realized that the registry cleaner I had used removed DRFG.mce and some other .mce files. I was able to restore the missing registry files from a registry backup.
  • MOC
  • Proficient
  • Proficient
  • User avatar
  • Posts: 490
  • Loc: Ocean City , Maryland

Post 3+ Months Ago

C:\WINNT\system32\dfrag.msc
Microsoft Management Console. If you have it and associate it with that . the defrag utility will work.

If you can right click on it ,and choose a program from a list ,if one of the programs is Microsoft Management Console. it will work.
In the system32 folder there is a file called mmc.exe. Disk Defrag needs to be associated with the Managment Console.


Also I don't think that M/S defrag does such a great job ,there are so
many better ones .

PerfectDisk
Defragmenter Pro Plus
O&O Defrag Professional Edition
DefragMentor Premium
Defrag for Windows 2.2
Vopt XP
Diskeeper Home Edition
MindSoft Defrag
Diskeeper Lite


DefragMentor Lite : Free ,Fast
http://www.majorgeeks.com/download.php?det=4095
  • mas77
  • Proficient
  • Proficient
  • User avatar
  • Posts: 258

Post 3+ Months Ago

MOC wrote:
C:\WINNT\system32\dfrag.msc
Microsoft Management Console. If you have it and associate it with that . the defrag utility will work.

If you can right click on it ,and choose a program from a list ,if one of the programs is Microsoft Management Console. it will work.
In the system32 folder there is a file called mmc.exe. Disk Defrag needs to be associated with the Managment Console.


PerfectDisk
Defragmenter Pro Plus
O&O Defrag Professional Edition
DefragMentor Premium
Defrag for Windows 2.2
Vopt XP
Diskeeper Home Edition
MindSoft Defrag
Diskeeper Lite


DefragMentor Lite : Free ,Fast
http://www.majorgeeks.com/download.php?det=4095


so do you know how I can associate it with the management console
  • MOC
  • Proficient
  • Proficient
  • User avatar
  • Posts: 490
  • Loc: Ocean City , Maryland

Post 3+ Months Ago

Read here ,so at least you no what it is.
http://www.theeldergeek.com/microsoft_m ... onsole.htm

Type dfrg.msc in run just to see what happens.


Click [Start] [Run], type mmc and click [OK]

then thats were you open the file dfrg.msc from the Console.
  • mas77
  • Proficient
  • Proficient
  • User avatar
  • Posts: 258

Post 3+ Months Ago

it said : "there are no items to show in this view"
  • mnmurphy
  • Born
  • Born
  • mnmurphy
  • Posts: 1

Post 3+ Months Ago

The association somehow got screwed up for .msc extension.
go to the windows\system32 folder and look for mmc.exe (Microsoft Managment Console)
If it is there, go to tools, folder options, file types and look for the msc extension, highlight it and go to the change button, browse to the system32 folder and click on mmc.exe

Or click on the defrag.msc and open with, browse to the system32 folder and mmc.exe and don't forget to check the box for open all files like this with this program.
If you don't find mmc.exe in the system32 folder, copy one off of another computer and paste it in the system32 folder on the problem machine, then associate the msc files with it. 8)
  • mas77
  • Proficient
  • Proficient
  • User avatar
  • Posts: 258

Post 3+ Months Ago

its ok, thanks for that, I formatted my computer ages ago as I had some other problems too and now I have the dfrg file.
  • absoluten
  • Born
  • Born
  • absoluten
  • Posts: 1

Post 3+ Months Ago

This is an old thread but perfectly applies to my case..... i am in the same situation and have gone through all the above steps. I have the dfrg.msc file in my system32 folder and it's associated with MMC.

FYI the error message I get is:

MMC cannot open the file c:\windows\system32\dfrg.msc.

This may be because the file does not exist [it does], is not an MMC console [it's associated w/ MMC], or was created by a later version of MMC [possible since I've recently reinstalled XP as well as performed a failed System Restore!]. This may also be because you do not have sufficient access rights to the file [I'm logged in as administrator].

Do I need to update MMC? If so, how?
Might it be a missing registry key?
  • crest
  • Born
  • Born
  • crest
  • Posts: 1

Post 3+ Months Ago

Hey absoluten I had the same problem, I did a repair install and when I tried to use Windows defrager after I got the same message as you. I found a fix! go here http://support.microsoft.com/kb/907265 and scroll down a bit over half way and download and run WindowsXP-KB907265-x86-ENU.exe package. Its the latest version of mmc (mmc 3.0)and I'm almost certain it will fix the problem your having. please post back if it does.
  • Mr. Garrison
  • Born
  • Born
  • Mr. Garrison
  • Posts: 1

Post 3+ Months Ago

hey guys,
I recently had the same problem with defragmentation so I tried to google it out and 1st hit with "dfrg.msc download" was this topic in this forum :)
so I followed instructions and nothing worked until I tried last suggestion from post above, and guess what, it worked :)
so I felt need to register on this forum just to say thanks to mnmurphy. so thank you mnmurphy :)
greetings from Belgrade, Serbia...
  • SOKO 5113
  • Born
  • Born
  • SOKO 5113
  • Posts: 1

Post 3+ Months Ago

Crest,

I've just also encountered this problem. Like Mr. G above I followed your advice and thanks to you my system seems to be fine...again!

Thanks mate. I know this site is for Webmasters, but you guys don't half offer some good advice.

Thanks

SOKO
  • JINPACHI_M
  • Born
  • Born
  • JINPACHI_M
  • Posts: 1

Post 3+ Months Ago

THANK YOU VERY GOOD BIG CONTRIBUTION ME BENDIT SOLVE THE PROBLEM NOW ALL THIS MACHINE AS BEFORE MY THANKS VERY STRONGLY
  • Bagger
  • Born
  • Born
  • Bagger
  • Posts: 1

Post 3+ Months Ago

Google took me to this great site. I just joined and plan to visit frequently. I encountered the same problem when trying to run defrag. I'm also getting a Norton error message that is telling me to run serivices.msc. When I do I get a Cannot open C:/WINDOWS/System32/Services.msc. Prior to running into these problems I encountered difficulties running MS Money. I'd click on the icon to run it. It didn't appear to open, I'd click on the icon again and I got the message saying it was already running. I uninstalled and re-installed and still have the problem.

I downloaded the patch crest talks about hoping it would fix my problems. After running it I got a message saying the serivce pack is newer than the update I'm applying. There is no need to install. Any recommendations??
  • Tarak
  • Newbie
  • Newbie
  • Tarak
  • Posts: 5

Post 3+ Months Ago

I'll join the list there to - I have XP Pro and it seems since I installed SP 3 - I can't defrag through the My Computer/Drive/Properies /Tools option - also I'm (administrator) getting "access Denied" on thing like the Disk Manager etc.

Please let us know if anyone hears of anything.
  • sunset12
  • Born
  • Born
  • sunset12
  • Posts: 1

Post 3+ Months Ago

Thank you to Crest. A year and a half later you are still helping people with that info about WindowsXP-KP907265. I would not have found that on the MS website if not for your posting. I downloaded the fix and it works. Thanks again, this site is certainly the gift that keeps on giving :mrgreen:
  • shaunak_bangale
  • Born
  • Born
  • shaunak_bangale
  • Posts: 1

Post 3+ Months Ago

thank you very much crest..your post is still helping people..i m lucky to be one of them..god bless you..
  • d_tandiari
  • Born
  • Born
  • d_tandiari
  • Posts: 1

Post 3+ Months Ago

I Register in this forum, Specialy to say many many thanks to CREST..even till now ur post still helpful..hope other people that have problem with dlfrg.msc can find this link....God Bless U
  • pccare_himanshu
  • Beginner
  • Beginner
  • pccare_himanshu
  • Posts: 37

Post 3+ Months Ago

Solution

Re-register the defragmenter software components.
Method 1

* Click on Start, Run, and enter regsvr32 dfrgsnap.dll.
* Click on Start, Run, and enter regsvr32 dfrgui.dll.

If this doesn't resolve the problem, try Method 2.
Method 2

* Click on Start, Run, and enter %windir%\inf. This should open a folder named Inf.
* Locate the file named dfrg.inf (it might be listed as just dfrg.)
* Right-click this file and click Install.

If you get any error while registering the dlls

download dlls from the attachment


and then register
Attachments:
DLLS.rar

(66.21 KiB) Downloaded 1344 times

  • pccare_himanshu
  • Beginner
  • Beginner
  • pccare_himanshu
  • Posts: 37

Post 3+ Months Ago

Lemme know if it helps u
  • pccare_himanshu
  • Beginner
  • Beginner
  • pccare_himanshu
  • Posts: 37

Post 3+ Months Ago

The issue is resolved or not ?
  • pccare_himanshu
  • Beginner
  • Beginner
  • pccare_himanshu
  • Posts: 37

Post 3+ Months Ago

Method 1
Click on Start, Run, and enter regsvr32 dfrgsnap.dll.
Click on Start, Run, and enter regsvr32 dfrgui.dll.
If this doesn't resolve the problem, try Method 2.

Method 2
Click on Start, Run, and enter %windir%\inf. This should open a folder named Inf.
Locate the file named dfrg.inf (it might be listed as just dfrg.)
Right-click this file and click Install.

Post Information

  • Total Posts in this topic: 32 posts
  • Users browsing this forum: No registered users and 44 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.