Solved

Unable to run Disk Defragmenter, chkdsk /f error

Posted on 2009-03-31
13
3,955 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
  • 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:
dstewartjr 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
 
LVL 47

Expert Comment

by:dstewartjr
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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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:dstewartjr
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Suggested Solutions

Most of the time we are in fix when all of sudden our systems behave weirdly.  Such problems cost time and effort... so it's best to take some preventive actions so that we can avoid such issues or overcome such problems more easily. Preventive M…
If you build your web application in Visual Studio you'll get at least a few binaries, or .DLL, files in your bin folder. However, there is more compiling to be done. Normally this would happen when an ASP.NET resource within the web site is request…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now