John
Wed Apr 02 04:48:08 PDT 2008
void.no.spam.com@gmail.com wrote:
> If I am doing a chkdsk /f, and the power goes out, I will have a few
> minutes to shut down the system before my UPS battery runs out. How
> do I gracefully stop the chkdsk process? Let's say I'm running the
> chkdsk from the recovery console.
>
> What if I'm not doing it from the recovery console, but I had
> scheduled it to run during a restart? Would it be possible to stop it
> gracefully in that situation?
Other than pressing the restart button on the computer I know of no way
to stop Chkdsk while it is in progress. You can try Patrick's
suggestion (Ctrl+C) but I believe that only works on defrag, not on Chkdsk.
Anyone using Chkdsk would be well advised to follow the information
given by Microsoft:
[Quote]
Before running Chkdsk to repair a volume
Before running Chkdsk to repair a volume, you must do the following:
* Back up key data files, or make sure that you have a known good backup.
* Be prepared to let the Chkdsk process complete.
If you use the /f or /r parameter on a large volume (for example, 70 GB)
or on a volume with a very large number of files (in the millions),
Chkdsk can take a long time to complete. The volume is not available
during this time because Chkdsk does not relinquish control until it is
done. If a volume is being checked during the startup process, the
computer is not available until the Chkdsk process is complete.
Chkdsk does not include parameters that let you cancel the Chkdsk
process; however, when you run Chkdsk you can specify parameters that
shorten the process. For more information about minimizing downtime
during Chkdsk, see ?Reducing the Time Required to Run Chkdsk on NTFS
Volumes? later in this chapter.
[end quote]
Troubleshooting Disks and File Systems
http://technet.microsoft.com/en-us/library/bb457122.aspx
There is *always* a risk of data loss when Chkdsk is run. In certain
circumstances (when no backup of important files exists) it may be
preferable to attempt to recover or backup files before running Chkdsk.
Stopping a Chkdsk in progress significantly increases the already
present risk of data loss.
John