Results 1 to 11 of 11

Thread: No defragment tool currently installed...HELP [resolved guide of howto within thread]

  1. #1

    Thread Starter
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Resolved No defragment tool currently installed...HELP [resolved guide of howto within thread]

    Hi all, i recently got rid of Norton Internet Security, and Norton Antivirus 2004...if that may have anything to do with this.

    I went to defrag my drive earlier and this is what happened -


    Any help ?
    Last edited by thegreatone; Jun 17th, 2005 at 12:17 PM.
    Zeegnahtuer?

  2. #2
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: No defragment tool currently installed...HELP

    Can you add it again if you go to the Add/Remove apps in the CP?

  3. #3

    Thread Starter
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: No defragment tool currently installed...HELP



    Yet here i am, running dfrg.msc from C:\WINDOWS\System32 i havn't got a clue, and neither does the M$ website, i have found out about a file called dfrg.inf but i cannot locate it
    Zeegnahtuer?

  4. #4

    Thread Starter
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: No defragment tool currently installed...HELP

    Quote Originally Posted by NoteMe
    Can you add it again if you go to the Add/Remove apps in the CP?
    I'm afraid not
    Zeegnahtuer?

  5. #5
    Fanatic Member ALL's Avatar
    Join Date
    Jul 2004
    Location
    192.168.1.1
    Posts
    711

    Re: No defragment tool currently installed...HELP

    it disabled in your registry, i am not sure where it is stored, but i have a hunch:
    HKey_Local_Machine>Software>Microsoft>Dfrg

    tell us what the options are and their values.

    BTW... the defrag.inf is more for Win98 machines. and it is not on your computer, you would need to add it.
    Last edited by ALL; Jun 17th, 2005 at 10:38 AM.
    Please support one of my projects?
    TKForums.com

    Web Forum
    JavaScript Wiki
    ________________________
    If somone helps you, please rate their post, by clicking the to rate their post

  6. #6

    Thread Starter
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: No defragment tool currently installed...HELP

    Code:
    Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg
    Class Name:        <NO CLASS>
    Last Write Time:   10/08/2004 - 16:56
    Value 0
      Name:            FreeSpaceErrorLevel
      Type:            REG_SZ
      Data:            15
    
    Value 1
      Name:            PathName
      Type:            REG_EXPAND_SZ
      Data:            %systemroot%\system32
    
    Value 2
      Name:            ResourceDllName
      Type:            REG_EXPAND_SZ
      Data:            %systemroot%\system32\DfrgRes.dll
    
    
    Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction
    Class Name:        <NO CLASS>
    Last Write Time:   17/06/2005 - 15:29
    Value 0
      Name:            Enable
      Type:            REG_SZ
      Data:            Y
    
    Value 1
      Name:            LcnStartLocation
      Type:            REG_SZ
      Data:            11608354
    
    Value 2
      Name:            LcnEndLocation
      Type:            REG_SZ
      Data:            11966424
    
    Value 3
      Name:            OptimizeComplete
      Type:            REG_SZ
      Data:            Yes
    
    Value 4
      Name:            OptimizeError
      Type:            REG_SZ
      Data:
    Zeegnahtuer?

  7. #7

    Thread Starter
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: No defragment tool currently installed...HELP

    Nevermind, i have got it now

    If anyone has the same issue on Windows XP SP2 Home Edition simply goto
    C:\WINDOWS\inf
    and right click dfrg.inf and select install.
    Works like a charm.

    Also, my registry AFTER doing the fix looks like this...

    Code:
    Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg
    Class Name:        <NO CLASS>
    Last Write Time:   10/08/2004 - 16:56
    Value 0
      Name:            FreeSpaceErrorLevel
      Type:            REG_SZ
      Data:            15
    
    Value 1
      Name:            PathName
      Type:            REG_EXPAND_SZ
      Data:            %systemroot%\system32
    
    Value 2
      Name:            ResourceDllName
      Type:            REG_EXPAND_SZ
      Data:            %systemroot%\system32\DfrgRes.dll
    
    
    Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction
    Class Name:        <NO CLASS>
    Last Write Time:   17/06/2005 - 17:19
    Value 0
      Name:            Enable
      Type:            REG_SZ
      Data:            Y
    
    Value 1
      Name:            LcnStartLocation
      Type:            REG_SZ
      Data:            0
    
    Value 2
      Name:            LcnEndLocation
      Type:            REG_SZ
      Data:            0
    
    Value 3
      Name:            OptimizeComplete
      Type:            REG_SZ
      Data:            No
    
    Value 4
      Name:            OptimizeError
      Type:            REG_SZ
      Data:            Not Run
    Zeegnahtuer?

  8. #8
    Fanatic Member ALL's Avatar
    Join Date
    Jul 2004
    Location
    192.168.1.1
    Posts
    711

    Re: No defragment tool currently installed...HELP [resolved, guide of howto in last post]

    it must not either contain it in XP Pro, or somthing, because i dont have dfrg.inf on this one.

    WIERD!
    Please support one of my projects?
    TKForums.com

    Web Forum
    JavaScript Wiki
    ________________________
    If somone helps you, please rate their post, by clicking the to rate their post

  9. #9

    Thread Starter
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: No defragment tool currently installed...HELP [resolved, guide of howto in last p

    Quote Originally Posted by ALL
    it must not either contain it in XP Pro, or somthing, because i dont have dfrg.inf on this one.

    WIERD!
    It might only be created when the registry settings for it are modified...

    I'll post the contents of dfrg.inf that's on my machine and see what you reckon.

    dfrg.inf -
    Code:
    [Version]
    Signature = "$Windows NT$"
    DriverVer=07/01/2001,5.1.2535.0
    
    [DefaultInstall]
    AddReg = DF.AddReg
    ProfileItems = DefragInstallItems
    
    [DefragInstallItems]
    Name       = %DEFRAG_SNAPIN%
    CmdLine    = 11,, dfrg.msc
    SubDir     = %SystemTools_GROUP%
    WorkingDir = 11
    IconPath   = 11,,DfrgRes.dll
    IconIndex  = 0
    InfoTip    = "@%SystemRoot%\system32\shell32.dll,-22539"
    DisplayResource="%SystemRoot%\system32\shell32.dll",22027
    
    [DF.AddReg]
    HKLM,"SOFTWARE\Microsoft\Dfrg","FreeSpaceErrorLevel",0x00000000,"15"
    HKLM,"SOFTWARE\Microsoft\Dfrg","PathName",0x00020000,"%systemroot%\system32"
    HKLM,"SOFTWARE\Microsoft\Dfrg","ResourceDllName",0x00020000,"%systemroot%\system32\DfrgRes.dll"
    HKLM,"SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction","Enable",0x00000000,"Y"
    HKLM,"SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction","LcnStartLocation",0x00000000,"0"
    HKLM,"SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction","LcnEndLocation",0x00000000,"0"
    HKLM,"SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction","OptimizeComplete",0x00000000,"No"
    HKLM,"SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction","OptimizeError",0x00000000,"Not Run"
    
    HKCR,"CLSID\{80EE4901-33A8-11d1-A213-0080C88593A5}","",0x00000000,"%DEFRAG_NTFS_CLASS%"
    HKCR,"CLSID\{80EE4901-33A8-11d1-A213-0080C88593A5}\LocalServer32","",0x00000000,"DfrgNtfs.exe"
    HKCR,"CLSID\{80EE4902-33A8-11d1-A213-0080C88593A5}","",0x00000000,"%DEFRAG_FAT_CLASS%"
    HKCR,"CLSID\{80EE4902-33A8-11d1-A213-0080C88593A5}\LocalServer32","",0x00000000,"DfrgFat.exe"
    
    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\DefragPath",,0x00000010
    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\DefragPath","",0x00020000,"%systemroot%\system32\dfrg.msc %c:"
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    [Strings]
    DEFRAG_SNAPIN="Disk Defragmenter"
    DEFRAG_PROVIDER="Microsoft Corp., Executive Software International"
    DEFRAG_Infotip = "Defragments your volumes so that your computer runs faster and more efficiently."
    SystemTools_GROUP = "Accessories\System Tools"
    
    DEFRAG_NTFS_CLASS="Defrag NTFS engine"
    DEFRAG_FAT_CLASS="Defrag FAT engine"
    Zeegnahtuer?

  10. #10
    Fanatic Member ALL's Avatar
    Join Date
    Jul 2004
    Location
    192.168.1.1
    Posts
    711

    Re: No defragment tool currently installed...HELP [resolved guide of howto within thread]

    hmmm...ok...

    i think it was this string that was doing it to you:

    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\DefragPath","",0x00020000,"%syst emroot%\system32\dfrg.msc %c:"

    maybe you had a disk optimizer installed, but it didnt restore the path after the uninstall or somthing, so it couldnt defrag the drive, intern disabling it.

    I just tried deleting that key, and it DID disable the defrag, so i am sure that was the problem
    Please support one of my projects?
    TKForums.com

    Web Forum
    JavaScript Wiki
    ________________________
    If somone helps you, please rate their post, by clicking the to rate their post

  11. #11

    Thread Starter
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: No defragment tool currently installed...HELP [resolved guide of howto within thr

    Thanks, upon lookin at an older version of my registry, taken before modifying it, i notice that the key you just posted didn't actually exist

    It does now, and works perfectly
    Zeegnahtuer?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width