Check Disk

D

Derek

For some reason the "General" newsgroup for Windows 2000
is saying that it is not available. Therefore I thought I
would post here...

I tried to run Check Disk for my C:\ drive, but I get the
following eror:

The disk check could not be performed because exclusive
access to the drive could not be obtained. Do you want to
schdule the disk check to occur the next time you restart
the computer?

I clcked "NO" since I wanted to find out first what is
going on. Any ideas would be much appreciated?

Also, I noticed that the properties for C:\ drive indicate
that it is shared with the following details:

Share Name: C$
Comment: Default Share

I tried to disable the share, but when I reboot it comes
back. Any ideas why this is happening? I don't think it
is normal...Is it?
 
T

The Spirit

Derek said:
For some reason the "General" newsgroup for Windows 2000
is saying that it is not available. Therefore I thought I
would post here...

I tried to run Check Disk for my C:\ drive, but I get the
following eror:

The disk check could not be performed because exclusive
access to the drive could not be obtained. Do you want to
schdule the disk check to occur the next time you restart
the computer?

I clcked "NO" since I wanted to find out first what is
going on. Any ideas would be much appreciated?

Also, I noticed that the properties for C:\ drive indicate
that it is shared with the following details:

Share Name: C$
Comment: Default Share

I tried to disable the share, but when I reboot it comes
back. Any ideas why this is happening? I don't think it
is normal...Is it?

Chkdsk.exe can not be run from within Win2k. It must be run prior to
the startup of Win2k's user interface.
 
D

Derek

I right Clicked on the C:\ drive from Windows Explorer and
chose Properties...Selected the Tools tab...then clicked
the Check Disk button. If you cannot run it from within
Win2K, then why is it an option. I think my original
question maybe wasn't clear?
 
D

Dan Seur

Derek - there's some misinformation or misunderstanding here.
- You can run chkdsk from within W2k, of course.
- Chkdsk without parameters [chkdsk c:] simply checks a partition and
reports what it finds, either errors or no errors. It changes nothing
and will always run. That's a useful way to check the integrity of a
partition.
- Chkdsk with the fix or repair parameters [chkdsk c: /f /r] will
attempt to change (repair) structures if it finds problems. However, to
do so chkdsk must have "exclusive access" to the structure (or the
system might be damaged.) If a structure that is in use by the system
that structure is already "locked" and chkdsk cannot proceed to do any
needed repair.
- In the latter case, chkdsk offers the option you saw, to run at the
next boot. During the system boot, there is a window during which chkdsk
can lock the partition for exclusive access because the system is not
fully operational. When chkdsk runs in this circumstance, it does its
thing normally, and the boot process then continues. It's a perfectly
safe thing to do.
 
W

windowguy

All it means is that you have to run this tool before
windows actually starts up. So click Yes. You want to run
it the next time you start up. The share property has
nothing to do with it.
 
D

Daniel Chang [MSFT]

Chkdsk can't run on the volume (C:) where your operating system (WINNT) is
located ... hence, "exclusive access could not be obtained" ... since chkdsk
requires an exclusive handle to your drive, you'll need to schedule chkdsk
to run on c: the next time you restart the computer, before the operating
system loads.

--
Daniel Chang, MCSE (NT4, 2000)
Server Setup Group

Search our Knowledge Base at http://support.microsoft.com/directory
Visit the Windows 2000 Homepage at
http://www.microsoft.com/windows2000/default.asp
See the Windows NT Homepage at http://www.microsoft.com/ntserver/

NOTE: Please reply to the newsgroup and not directly to me. This allows
others to add to and benefit from these threads and also helps to ensure a
more timely response. Thank you!
This posting is provided "AS IS" without warranty either expressed or
implied, including, but not limited to, the implied warranties of
merchantability or fitness for a particular purpose.
The views and opinions expressed in this newsgroup posting do not
necessarily express or reflect the views and / or opinions of Microsoft.
 

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