Chkdsk AND Defrag

G

Guest

I am having a problem with one of my computers. Wife said it has been acting
out for a week. I have tried to correct and even went so far as to do a
restore (a week prior). System said it cant restore to any dates I tried.
I tried to run a Defrag and computer says that a chkdsk was waiting to be
done before defrag. Said to run Chkdsk /f. I ran Chkdsk /f and system says it
can run check disk because another process it using the drive. I closed all
process that I know are not needed. Some would close, others would close and
restart. CHKDSK still would not run. At startup, chkdsk starts, says I can
cancel it, but cancels itself, saying that I cancelled it. I have rim
Symantec WinDoctor and fixed one (1) problem... Still cant do anything. Any
Suggestions? I would greatly appreciate any help. Too much stuff on computer
to try to back up to another hard drive to do a complete system restore.
Thank you in advance for your suggestions.
 
G

Guest

--
Fighting XP


Semper Fi said:
I am having a problem with one of my computers. Wife said it has been acting
out for a week. I have tried to correct and even went so far as to do a
restore (a week prior). System said it cant restore to any dates I tried.
I tried to run a Defrag and computer says that a chkdsk was waiting to be
done before defrag. Said to run Chkdsk /f. I ran Chkdsk /f and system says it
can run check disk because another process it using the drive. I closed all
process that I know are not needed. Some would close, others would close and
restart. CHKDSK still would not run. At startup, chkdsk starts, says I can
cancel it, but cancels itself, saying that I cancelled it. I have rim
Symantec WinDoctor and fixed one (1) problem... Still cant do anything. Any
Suggestions? I would greatly appreciate any help. Too much stuff on computer
to try to back up to another hard drive to do a complete system restore.
Thank you in advance for your suggestions.

I have a sinilar problem: see my post lower down,

"Stopping autochk.exe on bootup"

http://www.microsoft.com/windowsxp/...tain&mid=f744d2e2-b8e5-42c8-abac-36b68bf9adc0

but it didn't help me.
 
P

Peter

Assuming it's your C: drive...you can do the following to stop chkdsk from
running.
Start/Run enter cmd click OK.
In the command prompt enter chkntfs C: /x and hit enter.
(Note the spaces).

Then I would go to the hard drive manufacturer's website and see about
downloading their disc diagnostic utility. There should be one available,
then run it to check of the disk is OK.

To check what hard drive you have download Belarc Advisor and run it. It
will tell you the model number which you can then Google.

http://www.belarc.com/free_download.html

--
Peter
Toronto, Canada
P4 D865GBF HT @ 3.0ghz 2.0gb DDR 450gb HD
ATI Radeon 9550 Graphics
Creative Soundblaster Audigy 4 Audio
 
W

Wesley Vogel

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
 

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