- Re: Check disk has been canceled?
- Posted by MateuszG on March 12th, 2006
„Steve N.” wrote:
Well, in my case it doesn't work.
When I agree to check the disk with CHKDSK upon reboot, nothing happens when
I reboot.
I've found it annoying, because I know something is wrong with my filesystem
(when I run the CHKDSK on "read only" mode I get the information that it has
to be repaired).
What should I do if the CHKDSK doesn't run on startup, even though I agree
to schedule this scan?
- Posted by Wesley Vogel on March 12th, 2006
Cannot lock volume for direct access
Cannot open volume for direct access
A program called Hitman Pro can cause the problem.
A really old version of ZoneAlarm (a version from 2004) 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
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:0F64F46A-4B10-4E39-9AA1-7042F53B9528@microsoft.com,
MateuszG <MateuszG@discussions.microsoft.com> hunted and pecked:
- Posted by MateuszG on March 13th, 2006
"Wesley Vogel" wrote:
Thx for a long and detailed help, but CHKDSK still doesn't work on my "C"
hard disk drive.
I don't use any of these programs you suspected (neither Hitman Pro, nor
Zone Alarm, nor Spyware Doctor), so I have no software to uninstall.
Using "chkdsk C: /x" command also has no result, although I state "Y" answer
on that question ("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) ").
What should I do? CHKDSK doesn't want to scan my system drive C, on startup
and on normal Win use.
For your information, I use Windows XP Home Edition with SP2, and all
further updates taken from http://windowsupdate.microsoft.com.
Regards,
--
Matt
- Posted by Wesley Vogel on March 13th, 2006
Use Error Checking (chkdsk.exe) in XP.
1. In My Computer or Windows Explorer, right-click the drive you want to
check and then click Properties.
2. On the Tools tab, click Check Now.
3. Check both boxes:
Automatically fix file system errors
Runs Chkdsk by using the /f parameter.
[[Specifies whether Windows repairs file-system errors found during disk
checking. All files must be closed for this program to run. If the drive is
currently in use, a message asks if you want to reschedule
the disk checking for the next time you restart your computer. Your drive is
not available to run other tasks while the disk is being checked.]]
Scan for and attempt recovery of bad sectors
Runs Chkdsk by using the /r parameter.
[[Specifies whether Windows repairs file-system errors found during disk
checking, locates bad sectors, and recovers readable information. All files
must be closed for this program to run. If the drive is currently in use, a
message asks if you want to reschedule the disk checking for the next time
you restart your computer. Your drive is not available to run other tasks
while the disk is being checked. If you select this option, you do not need
to select Automatically fix file system errors. Windows fixes any errors on
the disk.]]
A message will popup.
[[The disk check could not be performed because the disk check utility needs
exclusive access to some Windows files on the disk. These files can be
accessed only by restarting Windows. Do you want to schedule this disk check
to occur the next time you restart the computer?]]
Click YES.
Then reboot.
For a look at the chkdsk log.
Open the Event Viewer...
Start | Run | Type: eventvwr | Click OK |
Look in Application | Listed as Information |
Event ID: 1001
Source: Winlogon
[[Description: This includes file system type; drive letter or GUID, and
volume name or serial number to help determine what volume Chkdsk ran
against. Also included is whether Chkdsk ran because a user scheduled it or
because the dirty bit was set.]]
[[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.]]
[[This file states whether Chkdsk encountered any errors and, if so,
whether they were fixed.]]
If chkdsk does not run when the machine is rebooted, try this.
Open a command prompt...
Start | Run | Type: cmd | Click OK |
Type or paste the following line:
chkntfs /d
Hit the Enter key.
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.
Chkdsk
http://www.microsoft.com/resources/d...b_tol_pwfd.asp
Chkdsk
http://www.microsoft.com/resources/d...us/chkdsk.mspx
Describes how to use the chkdsk command at the command line.
http://www.microsoft.com/windowsxp/h.../en/chkdsk.asp
Understanding what CHKDSK does
http://support.microsoft.com/kb/3148...23120121120120
From...
An explanation of the new /C and /I Switches that are available to use with
Chkdsk.exe
http://support.microsoft.com/kb/314835
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:30CBFFF2-FBF4-4F0E-A173-31B417127D65@microsoft.com,
MateuszG <MateuszG@discussions.microsoft.com> hunted and pecked:
- Posted by MateuszG on March 17th, 2006
Hi!
Thanks for help.
Partially your hints worked on my PC.
I have used
chkntfs /d
command, and then the following procedure:
<<<-------
1. In My Computer or Windows Explorer, right-click the drive you want to
check and then click Properties.
2. On the Tools tab, click Check Now.
3. Check both boxes:
Automatically fix file system errors
Runs Chkdsk by using the /f parameter.
[[Specifies whether Windows repairs file-system errors found during disk
checking. All files must be closed for this program to run. If the drive is
currently in use, a message asks if you want to reschedule
the disk checking for the next time you restart your computer. Your drive is
not available to run other tasks while the disk is being checked.]]
Scan for and attempt recovery of bad sectors
Runs Chkdsk by using the /r parameter.
[[Specifies whether Windows repairs file-system errors found during disk
checking, locates bad sectors, and recovers readable information. All files
must be closed for this program to run. If the drive is currently in use, a
message asks if you want to reschedule the disk checking for the next time
you restart your computer. Your drive is not available to run other tasks
while the disk is being checked. If you select this option, you do not need
to select Automatically fix file system errors. Windows fixes any errors on
the disk.]]
A message will popup.
[[The disk check could not be performed because the disk check utility needs
exclusive access to some Windows files on the disk. These files can be
accessed only by restarting Windows. Do you want to schedule this disk check
to occur the next time you restart the computer?]]
Click YES.
Then reboot.
--->>>
As a result, while rebooting, the CHKDSK run indeed, but it hasn't scaned my
hard disk C, ony the message was displayed:
"System cannot open volume C for direct access"
What's more, this chkdsk on boot (as described above) doesn't work when
using the command line
chkdsk /x
and hitting "Y" on the question
"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)"
My WinXP really surprise me 
--
Matt
"Wesley Vogel" wrote:
- Posted by Wesley Vogel on March 17th, 2006
System cannot open volume for direct access
[[CAUSE
This problem occurs because the Chkdsk.exe utility or the Autochk.exe
utility could not lock the partition. This problem can occur if another
utility or service, such as a virus checker program or a disk monitoring
program, locks the partition before you try to run the Chkdsk.exe utility or
the Autochk.exe utility. ]]
The trouble is that we do not know *WHAT* is locking C:.
We know what is *not* doing this:
What AntiVirus application do you have?
Do you have any Norton Disk utilities?
See this...
Unable to run CHKDSK
http://support.microsoft.com/kb/555484
Compare what is in your services.msc to this....
Windows XP Services Default Settings Guide
http://www.tweakhound.com/xp/defserv.htm
Pay attention to which columns your looking at, i.e. Service Pack 1
Services and Service Pack 2 Services.
The Windows XP Services Default Settings Guide lists only Microsoft
services. It does not list 3rd party services, i.e. those added by
AntiVirus or any Disk utility applications or Firewall applications, etc.
So by comparing your Services to the default Services we can tell what has
been added. And from that list maybe we can figure out what is running at
boot and locking C:.
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news
9D8127F-3E67-41FF-9019-A6FF68D446B0@microsoft.com,
MateuszG <MateuszG@discussions.microsoft.com> hunted and pecked:
- Posted by MateuszG on March 18th, 2006
Hi!
Thanks for Your patients and a kind help for such a computer dumb as me.
You wrote:
The only antivirus software (and disk monitoring tool) I use is ArcaVir 2006
by Polish company "ARCABIT" - <www.arcabit.com>.
I have already wrote an e-mail to the ARCABIT technical support, asking
whether their product could be a source of my problem.
Thanks again - I'll keep you informed what reply I received from them.
--
Matt
„Wesley Vogel” wrote:
- Posted by pbrassington@gmail.com on April 16th, 2006
I also had the same problem with chkdsk. tried everything that was
suggested. Then just by chance i checked my keyboard. One key that i
hardly ever used was stuck down. Freed it then every started to work
properly again. Ckdsk ran perfectly so did i few other programs that i
was trying to figure out what had gone wrong.. ^ weeks just for a stuck
key.....I nearly laughed and cried at the same time...
MateuszG wrote: