Re: defragmentor error

From: Carrie Garth (PostInGroup_at_invalid.cxg)
Date: 06/29/04


Date: Tue, 29 Jun 2004 15:15:20 -0500


| "nick" <anonymous@discussions.microsoft.com>
| wrote in message news:230d001c45dfa$4cdc4e10$a501280a@phx.gbl
| when i use disk fragmentor in windows xp professional, i
| get a microsoft management console error...it asks if i
| want to send a report to mircosoft. What should i do?

Maybe following the steps given in the following Google Groups
archived newsgroup post (to reinstall and register the built-in
defragmenter) would solve the problem.

Note that Laurence refers to the %SYSTEMROOT% folder
as winnt and yours is most likely Windows. So instead of:

"go to the \winnt\inf directory"

read

"go to the \Windows\inf directory"

----- Begin Original Message -----
From: "Laurence Holbrook" email@LaurenceHolbrook.com.INVALID
Subject: Microsoft Management Console violation error -
Date: Thu, 24 Jul 2003 00:35:07 -0700
Message-ID: <0a9601c351b6$1b441410$a301280a@phx.gbl>
Newsgroups: microsoft.public.win2000.general
Google Link: http://www.google.com/groups?&as_umsgid=0a9601c351b6%241b441410%24a301280a@phx.gbl

Thanks to some help from MS tech support, this is a solved
issue -

With the help of ntregmon from www.systeminternals.com,
there was QueryValue

HKLM\SOFTWARE\Microsoft\Dfrg\ResourceDllName
NOTFOUND error that occured just before drwatson was invoked -

Apparently the Compmgmt snap-in will not work if the built
in defragmenter is not INSTALLED and working -

To install and register the built in defragmenter (who
knows why it was never installed in the first place???),

go to the \winnt\inf directory and right click on
dfrg.inf. Select install. Then run regsvr32 dfrgsnap.dll
and regsvr32 dfrgui.dll

<SNIP>
----- End Original Message -----

For more information about Regsvr32 see the following
Microsoft Knowledge Base article:

KB249873 - Explanation of Regsvr32 Usage and Error Messages
http://support.microsoft.com/default.aspx?Product=winxp&scid=kb;en-us;249873

For more information about Regmon (AKA ntregmon):

Sysinternals Freeware - Utilities for Windows NT and Windows 2000 - Regmon
http://www.sysinternals.com/ntw2k/source/regmon.shtml

And if you cannot find the Windows\inf folder use Folder Options
to configure Windows Explorer to "Display hidden files and
folders". For more information search the Windows XP
Professional Help and Support Center for the words in
double-quotes and read the Full-text Search Match by that title.

And if the above does not solve the problem you may also
want to repair the registry entries for the Defrag Snap-In.
For more information refer to the following Google Groups
archived newsgroup post:

----- Begin Original Message -----
From: "Carey Frisch [MVP]" <mrxp2004@nospamyahoo.com>
Subject: Re: Disk Defragmenter MMC Error (plus
Administrator Only error) HELP!
Date: Sun, 27 Jun 2004 12:34:48 -0500
Newsgroups: microsoft.public.windowsxp.perform_maintain
Google Link: http://www.google.com/groups?&as_umsgid=e2RmQ0GXEHA.1764@TK2MSFTNGP10.phx.gbl&

Visit http://www.kellys-korner-xp.com/xp_tweaks.htm and
scroll down to Item No. 291 (Restore Defrag Snap-In).

[Courtesy of MS-MVP Kelly Theriot]

----- End Original Message -----

And until the issue is resolved may be you could use
the Defrag.exe command line utility to consolidate
fragmented boot files, data files, and folders on local
volumes. For more information see the following
Microsoft Knowledge Base article:

KB283080 - Description of the New Command Line
Defrag.exe Included with Windows XP
http://support.microsoft.com/default.aspx?Product=winxp&scid=kb;en-us;283080



Relevant Pages

  • Re: Restore defrag program
    ... HP and Compaq Desktop PCs - Performing an HP System Recovery in Windows XP ... there's a command line version of XP's disk defragmenter. ... Restore taking hours to complete could be a sign of problems with your XP ... Tools folder, see if you can run Computer Management and Event Viewer. ...
    (microsoft.public.windowsxp.general)
  • Re: Restore defrag program
    ... Tools in Windows XP such as the defragmenter require the Microsoft ... Tools folder, see if you can run Computer Management and Event Viewer. ... Back in the Open With dialog, make sure Microsoft Management Console is now ...
    (microsoft.public.windowsxp.general)
  • Re: missing hard drive space on new (used) laptop.
    ... The figures for used disk space are usually found on investigation to ... Windows Explorer records the sum of the files sizes, ... Folder Options, View, Advanced Settings and verify that the box before ... I would be interested in seeing a Disk Defragmenter report from Pat's ...
    (microsoft.public.windowsxp.general)
  • Re: recover compacted folders
    ... Because of this tendency of attachments to infect, ... , then wasted space is generated in that file, and the folder must be ... Windows 2000 and Windows XP. ... Windows XP Service Pack 2 Resources for IT Professionals ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: inbox mostly not open
    ... messages to another folder. ... > When I open Outlook Express it's open automatikly the Inbox. ... Turn off email scanning in your antivirus software. ... themselves (if you have the latest security updates from Windows Update) ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)