Hi Claymore,
Thanks for the assistance on this. I was wondering though, where the option
to turn this on and off resides.
Dennis
- Show quoted text -
Hello again,
There's no simple on/off switch. It's to do with a thingy called
(oddly) the "dirty bit". Here's the full-meal-deal:
chkdisk - Dirty Bit
**Parameters:
chkntfs drive: [...]
chkntfs /d
chkntfs /x drive: [...]
chkntfs /c drive: [...]
drive: Specifies a drive letter.
/D Restores the machine to the default behavior; all
drives are checked at boot time and chkdsk is run on those that are
dirty. This undoes the effect of the /X option.
/X Excludes a drive from the default boot-time check.
Excluded drives are not accumulated between command invocations.
/C Schedules chkdsk to be run at the next reboot if the
dirty bit has been set.
**Examples:
chkntfs C: {This would manually schedule a chkdsk on C: on the next
boot - the dirty bit is set for C:}
chkntfs /x c: {This disables chkdsk from running on drive C: }
chkntfs /x d: e: {This disables chkdsk from running on drives D: and
E:. }
chkntfs /d {This restores the Dirty Bit to a normal condition - no
drives checked if the dirty bit has not been already set}
**Usage:
Go to Start => Run and type in "cmd" {without the quotes} to open a
Command window.
Type in "chkntfs C:" {without the quotes}
It should tell you if the dirty bit is set ("C: is dirty")
If it is, type in (or copy/paste) "chkntfs /x C:" {without the quotes}
This will prevent chkdsk from scanning drive C: at startup.
To reset it to normal, again open a Command window, and type in
"chkntfs /d"
**Registry
The chkntfs utility works by modifying the BootExcecute value in the
system registry. The BootExecute value is located in the following
registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\Session Manager
The default value is:
BootExecute:REG_MULTI_SZ:autocheck autochk *
**Purpose
The dirty bit is set for two main causes - a software problem such as
your improper shutdown, or a more serious hardware problem that can
indicate a failing drive. It is this dirty bit that during the
transfer of data instructs your computer to run the chkdsk at startup
(autochk).
The instruction I gave should get you out of the endless checking loop
as it will instruct chkdsk to run without checking drive C:. You can
then try some other things, such as chkdsk without the /f switch (read-
only), a defrag of the drive. You could then reset chkntfs back to
default using the /d switch and run chkdsk /f again.
**For more information see here:
http://support.microsoft.com/kb/160963