Wednesday, August 13, 2014

Windows XP Unable To Defrag

I've run across this problem a few times working on client machines: suddenly they are unable to defragment their hard drive.  When a defrag is attempted, an error message comes up claiming that MMC cannot open the file because it may be missing, corrupt or what-have-you...

Defrag b0rked

Despite how dire this seems, the fix is very easy. Write down the name of the file that Windows says is missing or corrupt, you're going to need this in a bit.

Press Ctrl-R to open the Run box. and type:

regsvr32 C:\Windows\system32\msxml3.dll

Once Windows tells you that it has succeeded,open My Computer and open your C drive.  Then go to:

Documents and Settings\username\Application Data\Microsoft\MMC... 

"username" being your login name.

In that folder there should be some files.  Here's where you need that file name you wrote down.  Find that file and rename it.  For example if the file Windows is complaining about it is 'dfrg' what you need to do is rename that file to something like 'dfrgOLD'.

Close any windows and then try to defrag your hard drive again and all should be working as intended!

Please let me know in the comments section if this was any help.

No comments:

Post a Comment

Thank you for taking the time to contribute. Blogs don't exist without an active community.