Page 1 of 1

Snap in failed to initialize

PostPosted: Tue May 18, 2004 5:24 pm
by mustang12
Whenever I try to start windows defregmenter I get the message
Microsoft Management Console
Snap in failed to initialize
Name: unknown
CLSID(43668E21-2636-11D1-A1CE-0080C88593A5)
Tryed to back up to a different date to see if that would fix problem. Cannot restore to any date.
I am running XP
What happened to my Snap ins and how do I fix this. :(

PostPosted: Tue May 18, 2004 5:39 pm
by Cactus
I've seen on several computers where the built in Disk Defragmenter no longer runs correctly. This often happens when you install a third party defragmenter like Diskeeper, then on uninstalling, it does not restore the built in one correctly.
Some of the problems you may encounter are, a messege box :

Snap-in failed to initialize,
CLSID: {43668E21-2636-11D1-A1CE-0080C88593A5}

when you try to run windows defrag, or other times, the defrag window will show up, but the analyze and defragment buttons will do nothing.
Solution

The solution is actually quite simple. You need to re-register the defragmenters snap-in files, and the basic registry entries.

First open up a Command Prompt, this can be found at:
Start -> All Programs -> Accessories -> Command Prompt


Change into your windows\system32 directory. Your windows directory will be either windows or winnt. Type:
cd \windows\system32


Register the defrag components, by typing:
regsvr32 dfrgsnap.dll
regsvr32 dfrgui.dll

At this stage, you may find the defragmenter works. If not, there is one more step you can do.

Using Windows Explorer browse to your windows\inf folder.
In there you will find a file called dfrg.inf right click this file, and select Install.



Cactus