It sounds as though you are trying to execute chkdsk against the system
partition, with the /f and/or the /r parameter present.
This cannot be done. The OS, once fully loaded and running, will never
give chkdsk exclusive read/write access to its own partition (usually
C
. To do so would be suicidal.
You can probably schedule chkdsk with no parameters to be run right away
after the OS has fully booted.
There is a process called autochk.exe that is designed to be run during
the OS boot process. You'll find it in your \system32 directory. Try
that. It's the process that is scheduled by chkdsk.exe if, when you try
[chkdsk C: /f] and you get the message "Can't do that, you want to run
chkdsk at next boot?", you answer "Yes."
I believe you'd have to run autochk at system shutdown, for it to
execute where it needs to (very early) in the system load sequence. It
actually has to run before the OS is given control by the loader. If
this can be done, I guess you'd have to shut down with a batch program
involving both autochk.exe and shutdown.exe.
There are a couple of things I'm uncertain about; some other poster may
find things to correct. I'd check Google for more info, too.
Hope this helps, Ed.
Ed said:
I scheduled Chkdisk to run when I restarted the system, it never ran. Now
when I boot the system I get a message that says among other things "Cannot
open volume for direct access) Then says "disk scan complete" and continues
the start up normaly. This occurs on my system running Win 2K Professional
@Version 5.00.2195 SP 4. Any help will be appreciated.
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0617-3, 04/28/2006
Tested on: 4/29/2006 4:53:49 PM
avast! - copyright (c) 1988-2006 ALWIL Software.
http://www.avast.com