Solved

Unable to run Disk Defragmenter, chkdsk /f error

Posted on 2009-03-31
13
3,970 Views
Last Modified: 2012-05-06
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
Comment
Question by:KIP Help
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
  • 2
  • +2
13 Comments
 
LVL 1

Assisted Solution

by:LightningTech
LightningTech earned 100 total points
ID: 24031150
Are you letting it complete the CHKDSK?  Maybe run a CHKDSK /r off the OS disk?
0
 
LVL 47

Accepted Solution

by:
Donald Stewart earned 125 total points
ID: 24031196
0
 

Author Comment

by:KIP Help
ID: 24031323
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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
LVL 47

Expert Comment

by:Donald Stewart
ID: 24031452
Ok I would scrap windows defrag anyway, this one works quite well

http://www.defraggler.com/
0
 

Author Comment

by:KIP Help
ID: 24031564
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
 

Author Comment

by:KIP Help
ID: 24031576
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
 
LVL 22

Assisted Solution

by:Adam Leinss
Adam Leinss earned 150 total points
ID: 24032333
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
 

Author Comment

by:KIP Help
ID: 24032404
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
 
LVL 22

Assisted Solution

by:Adam Leinss
Adam Leinss earned 150 total points
ID: 24033676
Sounds like the hard drive might be going.  Have you tried running the hard drive vendor diagnostics on the drive?
0
 

Assisted Solution

by:quixys
quixys earned 125 total points
ID: 24035037
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
 

Author Comment

by:KIP Help
ID: 24042099
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
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 24042342
Have you tried Spinrite?

http://www.grc.com/intro.htm
0
 

Author Closing Comment

by:KIP Help
ID: 31564933
I solved the problem by replacing the hard drive. Points divided for the solution and aid received. Thank you!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question