[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3984
  • Last Modified:

Unable to run Disk Defragmenter, chkdsk /f error

I am trying to run a defrag on a Windows XP Pro, SP2. Each time I try to run it, I get the error message:

Disk Defragmenter has detected that Chkdsk is scheduled to run on the volume: (c:). Please run Chkdsk /f

I have told the computer to run chkdsk /f, and it does so on a restart.

Then it proceeded to continually insist on running chkdsk on every restart.

I searched on EE and found the registry edit to remove the autocheck flag.

I checked scheduled tasks and there is no chkdsk scheduled.

I have tried the chkntfs /d command as well, and the computer still tells me that chkdsk is scheduled to run.

How do I turn this off and defrag this hard drive?
0
KIP Help
Asked:
KIP Help
  • 6
  • 3
  • 2
  • +2
5 Solutions
 
LightningTechCommented:
Are you letting it complete the CHKDSK?  Maybe run a CHKDSK /r off the OS disk?
0
 
Donald StewartNetwork AdministratorCommented:
0
 
KIP HelpAuthor Commented:
Additional Information:

Clearing the registry entry, HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\Session Manager, and rebooting the laptop does not prompt to run chkdsk.

However, clearing the registry entry, then attempting to defrag results in the error listed above. Then a reboot of the laptop does result in the running of chkdsk.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
Donald StewartNetwork AdministratorCommented:
Ok I would scrap windows defrag anyway, this one works quite well

http://www.defraggler.com/
0
 
KIP HelpAuthor Commented:
This is a corporate environment. We need to be able to use the tools provided within the OS.

Can anyone tell me why the defrag keeps setting the autocheck back?

I have tried repeated experiments, and it works like this:

  1. Edit the registry.
  2. Reboot the laptop.
  3. No chkdsk prompting.
  4. Logon to Windows.
  5. Play around in Windows.
  6. Reboot the laptop.
  7. No chkdsk prompting.
  8. Logon to Windows.
  9. Attempt to analyze or defrag and get the Disk Defragmenter has detected that Chkdsk is scheduled to run on the volume: (c:). Please run Chkdsk /f error
  10. Reboot the laptop
  11. Chkdsk prompts/runs.
So, I can take it out of the registry and everything is fine until I attempt to defrag. Even if I run chkdsk /f, the error message pops up on the defrag.
0
 
KIP HelpAuthor Commented:
Lightining Tech:

I've allowed it to complete the chkdsk several times, which is why I am boggled by it's continual reappearance and insistence upon running.
0
 
Adam LeinssCommented:
Yes, but did you do it from the XP disc (recovery console) like he suggested?  There could be a driver loading at startup blocking the successful operation of CHKDSK.
0
 
KIP HelpAuthor Commented:
Yes, I ran it from the recovery console. It reported that it found and fixed more than one error.

Upon reboot, it did not attempt to run chkdsk.

Upon attempting to do a defrag, it once again gave the error.

Should I let it perform a chkdsk /f (yet again)?

(Apologies if I sound testy, I'm a bit annoyed with this OS and hard drive)
0
 
Adam LeinssCommented:
Sounds like the hard drive might be going.  Have you tried running the hard drive vendor diagnostics on the drive?
0
 
quixysCommented:
I would agree with aleinss.

Every time you attempt to defrag, it's probably encountering an error on the disc because it is failing so it prompts for a CHKDSK before defrag can begin.

That would explain why it comes back after editing the registry.

Open Device Manager to find out who the manufacturer is and as aleinss suggested, download their diagnostic utility. If there are failures outside of it's recommended range, that's most likely your culprit.

You are left with only two options, replacement of the drive or using a third party defragmenting software.

I have used O&O Defrag in a corporate/medical environment for some time now with fantastic results. It's available at: http://www.oo-software.com

If you have to replace the drive, at least you have the opportunity to backup a disc image or your individual data neatly.
0
 
KIP HelpAuthor Commented:
I have run three separate diagnostic utilities and none of them found errors or problems with the hard drive.

At this point in time, we are planning on replacing the system with a different one, but I'm still curious about this problem. Could it still be a hard drive problem? Or maybe a software issue?
0
 
Donald StewartNetwork AdministratorCommented:
Have you tried Spinrite?

http://www.grc.com/intro.htm
0
 
KIP HelpAuthor Commented:
I solved the problem by replacing the hard drive. Points divided for the solution and aid received. Thank you!
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 6
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now