chkntfs and chkdsk

C

Christos Kritikos

I am trying to figure out what exactly chkntfs does.
According to the help chkntfs "displays or modifies the
checking of disk at boot time" and with the /C flag
it "schedules a drive to be checked at boot time; chkdsk
will run if the drive is dirty".

Does anyone know what "check a disk" stands for in this
case? How does windows define a drive as "dirty"? Is
there a way I can force a chkdsk at startup even if the
drive is uh... "clean"?

thanks
christos
 
D

Dave Patrick

If a volume's dirty bit is set, this indicates that the file system may be
in an inconsistent state. The dirty bit can be set because the volume is
online and has outstanding changes, because changes were made to the volume
and the computer shutdown before the changes were committed to disk, or
because corruption was detected on the volume. If the dirty bit is set when
the computer restarts, chkdsk runs to verify the consistency of the volume.

When Autochk runs against a volume at boot time it records its output to a
file called Bootex.log in the root of the volume being checked. The Winlogon
service then moves the contents of each Bootex.log file to the Application
Event log. One event log message for each volume checked is recorded. So
check the application event log.

This article may also help.
http://support.microsoft.com/default.aspx?scid=kb;[LN];160963

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|
| I am trying to figure out what exactly chkntfs does.
| According to the help chkntfs "displays or modifies the
| checking of disk at boot time" and with the /C flag
| it "schedules a drive to be checked at boot time; chkdsk
| will run if the drive is dirty".
|
| Does anyone know what "check a disk" stands for in this
| case? How does windows define a drive as "dirty"? Is
| there a way I can force a chkdsk at startup even if the
| drive is uh... "clean"?
|
| thanks
| christos
|
 
N

Ndi

Is there a way I can force a chkdsk at startup even if the
drive is uh... "clean"?

If the drive is not in use, it's little more complex and involves expert
registry editing. If this is your system drive (or is it boot drive? Who
twisted them around anyway?) meaning the drive is in use, just schedule to
CHKDSK /x (/v /r) C: and you get prompted to schedule at next boot.

But then again if the drive is not locked you don't need to schedule at
start-up, right?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top