chkdsk c: /f issue

  • Thread starter Thread starter Diane B
  • Start date Start date
D

Diane B

I am running win xp home edition and know "there is a problem with the file
system" and run the above and receive the message about locking the volume?
i have tried to run this at the 'command' prompt and receive same locking
message.

also, i try to run disk defrag (my computer-properties-tool) it gives me the
msg: disk defrag has detected that chkdsk is scheduled to run on volume c,
plz run chkdsk /f, but i cannot because it is locked???

any solution?

thank you
 
If the file system is in question,install xp cd,exit the info page,go to
run,type:
cmd In cmd type:Sfc /Scannow When its thru,type:EXIT Or type:Defrag C:
if thats what you wanted also.
 
I am running win xp home edition and know "there is a problem with the
file
system" and run the above and receive the message about locking the
volume? i have tried to run this at the 'command' prompt and receive same
locking message.

also, i try to run disk defrag (my computer-properties-tool) it gives me
the msg: disk defrag has detected that chkdsk is scheduled to run on
volume c, plz run chkdsk /f, but i cannot because it is locked???

any solution?

thank you

When you do a disk check, with fix option, for system drive, it cannot be
locked for the check disk application to give it exclusive access to disk.
You'll need to reboot your computer when you run chkdsk /f, so it will start
checking disk, before Windows desktop loads.

Same for "disk defrag has detected that chkdsk is scheduled to run on volume
c". Reboot and let it run. :)
 
Diane said:
I am running win xp home edition and know "there is a
problem with the file system" and run the above and receive
the message about locking the volume? i have tried to run
this at the 'command' prompt and receive same locking
message.
also, i try to run disk defrag (my
computer-properties-tool) it gives me the msg: disk defrag
has detected that chkdsk is scheduled to run on volume c,
plz run chkdsk /f, but i cannot because it is locked???
any solution?

thank you

The disk is "locked" because the operating system is using it.
That's why chkdsk can't run. You have to do a Restart to let the
chkdsk /f run; that way it starts chkdsk working before the disk
is "locked" by the os. A little simplisitic, but that's close.
It's only drive C (the boot drive) that you have to Restart like
this. Other drives won't give that problem.
If you notice chkdsk doing fixes, don't panic: the only ones
to worry about are the ones it can't fix, and it'll give you
instructions if that happens.

Once you reboot and chkdsk has run, then you should be able to
run defrag also since there won't be a chkdsk waiting to run. Do
another Restart before you run the defrag.

HTH
Pop
 
Defrag will not run until the scheduled chkdsk has run.

If you are getting one of these messages:

Cannot lock volume for direct access
or
Cannot open volume for direct access

Symantec AntiVirus Corporate Edition 9.0 can cause the problem.

Chkdsk.exe or ScanDisk fails to run on Windows XP or Windows 2003 after
installing Symantec AntiVirus Corporate Edition 9.0
http://service1.symantec.com/SUPPOR...6e22005026f1/52d79c84c363973488256ea600542b5a

A program called Hitman Pro can cause the problem.

A really old version of ZoneAlarm (a version from 2004) can cause the
problem.

BitDefender Internet Security 9 can cause the problem.

[[Ok BitDefender live support told me yesterday that they are working on it
and
sending people analyse tools but she didn't send me one.....]]
from...
(e-mail address removed) 21 May 2006

Spyware Doctor can also cause the problem.

The /x switch doesn't work if Spyware Doctor is installed. Spyware Doctor
needs to be uninstalled or you can do this...

Quoted from *PCTools*, *Spyware* *Doctor*...
1. Exit from Spyware Doctor (to exit from Spyware
Doctor please right click on the Spyware Doctor icon in
the notification area (next to the clock on the Windows
taskbar) and select Exit from the menu that appears)

2. Delete the file
ikhlayer.sys from %windir%\system32\drivers\
or
from c:\windows\system32\drivers\

3. Restart Spyware Doctor

Chkdsk, defrag and error-checking should now work.
-----

[[There is currently no fix for this problem.]]
[[NOTE: You may have success if you schedule Chkdsk to run at startup and
use the /X switch, which will force a dismount. ]]
from...
JSI Tip 7079. You receive 'Cannot open volume for direct access' when Chkdsk
runs during Windows XP startup
http://www.jsifaq.com/subO/tip7000/rh7079.htm

To run chkdsk from a command prompt.

Start | Run | Type: cmd | Click OK |
In the command prompt, type:

chkdsk C: /x

Hit your Enter key.

The following error message appears:
Chkdsk cannot run because the volume is in use by another process. Would you
like to schedule this volume to be checked the next time the system
restarts? (Y/N)

Type Y, hit Enter and close the command prompt.

Reboot.

The /x switch: Use with NTFS only. Forces the volume to dismount first, if
necessary. All open handles to the drive are invalidated. /x also includes
the functionality of /f. The /F switch fixes errors on the disk.

Unable to run CHKDSK
http://support.microsoft.com/kb/555484

[[Message 1
Cannot lock volume for direct access
Message 2
Cannot open volume for direct access ]]
You receive an error message when you run the Autochk.exe utility on a
partition after you restart the computer or when you schedule the Chkdsk.exe
utility to run on a partition on a Windows 2000-based computer or a Windows
NT-based computer
http://support.microsoft.com/kb/160654

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
pop,

i did try your suggestion and I still cannot run disk defrag as the same msg
pops up "disk defrag has detected that chkdsk is scheduled to run on volume
c" i have restarted and it runs everytime I restart?...i have also found out
that I have a "dirty" volume? It has been 2 yrs since i did a new install,
is my times up??
thank you for further help :-)
 
See if CHKDSK will run as follows: My computer>Rt. click
drive>Properties>Tools tab>Error checking- DO NOT check "Auto fix..." or
"Scan for..." CHKDSK should then run then and not at reboot. Note that it
will not indicate errors but will verify that it can run.
 
Thank you, but I still cannot run disk defrag. chkdsk does not run at
startup now, but i am still getting the message when i try defragging:
volume is in use, etc. do you want to run chkdsk at next startup? it is
almost like a glitch with Microsoft. I have been on so many forums, searched
the web for an answer but to no avail.

do i need to do a clean install? thanks for the help :-)
 
Back
Top