Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 07-21-2005, 04:42 PM   #1
Member (5 bit)
 
Join Date: Oct 2000
Posts: 29
Lost MS defrag program

I lost the MS defrag prog. When I click defrag - instead of launching the MS defrag program, Diskkeeper is launched. The degfrag shortcut points to dfrg.msc. in the Windows-System32 folder. I always had a choice of either program and now I don't. How do I get defrag to launch the MS utility rather than Diskeeper????
artzelda is offline   Reply With Quote
Old 07-21-2005, 05:18 PM   #2
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
The Microsoft utility for defrag is a scaled down version of Diskeeper (or Diskeeper Lite). If you install Diskeeper, it overwites the original utility with the full version. If you uninstalled the full version and cannot get back your original utility follow the directions as listed here:
Quote:
The Default (built-in) defragmenter does not return or function after uninstalling Diskeeper on Windows 2000/XP.


The uninstaller may not have restored the default defragmentation registry entry. Please use the steps below.

Note: in line 5, the string starts with C:. If you have Windows installed to a different partition, replace C with the letter of that partition.

Before you begin any editing of the registry, always remember to update your emergency repair disk (ERD).

1. Click Start, Run. Type "regedit" in the text box and click OK.
2. Under HKEY_LOCAL_MACHINE, double click SOFTWARE, then Microsoft, then Windows, then CurrentVersion, then Explorer, then MyComputer
3. Click DefragPath
4. In the right-hand pane, double click (Default). This will bring up and Edit String window.
5a. For Windows XP: Change the string to read "mmc.exe C:\WINDOWS\system32\dfrg.msc %c:" and click OK.
5b. For Windows 2000: Change the string to read "C:\WINNT\system32\dfrg.msc %c:".

Please Note: You may have your Windows 2000 or XP operating system installed to a different directory from the default of C:\WINNT (for 2000) C:\Windows (for XP). If so, modify the command above to reflect that correct directory location.

Please Note: The difference between the two lines above is that the Windows XP string begins with "mmc.exe", and the Windows 2000 string does not.

6. Close the registry.
7. Open the Command Prompt; To open the command prompt, click Start, point to All Programs, point to Accessories, and then click Command Prompt.
8. Type "CD \WINDOWS\system32" and press Enter. (the Note above applies here also)
9. Type "Regsvr32.exe DfrgSnap.dll" and press Enter.
10. A window will appear confirming the success of the registration; select OK.

You should then be able to use the included default defragmenter in Windows 2000 or XP.


Now select START\PROGRAMS\ACCESSORIES\SYSTEMTOOLS and right click on DISKDEFRAGMENTER, then click Properties. Change the Target box to:

%systemroot%\System32\dfrg.msc
http://support.diskeeper.com/support...78&CId=1&SId=2
Statica is offline   Reply With Quote
Old 07-21-2005, 08:42 PM   #3
Member (5 bit)
 
Join Date: Oct 2000
Posts: 29
Thank you

Statica, THANK YOU. I have looked everywhere including the Diskeeper site and you found the answer. I obviously missed it when I went on the Diskkeeper site. What a great find. Again, THANK YOU. This was driving me crazy. I can now rest safe and secure knowing that this is normal and expected.
artzelda is offline   Reply With Quote
Old 07-22-2005, 02:06 AM   #4
Member (6 bit)
 
Join Date: Apr 2005
Posts: 32
Quote:
Originally Posted by artzelda
Statica, THANK YOU. I have looked everywhere including the Diskeeper site and you found the answer. I obviously missed it when I went on the Diskkeeper site. What a great find. Again, THANK YOU. This was driving me crazy. I can now rest safe and secure knowing that this is normal and expected.
Yes, diskeeper changes the shortcut to point to their version of defrag. The original version is still in c:\windows\system32. To run it just run c:\windows\system32\defrag.exe c:

Also if you uninstall diskeeper, it will restore the shortcut to the original defrag.
1badtech is offline   Reply With Quote
Old 07-22-2005, 05:40 AM   #5
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
defrag.exe is the command line utility that does not get replaced regardless. It does not use or invoke a management console, which is what ppl are used to seeing when invoking defrag.
Statica is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:41 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2