PC Review


Reply
Thread Tools Rate Thread

How to cancel a CHKDSK /F in progress?

 
 
void.no.spam.com@gmail.com
Guest
Posts: n/a
 
      2nd Apr 2008
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?
 
Reply With Quote
 
 
 
 
Patrick Keenan
Guest
Posts: n/a
 
      2nd Apr 2008
<(E-Mail Removed)> wrote in message
news:4c3b2cba-e400-4bbc-928e-(E-Mail Removed)...
> 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?


Try a control-C.

And if you're concerned about that, have the UPS sending shutdown signals to
the PC and be sure it is large enough to run the system for long enough.

AS well, note that monitors can draw a lot of power from a UPS and it's not
necessarily a good idea to plug them in there.

HTH
-pk


 
Reply With Quote
 
M.I.5¾
Guest
Posts: n/a
 
      2nd Apr 2008

<(E-Mail Removed)> wrote in message
news:4c3b2cba-e400-4bbc-928e-(E-Mail Removed)...
> 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?


AIUI, both chkdsk and defrag always leave the disk such that the process can
be picked up again if it is suddenly terminated.


 
Reply With Quote
 
John John
Guest
Posts: n/a
 
      2nd Apr 2008
M.I.5¾ wrote:
> <(E-Mail Removed)> wrote in message
> news:4c3b2cba-e400-4bbc-928e-(E-Mail Removed)...
>
>>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?

>
>
> AIUI, both chkdsk and defrag always leave the disk such that the process can
> be picked up again if it is suddenly terminated.


Bad idea to stop a chkdsk in progress and the only reason that chkdsk
starts again is beacause the dirty bit is still set on the volume that
it was checking. Chkdsk won't know where it was last interupted, it
will start again without knowing what was previously checked.

John

 
Reply With Quote
 
John John
Guest
Posts: n/a
 
      2nd Apr 2008
(E-Mail Removed) 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/l.../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

 
Reply With Quote
 
M.I.5¾
Guest
Posts: n/a
 
      2nd Apr 2008

"John John" <(E-Mail Removed)> wrote in message
news:OFv4%(E-Mail Removed)...
> M.I.5¾ wrote:
>> <(E-Mail Removed)> wrote in message
>> news:4c3b2cba-e400-4bbc-928e-(E-Mail Removed)...
>>
>>>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?

>>
>>
>> AIUI, both chkdsk and defrag always leave the disk such that the process
>> can be picked up again if it is suddenly terminated.

>
> Bad idea to stop a chkdsk in progress and the only reason that chkdsk
> starts again is beacause the dirty bit is still set on the volume that it
> was checking. Chkdsk won't know where it was last interupted, it will
> start again without knowing what was previously checked.
>


That is true, but my point was that at any instant in time, chkdsk will not
leave the disk in a state that it cannot be used. It will not be worse that
when the chkdsk process started, but may be a good deal better.


 
Reply With Quote
 
philo
Guest
Posts: n/a
 
      3rd Apr 2008


"John John" <(E-Mail Removed)> wrote in message
news:OFv4%(E-Mail Removed)...
> M.I.5¾ wrote:
> > <(E-Mail Removed)> wrote in message
> >

news:4c3b2cba-e400-4bbc-928e-(E-Mail Removed)...
> >
> >>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?

> >
> >
> > AIUI, both chkdsk and defrag always leave the disk such that the process

can
> > be picked up again if it is suddenly terminated.

>
> Bad idea to stop a chkdsk in progress and the only reason that chkdsk
> starts again is beacause the dirty bit is still set on the volume that
> it was checking. Chkdsk won't know where it was last interupted, it
> will start again without knowing what was previously checked.
>
> John
>



I agree.
under no circumstances would I terminate a chkdsk /f operation

I'd make sure the UPS can hold power


 
Reply With Quote
 
void.no.spam.com@gmail.com
Guest
Posts: n/a
 
      4th Apr 2008
On Apr 2, 10:04*pm, "philo" <ph...@privacy.net> wrote:
> "John John" <audetw...@nbnet.nb.ca> wrote in message
>
> news:OFv4%(E-Mail Removed)...> M.I.5¾ wrote:
> > > <void.no.spam....@gmail.com> wrote in message

>
> news:4c3b2cba-e400-4bbc-928e-(E-Mail Removed)...
>
>
>
>
>
>
>
> > >>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?

>
> > > AIUI, both chkdsk and defrag always leave the disk such that the process

> can
> > > be picked up again if it is suddenly terminated.

>
> > Bad idea to stop a chkdsk in progress and the only reason that chkdsk
> > starts again is beacause the dirty bit is still set on the volume that
> > it was checking. *Chkdsk won't know where it was last interupted, it
> > will start again without knowing what was previously checked.

>
> > John

>
> I agree.
> under no circumstances would I terminate a chkdsk /f operation
>
> I'd make sure the UPS can hold power


Seems like you would need to spend several hundred or even over a
thousand dollars for a UPS that can hold power for a few hours.
 
Reply With Quote
 
Bob I
Guest
Posts: n/a
 
      7th Apr 2008


(E-Mail Removed) wrote:

> On Apr 2, 10:04 pm, "philo" <ph...@privacy.net> wrote:
>
>>"John John" <audetw...@nbnet.nb.ca> wrote in message
>>
>>news:OFv4%(E-Mail Removed)...> M.I.5¾ wrote:
>>
>>>><void.no.spam....@gmail.com> wrote in message

>>
>>news:4c3b2cba-e400-4bbc-928e-(E-Mail Removed)...
>>
>>
>>
>>
>>
>>
>>
>>
>>>>>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?

>>
>>>>AIUI, both chkdsk and defrag always leave the disk such that the process

>>
>>can
>>
>>>>be picked up again if it is suddenly terminated.

>>
>>>Bad idea to stop a chkdsk in progress and the only reason that chkdsk
>>>starts again is beacause the dirty bit is still set on the volume that
>>>it was checking. Chkdsk won't know where it was last interupted, it
>>>will start again without knowing what was previously checked.

>>
>>>John

>>
>>I agree.
>>under no circumstances would I terminate a chkdsk /f operation
>>
>>I'd make sure the UPS can hold power

>
>
> Seems like you would need to spend several hundred or even over a
> thousand dollars for a UPS that can hold power for a few hours.


If your electric supplier is that bad, a portable generator would be the
clear ticket.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to cancel a CHKDSK /F in progress? void.no.spam.com@gmail.com Microsoft Windows 2000 7 7th Apr 2008 01:46 PM
Progress bar and chkdsk Prostetnic Microsoft C# .NET 2 25th Dec 2006 03:55 PM
Way to Abort CHKDSK in Progress? tacker Windows XP General 2 20th Dec 2005 11:18 PM
Cancel a report in progress!! Scott Trowbridge Microsoft Access Reports 1 27th Dec 2004 08:18 PM
How to Create progress bar with cancel button? david Microsoft Dot NET Framework Forms 2 17th Nov 2004 09:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:41 AM.