Windows Tweaks Logo Microsoft PC-Hilfe - 02 blue red
Windows Tweaks Logo Microsoft PC Help - 09 white 120

Windows 2000 - Completely override the defragmentation program

November 25, 2013
Updated: April 14, 2022
Quick overview:

Rumors have been circulating for some time about the defragmentation tool built into Windows 2000 and XP, alleging that it has some security flaws. If you want to play it safe and use a third-party program, follow my instructions to remove the built-in version. You should back up your system first, as this procedure carries risks. In most cases, nothing goes wrong, but it’s not recommended.

Step 1 - Create a backup of the registration database

You need to back up a few keys in the registry. Open Regedit (Start > Run, then type regedit).

Go to the following keys one by one and save each one (File > Export > Selected Subtree). The individual keys will then be saved as a file somewhere (wherever you want).

Don't forget where you put these. You'll need them later:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SourcePath

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

Step 2 - Remove defragmentation files from the SYSTEM32 folder

Now you need to delete the main files of the defragmentation program. To do this, click on My Computer > WINNT > SYSTEM32. Now locate the files

DfrgFat.exe
DfrgRes.dll
DfrgUI.dll
DfrgSnap.dll
DfrgNtfs.exe

and delete them all.

Step 3 - Remove defragmentation files from the DLLCACHE folder

Now repeat the same process with the same files in the DLLCACHE folder, which is also located in the WINNT\SYSTEM32 directory. However, you must first make it visible. To do this, click Tools > Folder Options > View in Explorer and uncheck the box next to "Hide protected operating system files (Recommended)." You can safely confirm the following warning message by clicking Yes. Now scroll down further in the same window and select the option Show all files and folders.

Now click OK and double-click the new DLLCACHE folder that appears. The files listed above, which need to be deleted, are located here. You can now undo the changes you made to the system and hidden files.

In some cases, a warning message will appear; click "Cancel" first, then "Yes" to confirm.

Step 4 - Delete registry entries

Now open the Registry by going to Start > Run > regedit (type it in), and delete the following key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\NodeTypes\ {476e644a-aaff-11d0-b944-00c04fd8d5b0}\Extensions\NameSpace\  {43668E21-2636-11D1-A1CE-0080C88593A5} by selecting it and pressing Delete. Of course, confirm the message by clicking Yes. Proceed in exactly the same way with the following entries in the Registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ Explorer\MyComputer\DefragPath

             

HKEY_CLASSES_ROOT\CLSID\{80EE4901-33A8-11d1-A213-0080C88593A5}  HKEY_CLASSES_ROOT\CLSID\{80EE4902-33A8-11d1-A213-0080C88593A5}  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\SnapIns\ {43668E21-2636-11D1-A1CE-0080C88593A5}

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\NodeTypes\ {476e644a-aaff-11d0-b944-00c04fd8d5b0}\Extensions\ContextMenu\  {43668E21-2636-11D1-A1CE-0080C88593A5}

Step 5 - Restore the previously backed up registry entries

Now go to the folder you selected for your backup in step 1 and restore all three files. To do this, simply double-click on the files!

The process is now finally complete, and you can safely restart your computer. You can also (if you wish) delete the Start menu entry for the defragmentation program. It is located under Start > Programs

NOTE FOR NEW PUBLICATION: This article was produced by Sandro Villinger and comes from the Windows Tweaks archive, which has been built up since the late 1990s.

Founded Windows Tweaks as a teenager in 2001, his helpful PC tricks made it Germany's most visited Windows site (at the time Sandro looked like this). He then went on to write for international publications such as PC-Praxis, Computerbild, PCWorld in the USA, IMTEST.de and Hifi.de. Sandro's main job is as Global Product Marketing Lead and Consultant for various global tech companies, including Microsoft, AVG, Avast, Nero, TeamViewer, Swiss IT Security Group and now currently in the fintech sector for Gendigital. But he can't get rid of his passion and shares his tweaks here again. Privately, he enjoys traveling the world and loves Asia, especially Japan, Singapore and Korea, but also natural places like Iceland and the Nordics. You can reach Sandro via e-mail.

Leave a Reply

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

Windows Tweaks Logo Microsoft PC Help - 09 white 120
by Real Tech Experts
Save time and stress with expert knowledge about software, hardware, AI & Microsoft. 
Windows Tweaks Microsoft PC Help - SINCE 1998 - retina 2

Time-saving tips for PCs, laptops, Windows & software?

Subscribe to our newsletter and receive only our best guides & tweaks as well as exclusive tips for our subscribers. 
Newsletter-Form
Unsubscribe at any time. Approximately 1 - 2 emails per month. This consent includes information on revocation, shipping service provider, and statistics according to our Privacy Policy.
© 1998 - 2026 Windows-Tweaks.info
Made in Germany with ❤️ 
For all technology users around the globe.
This website runs on 🌳 GREEN energy
crossmenu