DIGIT-ARC read-only archive · snapshot: July 23, 2026

Disk Defragmentation Error...

6 posts · originally from https://geek.digit.in/community/threads/disk-defragmentation-error.96684/

go4saket
go4saket Original post #1
Aug 29, 2008 at 10:59 PM
Hi Guys!

I have four partitions in my HDD. Although three are working fine, one of them has become quite slow. So I tried to Defragment it, but everytime I try to do so, it says that CHKDSK is scheduled to run on next system reboot and defragmantation is only possible after the process of CHKDSK. Everytime I start Windows XP, CHKDSK performs a check on that particular drive and gives a green signal. This happens everytime I start Windows.

How can I stop this from happening so that I can defrag my drive.

Thank you.
Krazy_About_Technology
Aug 29, 2008 at 11:18 PM
Sometimes it happens that disk check always starts to check the file system on one or more drives for consistency. If any key is pressed, the disk checking is aborted. Actually this is because some data structure of the drive or some file is corrupted which can not be recovered and check disk is always run at Windows startup. Or sometimes it may take several hours for disk checking to scan all the drives. So disabling it or postponing disk check is better. There are several methods to disable disk checking at Windows startup. Two of them are given below:

Method 1: Using CHKNTFS utility
------------------------------------

CHKNTFS is a utility by Microsoft, available on Windows XP and Vista, that can be used to disable disk checking on certain drives at Windows startup. To use this utility go to Start –> Run –> cmd. (On Vista, use an admin console)

Now for example, If you want to disable check disk on C: drive, use the following command on command prompt:

Code:
chkntfs /X C:

If you want to disable check disk on two or more drives, just keep on adding the drives:

Code:
chkntfs /X C: D: E:

This will disable check disk on C, D and E drives.

If you want to restore what you have done, that is, enable automatic disk checking on all the drives again, just run the following command:

Code:
chkntfs /D

This will restore all the drives to automatic disk checkup.

Method 2: Using Registry
----------------------------
To disable automatic disk checking at Windows startup through registry, go to the following registry key:

Code:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager

In the right hand pane, double click BootExecute.

The default value of the key is autocheck autochk *

* means every drive is checked for consistency. Just add /K:C at the end before *. /K switch will disable autocheck on C: drive at Windows startup. So the final value should look like this:

Code:
autocheck autochk /k:C *

If you want to add more drives, the key should look like this: (disabling C and D drives)

Code:
autocheck autochk /k:C /k:D *

If you want to restore everything to default, just replace the key with the default one i.e.,

Code:
autocheck autochk *

I hope this will solve your problem. However, The best advice i can give you is that, if possible, move your data to a different drive and then format this drive using quick format and then recopy data so that the disk's data structures become consistent again.
thewisecrab
Aug 29, 2008 at 11:28 PM
Which drive are you trying to defragment?
Is it the one with Windows installed?
go4saket
Aug 29, 2008 at 11:33 PM
Which drive are you trying to defragment?
Is it the one with Windows installed?

No. In my comp, Win XP is installed in C: and I am talking about E:
Krazy_About_Technology
Aug 29, 2008 at 11:39 PM
^You tried what i posted above buddy? The slow running of your drive is also because of these inconsistent data structures. I had this problem sometime b4 with my desktop system in Windows XP. I lost a lot of data at that time coz i took it lightly. :-|
go4saket
Aug 30, 2008 at 10:23 AM
^You tried what i posted above buddy? The slow running of your drive is also because of these inconsistent data structures. I had this problem sometime b4 with my desktop system in Windows XP. I lost a lot of data at that time coz i took it lightly. :-|

Tried what you suggested. It doesnt check it when Windows starts but even now when I try to defragment my drive, it gives the same error.