HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP > Windows XP Basics

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 05-12-2007, 02:57 AM
dennis
Guest
 
Posts: n/a
Default Scandisk / Ckdisk

I turned off the option to automatically run the disk utility after a bad
shutdown. Will someone tell me where to toggle that function on?

thanks


Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
  #2  
Old 05-12-2007, 05:35 AM
Claymore
Guest
 
Posts: n/a
Default Re: Scandisk / Ckdisk

On May 11, 9:57 pm, "dennis" <den...@home.net> wrote:
> I turned off the option to automatically run the disk utility after a bad
> shutdown. Will someone tell me where to toggle that function on?
>
> thanks


Hello Dennis,

Go to Start => Run and type in "cmd" {without the quotes} and click OK
In the window that opens, type in "chkntfs /d" {without the quotes}.

Reply With Quote
  #3  
Old 05-12-2007, 04:17 PM
dennis
Guest
 
Posts: n/a
Default Re: Scandisk / Ckdisk

Hi Claymore,

Thanks for the assistance on this. I was wondering though, where the option
to turn this on and off resides.

Dennis

"Claymore" <claymore@ontera.net> wrote in message
news:1178944549.657286.212650@w5g2000hsg.googlegro ups.com...
> On May 11, 9:57 pm, "dennis" <den...@home.net> wrote:
>> I turned off the option to automatically run the disk utility after a bad
>> shutdown. Will someone tell me where to toggle that function on?
>>
>> thanks

>
> Hello Dennis,
>
> Go to Start => Run and type in "cmd" {without the quotes} and click OK
> In the window that opens, type in "chkntfs /d" {without the quotes}.
>



Reply With Quote
  #4  
Old 05-12-2007, 06:23 PM
Claymore
Guest
 
Posts: n/a
Default Re: Scandisk / Ckdisk

On May 12, 11:17 am, "dennis" <den...@home.net> wrote:
> Hi Claymore,
>
> Thanks for the assistance on this. I was wondering though, where the option
> to turn this on and off resides.
>
> Dennis
>
> "Claymore" <claym...@ontera.net> wrote in message
>
> news:1178944549.657286.212650@w5g2000hsg.googlegro ups.com...
>
>
>
> > On May 11, 9:57 pm, "dennis" <den...@home.net> wrote:
> >> I turned off the option to automatically run the disk utility after a bad
> >> shutdown. Will someone tell me where to toggle that function on?

>
> >> thanks

>
> > Hello Dennis,

>
> > Go to Start => Run and type in "cmd" {without the quotes} and click OK
> > In the window that opens, type in "chkntfs /d" {without the quotes}.- Hide quoted text -

>
> - Show quoted text -


Hello again,

There's no simple on/off switch. It's to do with a thingy called
(oddly) the "dirty bit". Here's the full-meal-deal:

chkdisk - Dirty Bit

**Parameters:

chkntfs drive: [...]
chkntfs /d
chkntfs /x drive: [...]
chkntfs /c drive: [...]

drive: Specifies a drive letter.
/D Restores the machine to the default behavior; all
drives are checked at boot time and chkdsk is run on those that are
dirty. This undoes the effect of the /X option.
/X Excludes a drive from the default boot-time check.
Excluded drives are not accumulated between command invocations.
/C Schedules chkdsk to be run at the next reboot if the
dirty bit has been set.


**Examples:

chkntfs C: {This would manually schedule a chkdsk on C: on the next
boot - the dirty bit is set for C:}

chkntfs /x c: {This disables chkdsk from running on drive C: }

chkntfs /x d: e: {This disables chkdsk from running on drives D: and
E:. }

chkntfs /d {This restores the Dirty Bit to a normal condition - no
drives checked if the dirty bit has not been already set}


**Usage:

Go to Start => Run and type in "cmd" {without the quotes} to open a
Command window.
Type in "chkntfs C:" {without the quotes}
It should tell you if the dirty bit is set ("C: is dirty")
If it is, type in (or copy/paste) "chkntfs /x C:" {without the quotes}
This will prevent chkdsk from scanning drive C: at startup.

To reset it to normal, again open a Command window, and type in
"chkntfs /d"


**Registry

The chkntfs utility works by modifying the BootExcecute value in the
system registry. The BootExecute value is located in the following
registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTRO L\Session Manager
The default value is:
BootExecute:REG_MULTI_SZ:autocheck autochk *


**Purpose

The dirty bit is set for two main causes - a software problem such as
your improper shutdown, or a more serious hardware problem that can
indicate a failing drive. It is this dirty bit that during the
transfer of data instructs your computer to run the chkdsk at startup
(autochk).
The instruction I gave should get you out of the endless checking loop
as it will instruct chkdsk to run without checking drive C:. You can
then try some other things, such as chkdsk without the /f switch (read-
only), a defrag of the drive. You could then reset chkntfs back to
default using the /d switch and run chkdsk /f again.


**For more information see here:

http://support.microsoft.com/kb/160963

Reply With Quote
Sponsored Links
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes



All times are GMT. The time now is 12:34 AM.


Powered by vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger