Author Topic: [SOLVED] Disk Defragmenter is gone !! windows 7 !! help please !!  (Read 79452 times)

0 Members and 1 Guest are viewing this topic.

Offline debkol35

  • Newbie
  • *
  • Join Date: Jul 2012
  • Posts: 34
  • Karma: 0
    • View Profile
how do I install it without reinstalling windows ? I dont have windows dvd !! Please help....

« Last Edit: August 02, 2012, 09:47:21 am by debkol35 »

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile

Offline debkol35

  • Newbie
  • *
  • Join Date: Jul 2012
  • Posts: 34
  • Karma: 0
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #2 on: July 25, 2012, 12:04:23 am »
I found this
http://www.winhelponline.com/articles/97/1/Error-The-Disk-Defragmenter-is-not-installed-on-your-computer-when-launching-Disk-Defragmenter-in-Windows-Vista.html

See if that gets you going :wink:

Shane

Thank you MR. Shane.  I did follow the steps given it ur link. and it came up !! but now another issue. While I am clicking on "Defragment now" ...nothing is happening !!


Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #3 on: July 25, 2012, 01:31:03 am »
If you look in services (type "services.msc" in search) and look at "Disk Defragmenter" see if "startup type" is set to "Disabled" if it is change to Manual and try again.

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline debkol35

  • Newbie
  • *
  • Join Date: Jul 2012
  • Posts: 34
  • Karma: 0
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #4 on: July 25, 2012, 06:11:04 am »
If you look in services (type "services.msc" in search) and look at "Disk Defragmenter" see if "startup type" is set to "Disabled" if it is change to Manual and try again.

Tomas

Sir,

I followed but couldn't find any Disk Defragmenter !!

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #5 on: July 25, 2012, 10:39:14 am »

* If you copy and paste this text to search: %windir%\system32\dfrgui.exe and click Enter. Is Windows Defrag there?

* Then if Defrag isn't there you can try System File Checker (SFC scan). The System File Checker tool to determine whether the issue that you are experiencing is caused by one or more system files that are used by Windows 7. The System File Checker tool scans system files and replaces incorrect versions of the system files by using the correct versions.

In search type cmd, then type sfc /scannow . When the scan is complete see if Defrag works by copy this text again to search: %windir%\system32\dfrgui.exe .

* Or you can try running the defragmenter in Safe Mode(Then you start your computer press F8 and in Advanced Boot Options Choose "Safe Mode"). If it runs, something is interfering with it and tracking the interference down may not be easy. Note: Some versions of Win 7 disable the ability to run the built in defragger in safe mode. If disabled, it will say so when trying to run it in safe mode.

* If that doesn't work Disk Defragmenter may no longer be on the system or is so corrupted that it needs a re-install. Solution: Re-install the built-in.
There are several methods to re-install the built-in defragger:
 
A:
a. Open the "Start" menu.
b. Type %Windir%\Inf in the "Search" box and press "Enter".
c. In the window that opens, find the file named "dfrg.inf".
d. Right-click on "dfrg.inf" and "Install."

B:
a. Go to "Start > Run" on your computer.
b. Type rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%\inf\dfrg.inf and press "Enter"
c. Click "OK" to make the program automatically reinstall itself.
 
C:
a. Go to Start >All Programs>Accessories>Right Click on Command Prompt> select "Run As Administrator"
b. At command prompt, type regsvr32 dfrgsnap.dll and hit "Enter."
c. Type regsvr32 dfrgui.dll and hit "Enter." This will reinstall any missing defragger files.
 

The info have I got from this to pages:

http://www.w7forums.com/disk-defragmenter-missing-win7-t9273.html

http://forums.cnet.com/7723-6122_102-537194/missing-disk-defragmenter-task-scheduler-on-pc/

http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/windows-7-disk-defragmenter-does-not-work/87965977-1252-e011-8dfc-68b599b31bf5

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #6 on: July 25, 2012, 03:30:46 pm »
Also, see if you can run defrag from a cmd window

Go to start and in the run put in cmd and hit enter.

When it opens just type in defrag.exe and see what happens :wink:

Shane

Offline debkol35

  • Newbie
  • *
  • Join Date: Jul 2012
  • Posts: 34
  • Karma: 0
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #7 on: July 26, 2012, 06:47:46 am »
Also, see if you can run defrag from a cmd window

Go to start and in the run put in cmd and hit enter.

When it opens just type in defrag.exe and see what happens :wink:

Shane



cmd showing this !! problem is still there ... :(

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #8 on: July 26, 2012, 10:38:21 am »
Yeah something is really screwed up.

We are going to have to dig a little deeper :wink:

Did you try any of the things Tomas_Sweden posted?

Shane

Offline debkol35

  • Newbie
  • *
  • Join Date: Jul 2012
  • Posts: 34
  • Karma: 0
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #9 on: July 26, 2012, 10:18:26 pm »
Yeah something is really screwed up.

We are going to have to dig a little deeper :wink:

Did you try any of the things Tomas_Sweden posted?

Shane

yup..tried a bit..but stuck!!


I did run 
Code: [Select]
%windir%\system32\dfrgui.exe but nothing is running..
then..
tried to run it in cmd but failed...
then..
tried this:-
Code: [Select]
A:
a. Open the "Start" menu.
b. Type %Windir%\Inf in the "Search" box and press "Enter".
c. In the window that opens, find the file named "dfrg.inf".
d. Right-click on "dfrg.inf" and "Install."

after doing it.... its saying,  Defragmenter  is not installed !! so ...followed your 1st reply to remove this error.

after that...

I couldnot understand
Code: [Select]
B
b. Type rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%\inf\dfrg.inf and press "Enter"  !!

So skipped it...

After that...

I tried C
Code: [Select]
C:
a. Go to Start >All Programs>Accessories>Right Click on Command Prompt> select "Run As Administrator"
b. At command prompt, type regsvr32 dfrgsnap.dll and hit "Enter."
c. Type regsvr32 dfrgui.dll and hit "Enter." This will reinstall any missing defragger files.

then got this error:-



 :confused: :confused: :confused: :evil: :evil: :evil: :angry: :angry: :angry:

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #10 on: July 26, 2012, 11:34:17 pm »
Ok, but you have the file "dfrg.inf" in %Windir%\Inf?
I dont have the file there so I can't try this, but my defragmenter works anyway!

Instead of Run try "cmd"

B:
a. Go to "Start > type cmd" on your computer.
b. copy and paste this text     rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%\inf\dfrg.inf      and press "Enter"
c. Click "OK" to make the program automatically reinstall itself.

Then try C again, see if it goes better?

C:
a. Go to Start >All Programs>Accessories>Right Click on Command Prompt> select "Run As Administrator"
b. At command prompt, type regsvr32 dfrgsnap.dll and hit "Enter."
c. Type regsvr32 dfrgui.dll and hit "Enter." This will reinstall any missing defragger files.

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #11 on: July 26, 2012, 11:35:50 pm »
Also I forgot to ask, did you run my windows repair tool yet?

I dont have anything for the defrag in there yet, but some of the other fixes might help :wink:

Shane

Offline debkol35

  • Newbie
  • *
  • Join Date: Jul 2012
  • Posts: 34
  • Karma: 0
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #12 on: July 27, 2012, 08:03:29 am »
Ok, but you have the file "dfrg.inf" in %Windir%\Inf?
I dont have the file there so I can't try this, but my defragmenter works anyway!

Instead of Run try "cmd"

B:
a. Go to "Start > type cmd" on your computer.
b. copy and paste this text     rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%\inf\dfrg.inf      and press "Enter"
c. Click "OK" to make the program automatically reinstall itself.

Then try C again, see if it goes better?

C:
a. Go to Start >All Programs>Accessories>Right Click on Command Prompt> select "Run As Administrator"
b. At command prompt, type regsvr32 dfrgsnap.dll and hit "Enter."
c. Type regsvr32 dfrgui.dll and hit "Enter." This will reinstall any missing defragger files.

Tomas

sir...
yes...have have the file "dfrg.inf" in %Windir%\Inf !!
at step B, I get this error:-


at step C, I got no error.


problem is still there.. :(
« Last Edit: July 27, 2012, 08:27:09 am by debkol35 »

Offline debkol35

  • Newbie
  • *
  • Join Date: Jul 2012
  • Posts: 34
  • Karma: 0
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #13 on: July 27, 2012, 08:04:08 am »
Also I forgot to ask, did you run my windows repair tool yet?

I dont have anything for the defrag in there yet, but some of the other fixes might help :wink:

Shane

Didnot try..but gonna run it..and let you know..

Can you plz upload your dfrgui.exe file if possible? maybe dfrgui.exe is corrupted or something !!
« Last Edit: July 27, 2012, 08:28:35 am by debkol35 »

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #14 on: July 27, 2012, 08:29:31 am »
Try to copy and paste this text again to cmd

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%\inf\dfrg.inf

Because i saw that you have a lowercase letters of all words.
Try typing exactly as it appears with uppercase and lowercase letters.

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline debkol35

  • Newbie
  • *
  • Join Date: Jul 2012
  • Posts: 34
  • Karma: 0
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #15 on: July 27, 2012, 09:34:33 am »
Try to copy and paste this text again to cmd

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%\inf\dfrg.inf

Because i saw that you have a lowercase letters of all words.
Try typing exactly as it appears with uppercase and lowercase letters.

Tomas

Ok.. I did..but now getting error:-


I also run
Code: [Select]
sfc /scannow in cmd but no luck !! :cry: :cry: :cry: :cry: :cry: :cry:

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #16 on: July 27, 2012, 09:47:36 am »
If you open registry with regedit and look at HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ explorer \ MyComputer \ DefragPath   is this still there? C:\Windows\System32\dfrgui.exe

And if you open  C:\Windows\System32\ do you find dfrgui.exe there?

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline debkol35

  • Newbie
  • *
  • Join Date: Jul 2012
  • Posts: 34
  • Karma: 0
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #17 on: July 27, 2012, 09:56:15 am »
If you open registry with regedit and look at HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ explorer \ MyComputer \ DefragPath   is this still there? C:\Windows\System32\dfrgui.exe

And if you open  C:\Windows\System32\ do you find dfrgui.exe there?

Tomas

the reg patch is changed !! but exe is in place.


Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #18 on: July 27, 2012, 10:01:55 am »
Ok change in registry to %systemroot%\system32\dfrgui.exe

And in  C:\Windows\System32\  look if you se the file  dfrgui.exe not defrag!

What windows 7 do you have? 64-bit?

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline debkol35

  • Newbie
  • *
  • Join Date: Jul 2012
  • Posts: 34
  • Karma: 0
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #19 on: July 27, 2012, 10:05:34 am »
Ok change in registry to %systemroot%\system32\dfrgui.exe

And in  C:\Windows\System32\  look if you se the file  dfrgui.exe not defrag!

What windows 7 do you have? 64-bit?

Tomas

I did...both in place... now..

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #20 on: July 27, 2012, 10:12:45 am »
Ok does it work now?

You can double click on dfrgui or you can try from properties for your Hard Drive, Tools and Defragment Now!

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline debkol35

  • Newbie
  • *
  • Join Date: Jul 2012
  • Posts: 34
  • Karma: 0
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #21 on: July 27, 2012, 10:13:17 am »
Ok does it work now?

You can double click on dfrgui or you can try from properties for your Hard Drive, Tools and Defragment Now!

Tomas

nop..aint working...same !!

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #22 on: July 27, 2012, 10:29:02 am »
Have you tried try running the defragmenter in Safe Mode (Then you start your computer press F8 and in Advanced Boot Options Choose "Safe Mode"). If it runs, something is interfering with it and tracking the interference down may not be easy. Note: Some versions of Win 7 disable the ability to run the built in defragger in safe mode. If disabled, it will say so when trying to run it in safe mode.

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline debkol35

  • Newbie
  • *
  • Join Date: Jul 2012
  • Posts: 34
  • Karma: 0
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #23 on: July 27, 2012, 10:39:59 am »
Have you tried try running the defragmenter in Safe Mode (Then you start your computer press F8 and in Advanced Boot Options Choose "Safe Mode"). If it runs, something is interfering with it and tracking the interference down may not be easy. Note: Some versions of Win 7 disable the ability to run the built in defragger in safe mode. If disabled, it will say so when trying to run it in safe mode.

Tomas

Just did it now..same result. tried to run through cmd as well as gui !! but same..


Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Disk Defragmenter is gone !! windows 7 !! help please !!
« Reply #24 on: July 27, 2012, 11:16:21 am »
Is Disk Defragmenter there now in services? (type services.msc in search), if it is set to disabled change to manual.

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.