Checkdisk error

G

Guest

One day the computer started to throw up a error message related to
checkdisk. Diskeeper cannot defragment volume C because there is a checkdisk
scheduled to run on C on next reboot. Everything would be ok when it would
run but the chkdsk doesn't run, when i manually scheduled it again then on
reboot it showed error in dos that some (starting with n or something) file
missing. I would do that system file verifier but it want a pro cd , that i
have not because they put a xp pro on my comp in the comp shop when i bought
my pc and didnt give me the cd. If someone could tell me how to get a fixed
chkdsk.exe or how to take off that schedule boot time checkdisk. Or any other
suggestions are welcome. Please help!
 
R

Rick Rogers

Hi Kris,

For the checkdisk problem, try this: click start/run or hit winkey+r and
type cmd, then click ok. From the prompt, run "chkntfs /d" (without the
quotes).

On the matter of the "missing" CD for running SFC, see if this helps:
http://rickrogers.org/fixes.htm#I386

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Windows help - www.rickrogers.org
 
G

Guest

Rick Rogers said:
Hi Kris,

For the checkdisk problem, try this: click start/run or hit winkey+r and
type cmd, then click ok. From the prompt, run "chkntfs /d" (without the
quotes).

As i understand then chkntfs /d disables every bootup checkdisk? i also have
tried the chkntfs /c C: but it turned the error in dos i wrote before....
I forgot to say before that when i run checkdisk utility from my user/admin
account then it completes phase 2 and then writes that couldn't complete
checkdisk. Thanks for your help i'll try what i can..
 
G

Guest

Now i changed the regkeys that necessary but i can't still complete SFC it
sends an error like this

http://www.zone.ee/minuoma5/error.bmp

(i think i didn't mess with those registry keys)

and i tried the chkntfs /D too but i still can't defragment drive C because
it still says that a boot time chkdsk has been scheduled.

Has someone got any suggestions let me know plaese.....
 
W

Wesley Vogel

As i understand then chkntfs /d disables every bootup checkdisk?

chkntfs /d

Chkntfs displays or modifies the checking of disk at boot time.

The /d switch restores the machine to the default behavior; all drives are
checked at boot time and chkdsk is run on those that are dirty.

Autochk.exe is a version of Chkdsk that runs only before Windows XP
starts. Autochk runs in the following situations:

Autochk runs if you try to run Chkdsk on the boot volume.
Autochk runs if Chkdsk cannot gain exclusive use of the volume.
Autochk runs if the volume is flagged as dirty.

This can happen if the drive's dirty bit is set.
When a drive's dirty bit is set, autochk automatically
checks the volume for errors the next time the computer is restarted.

This will report whether the dirty bit is set.

Start | Run | Type: cmd | Click OK |
Type or paste the following line:

fsutil dirty query C:

Hit the Enter key.

Volume C: is not dirty
Volume C: is dirty

[[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.

Every time Windows XP starts, Autochk.exe is called by the Kernel to scan
all volumes to check if the volume dirty bit is set. If the dirty bit is
set, autochk performs an immediate chkdsk /f on that volume. Chkdsk /f
verifies file system integrity and attempts to fix any problems with the
volume.]]
-----

This will also report whether the dirty bit is set.

Start | Run | Type: cmd | Click OK |
Type or paste the following line:

chkntfs c:

Hit the Enter key.

C: is not dirty.
-----

If this is not the problem.....

Go here:
http://www.kellys-korner-xp.com/xp_tweaks.htm

Read the instructions at the top of the page.
Scroll down to:
82. Disable or Enable Check Disk Upon Boot
Click on Disable.
-----

Additional information...
Chkdsk.exe or Autochk.exe starts when you try to shut down or restart your
computer
http://support.microsoft.com/kb/831426
-----

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.

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
 
G

Guest

Wesley Vogel said:
checked at boot time and chkdsk is run on those that are dirty.
Autochk runs if you try to run Chkdsk on the boot volume.
Autochk runs if Chkdsk cannot gain exclusive use of the volume.
Autochk runs if the volume is flagged as dirty.
C: is my boot volume it is dirty as says chkntfs and the query thing.
BitDefender Internet Security 9 can cause the problem.
I have Bitdefender 9. I started using it a week or two ago. I tried to
disable it from the services then scheduled a chkdsk C: /X.

Now it didn't do absolutely anything at the startup just gave me the login
screen..

Then i figured that some other bitdefender services were running and
disabled form msconfig. then scheduled again, but again no luck i have tried
to schedule from the C: properties-> tools->checkdisk fix error yes but that
didnt work, then i have tried chkdsk C: /X and chkntfs C: /C and (chkntfs C:
/X <-this one i just tried didn't know if there was a switch like that...)

I was wondering if i have to uninstall Bitdefender?

But the problem is that with all these the windows just normally starts up
and shows the logon screen.

I also tried to put msconfig to normal startup but no difference.....

Now i just don't know what to do anymore. The chkdsk or autochk is broken or
corrupt or something. Or there's something else wrong with my system, but the
boot time chkdsk doesnt start and the gui one does only to the end of the 2
phase and tells: "couldn't complete..."

I am running P4 2,4GHz HT my C: drive is ATA western digitals 60 GB and i
have a drive E: SATA 300GB (btw i scheduled a chkdsk on E a week ago , first
time it started to run my little brother (7years old) restarted the PC - then
the checkdisk ran again and finished and then start all over until i had to
make a hard shutdown. then it went all right again. But the thing is that i
think this action could somehow harm my system (startup things) or chkdsk
utility?)
XP pro 512 MB RAM

And if someone knows the problem with the SFC problem i had before..

Please if someone has any thoughts.....
 
G

Guest

It seems that my computer doesn't chkdisk when i put restart or does the term
reboot mean that i tun off my computer and then start it from the power
button...

Well anyway after a shutdown and restart i managed to get that chkdisk blue
screen but though i scheduled chkdsk C: /X it sayd the same: cannot get
direct acces tot he volume.....

Out of thoughts :(

Help!!
 
G

Guest

Ok firefox crashed maybe now its a double post but wanted to let u know that
after a shutdown a checkdisk ran and said : Canot gain direct acces to the
volume..
Thought i had scheduled chkdsk C. /X
 
W

Wesley Vogel

Kris,

All I know is that BitDefender Internet Security 9 can cause the problem of
Cannot lock volume for direct access or Cannot open volume for direct access
when trying to run chkdsk.exe after rebooting. I only know that BitDefender
Internet Security 9 can cause the problem because someone posted and said
so. They did not offer any more information.

Contact these people and tell them the problem.
http://www.bitdefender.com/site/Main/feedback/Send-Feedback.html

Or Live Assistance
http://www.bitdefender.com/site/Live-Assistance.html

I know of a person that had Spyware Doctor causing the problem. She
contacted PCTools and they came up with the fix that I posted for Spyware
Doctor causing the problem.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
G

Guest

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

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