Chkdsk Issue

G

Guest

Hiya :)

When I go into 'My Computer,' 'C,' 'Properties,' 'Tools,' 'Error Checking,'
and click on both 'automatically fix errors' and 'attempt recovery of bad
sectors,' a message says 'The disk check could not be performed because
exclusive access to the drive could not be obtained. Do you want to schedule
this disk check to occur the next time you restart the computer.'

Why does does this message come up when no other programs are open?

Anyways, I restart the computer but Chkdsk scans so fast that I cannot even
see the results.

How can I manually run Chkdsk without restarting the computer?
 
D

Dave Patrick

That's normal expected behavior.

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 for details.

If you get an error something to the effect "cannot open volume for direct
access" There is some system/boot start device that is reading/writing to
the drive before chkdsk can get a lock on the drive. Some anti-virus
applications do this.

After backup you can also run;
chkdsk /r
from the recovery console command line. (/r implies /f and /p)

To start the Recovery Console, start the computer from the Windows 2000
Setup CD or the Windows 2000 Setup floppy disks. If you do not have Setup
floppy disks and your computer cannot start from the Windows 2000 Setup CD,
use another Windows 2000-based computer to create the Setup floppy disks. At
the "Welcome to Setup" screen. Press F10 or R to repair a Windows 2000
installation, and then press C to use the Recovery Console. The Recovery
Console then prompts you for the administrator password. If you do not have
the correct password, Recovery Console does not allow access to the
computer. If an incorrect password is entered three times, the Recovery
Console quits and restarts the computer. Note If the registry is corrupted
or missing or no valid installations are found, the Recovery Console starts
in the root of the startup volume without requiring a password. You cannot
access any folders, but you can carry out commands such as chkdsk, fixboot,
and fixmbr for limited disk repairs. Once the password has been validated,
you have full access to the Recovery Console, but limited access to the hard
disk. You can only access the following folders on your computer: drive
root, %windir% or %systemroot%


--

Regards,

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

Guest

Hiya

You've given me a very complicated and detailed answer for a simple question!

How do I manually do a disk check and have it automatically fix errors and
scan for and attempt recovery of bad sectors on C drive and avoid the message
stating that it will do a disk check upon reboot?
 
G

Guest

I tried to manually run Chkdsk again and here is what happened:

When both boxes are checked (automatically fix errors and scan for and
attempt recovery of bad sectors), the error message comes up saying 'The disk
check could not be performed because exclusive access to the drive could not
be obtained. Do you want to schedule this disk check to occur the next time
the computer is restarted.'

Yet, when neither box is checked or only the 'scan for and attempt recovery
of bad sectors' is checked, it does the scan but only says 'Disk check
complete' without giving a summary of what was found. It does give a summary
when it reboots and scans automatically but it goes by too fast so why
doesn't give it give a manual summary?

I want to be able to check both boxes, do a manual scan, and read the summary.

What steps do I take to avoid that 'message' coming up?

Dave Patrick said:
That's normal expected behavior.

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 for details.

If you get an error something to the effect "cannot open volume for direct
access" There is some system/boot start device that is reading/writing to
the drive before chkdsk can get a lock on the drive. Some anti-virus
applications do this.

After backup you can also run;
chkdsk /r
from the recovery console command line. (/r implies /f and /p)

To start the Recovery Console, start the computer from the Windows 2000
Setup CD or the Windows 2000 Setup floppy disks. If you do not have Setup
floppy disks and your computer cannot start from the Windows 2000 Setup CD,
use another Windows 2000-based computer to create the Setup floppy disks. At
the "Welcome to Setup" screen. Press F10 or R to repair a Windows 2000
installation, and then press C to use the Recovery Console. The Recovery
Console then prompts you for the administrator password. If you do not have
the correct password, Recovery Console does not allow access to the
computer. If an incorrect password is entered three times, the Recovery
Console quits and restarts the computer. Note If the registry is corrupted
or missing or no valid installations are found, the Recovery Console starts
in the root of the startup volume without requiring a password. You cannot
access any folders, but you can carry out commands such as chkdsk, fixboot,
and fixmbr for limited disk repairs. Once the password has been validated,
you have full access to the Recovery Console, but limited access to the hard
disk. You can only access the following folders on your computer: drive
root, %windir% or %systemroot%


--

Regards,

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

Summer1 said:
Hiya :)

When I go into 'My Computer,' 'C,' 'Properties,' 'Tools,' 'Error
Checking,'
and click on both 'automatically fix errors' and 'attempt recovery of bad
sectors,' a message says 'The disk check could not be performed because
exclusive access to the drive could not be obtained. Do you want to
schedule
this disk check to occur the next time you restart the computer.'

Why does does this message come up when no other programs are open?

Anyways, I restart the computer but Chkdsk scans so fast that I cannot
even
see the results.

How can I manually run Chkdsk without restarting the computer?
 
D

Dave Patrick

Ignore the message, check both boxes, restart the computer then check the
application event log for results.


--

Regards,

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

Guest

Hiya Dave :)

I figured it out last night when I came across the Application Log and saw a
detailed summary of the disk check.

Thank you very much for all of your assistance though!

Dave Patrick said:
Ignore the message, check both boxes, restart the computer then check the
application event log for results.


--

Regards,

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

Summer1 said:
I tried to manually run Chkdsk again and here is what happened:

When both boxes are checked (automatically fix errors and scan for and
attempt recovery of bad sectors), the error message comes up saying 'The
disk
check could not be performed because exclusive access to the drive could
not
be obtained. Do you want to schedule this disk check to occur the next
time
the computer is restarted.'

Yet, when neither box is checked or only the 'scan for and attempt
recovery
of bad sectors' is checked, it does the scan but only says 'Disk check
complete' without giving a summary of what was found. It does give a
summary
when it reboots and scans automatically but it goes by too fast so why
doesn't give it give a manual summary?

I want to be able to check both boxes, do a manual scan, and read the
summary.

What steps do I take to avoid that 'message' coming up?
 

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