How to stop CHKDSK AT BOOT TIME?

  • Thread starter Thread starter B. Schneier
  • Start date Start date
B

B. Schneier

Does anyone know how to stop the CHKDSK command, found under the tools
menu under properties in the windows explorer folder tree, from running
at boot time. It is taking too long to check my external USB drive. I
assume somewhere in the registry I can change a value for all drives
from on to off.

Thanks in advance,
BS
 
This courtesy of MS-MVP Wesley Vogel (this is so good, I had to include the
whole thing):

Check Disk runs on every boot.

Open a command prompt...
Start | Run | Type: cmd | Click OK |
Type or paste the following line:


chkntfs /d


Hit the Enter key.


Chkntfs displays or modifies the checking of disk at boot time.


The /d switch restores the machine to the default behavior; all drives are
checked at boot time and chkdsk is run on those that are dirty.


Autochk.exe is a version of Chkdsk that runs only before Windows XP
starts. Autochk runs in the following situations:


Autochk runs if you try to run Chkdsk on the boot volume.
Autochk runs if Chkdsk cannot gain exclusive use of the volume.
Autochk runs if the volume is flagged as dirty.


This can happen if the drive's dirty bit is set.
When a drive's dirty bit is set, autochk automatically
checks the volume for errors the next time the computer is restarted.


This will report whether the dirty bit is set.


Start | Run | Type: cmd | Click OK |
Type or paste the following line:


fsutil dirty query C:


Hit the Enter key.


Volume C: is not dirty
Volume C: is dirty


[[If a volume's dirty bit is set, this indicates that the file system may be
in an inconsistent state. The dirty bit can be set because the volume is
online and has outstanding changes, because changes were made to the volume
and the computer shutdown before the changes were committed to disk, or
because corruption was detected on the volume. If the dirty bit is set when
the computer restarts, chkdsk runs to verify the consistency of the volume.


Every time Windows XP starts, Autochk.exe is called by the Kernel to scan
all volumes to check if the volume dirty bit is set. If the dirty bit is
set, autochk performs an immediate chkdsk /f on that volume. Chkdsk /f
verifies file system integrity and attempts to fix any problems with the
volume.]]
-----


This will also report whether the dirty bit is set.


Start | Run | Type: cmd | Click OK |
Type or paste the following line:


chkntfs c:


Hit the Enter key.


C: is not dirty.
-----


If this is not the problem.....


Go here:
http://www.kellys-korner-xp.com/xp_tweaks.htm


Read the instructions at the top of the page.
Scroll down to:
82. Disable or Enable Check Disk Upon Boot
Click on Disable.
-----


Additional information...
Chkdsk.exe or Autochk.exe starts when you try to shut down or restart your
computer
http://support.microsoft.com/kb/831426



--
Curt
http://dundats.mvps.org/
http://www.aumha.org/


| Does anyone know how to stop the CHKDSK command, found under the tools
| menu under properties in the windows explorer folder tree, from running
| at boot time. It is taking too long to check my external USB drive. I
| assume somewhere in the registry I can change a value for all drives
| from on to off.
|
| Thanks in advance,
| BS
 
Does anyone know how to stop the CHKDSK command, found under the tools
menu under properties in the windows explorer folder tree, from running at
boot time. It is taking too long to check my external USB drive. I assume
somewhere in the registry I can change a value for all drives from on to
off.

Normally that shouldn't be happening. Chkdsk only runs if the drive is
marked as dirty. Take a look at the troubleshooting tips on Kelly's site:
http://www.kellys-korner-xp.com/xp_abc.htm

Click on "C" and scroll to "Check Disk - Disk Checking Runs Upon Boot"
 
Hi,

Change the following according to your drive letter.

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"). This means
the drive is flagged to be scanned with chkdsk.
If it is, type in (or copy/paste) "chkntfs /x C:" {without the quotes}
Note the spaces before and after /x
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"
 
Hi Curt,

Copied it from Google Groups, huh? I can tell by the double spaces. LOL

When I copy my own posts from Google Groups I have to edit them. ;-)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Curt Christianson said:
This courtesy of MS-MVP Wesley Vogel (this is so good, I had to include
the whole thing):

Check Disk runs on every boot.

Open a command prompt...
Start | Run | Type: cmd | Click OK |
Type or paste the following line:


chkntfs /d


Hit the Enter key.


Chkntfs displays or modifies the checking of disk at boot time.


The /d switch restores the machine to the default behavior; all drives are
checked at boot time and chkdsk is run on those that are dirty.


Autochk.exe is a version of Chkdsk that runs only before Windows XP
starts. Autochk runs in the following situations:


Autochk runs if you try to run Chkdsk on the boot volume.
Autochk runs if Chkdsk cannot gain exclusive use of the volume.
Autochk runs if the volume is flagged as dirty.


This can happen if the drive's dirty bit is set.
When a drive's dirty bit is set, autochk automatically
checks the volume for errors the next time the computer is restarted.


This will report whether the dirty bit is set.


Start | Run | Type: cmd | Click OK |
Type or paste the following line:


fsutil dirty query C:


Hit the Enter key.


Volume C: is not dirty
Volume C: is dirty


[[If a volume's dirty bit is set, this indicates that the file system may
be in an inconsistent state. The dirty bit can be set because the volume
is online and has outstanding changes, because changes were made to the
volume and the computer shutdown before the changes were committed to
disk, or because corruption was detected on the volume. If the dirty bit
is set when the computer restarts, chkdsk runs to verify the consistency
of the volume.


Every time Windows XP starts, Autochk.exe is called by the Kernel to scan
all volumes to check if the volume dirty bit is set. If the dirty bit is
set, autochk performs an immediate chkdsk /f on that volume. Chkdsk /f
verifies file system integrity and attempts to fix any problems with the
volume.]]
-----


This will also report whether the dirty bit is set.


Start | Run | Type: cmd | Click OK |
Type or paste the following line:


chkntfs c:


Hit the Enter key.


C: is not dirty.
-----


If this is not the problem.....


Go here:
http://www.kellys-korner-xp.com/xp_tweaks.htm


Read the instructions at the top of the page.
Scroll down to:
82. Disable or Enable Check Disk Upon Boot
Click on Disable.
-----


Additional information...
Chkdsk.exe or Autochk.exe starts when you try to shut down or restart your
computer
http://support.microsoft.com/kb/831426



--
Curt
http://dundats.mvps.org/
http://www.aumha.org/


B. Schneier said:
Does anyone know how to stop the CHKDSK command, found under the tools
menu under properties in the windows explorer folder tree, from running
at boot time. It is taking too long to check my external USB drive. I
assume somewhere in the registry I can change a value for all drives
from on to off.

Thanks in advance,
BS
 
Yeah, that where I pilfered it from.
And, you're right, I better edit it next time ;-)
BTW, that post of yours was definitely a "keeper".

--
Curt
http://dundats.mvps.org/
http://www.aumha.org/


| Hi Curt,
|
| Copied it from Google Groups, huh? I can tell by the double spaces. LOL
|
| When I copy my own posts from Google Groups I have to edit them. ;-)
|
| --
| Hope this helps. Let us know.
|
| Wes
| MS-MVP Windows Shell/User

<snipped to the max>
 
And, you're right, I better edit it next time ;-)

Only if you do not want me to figure it out. LOL
BTW, that post of yours was definitely a "keeper".

Thank you. Thank you very much.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Elvis............ has left the building. I'm all shook up. 8-)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
You are welcome, and thanks for posting back. I *worked* a long time on
that post. <g>

--
Curt
http://dundats.mvps.org/
http://www.aumha.org/


| Thank you Curt for the chkntfs /d. It worked perfectly.
|
| BS
| -----------------------------------------------------------------------------
|
| Curt Christianson wrote:
| > This courtesy of MS-MVP Wesley Vogel (this is so good, I had to include
the
| > whole thing):
| >
| > Check Disk runs on every boot.
| >
| > Open a command prompt...
| > Start | Run | Type: cmd | Click OK |
| > Type or paste the following line:
| >
| >
| > chkntfs /d
| >
| >
| > Hit the Enter key.
| >
| >
| > Chkntfs displays or modifies the checking of disk at boot time.
| >
| >
| > The /d switch restores the machine to the default behavior; all drives
are
| > checked at boot time and chkdsk is run on those that are dirty.
| >
| >
| > Autochk.exe is a version of Chkdsk that runs only before Windows XP
| > starts. Autochk runs in the following situations:
| >
| >
| > Autochk runs if you try to run Chkdsk on the boot volume.
| > Autochk runs if Chkdsk cannot gain exclusive use of the volume.
| > Autochk runs if the volume is flagged as dirty.
| >
| >
| > This can happen if the drive's dirty bit is set.
| > When a drive's dirty bit is set, autochk automatically
| > checks the volume for errors the next time the computer is restarted.
| >
| >
| > This will report whether the dirty bit is set.
| >
| >
| > Start | Run | Type: cmd | Click OK |
| > Type or paste the following line:
| >
| >
| > fsutil dirty query C:
| >
| >
| > Hit the Enter key.
| >
| >
| > Volume C: is not dirty
| > Volume C: is dirty
| >
| >
| > [[If a volume's dirty bit is set, this indicates that the file system
may be
| > in an inconsistent state. The dirty bit can be set because the volume is
| > online and has outstanding changes, because changes were made to the
volume
| > and the computer shutdown before the changes were committed to disk, or
| > because corruption was detected on the volume. If the dirty bit is set
when
| > the computer restarts, chkdsk runs to verify the consistency of the
volume.
| >
| >
| > Every time Windows XP starts, Autochk.exe is called by the Kernel to
scan
| > all volumes to check if the volume dirty bit is set. If the dirty bit is
| > set, autochk performs an immediate chkdsk /f on that volume. Chkdsk /f
| > verifies file system integrity and attempts to fix any problems with the
| > volume.]]
| > -----
| >
| >
| > This will also report whether the dirty bit is set.
| >
| >
| > Start | Run | Type: cmd | Click OK |
| > Type or paste the following line:
| >
| >
| > chkntfs c:
| >
| >
| > Hit the Enter key.
| >
| >
| > C: is not dirty.
| > -----
| >
| >
| > If this is not the problem.....
| >
| >
| > Go here:
| > http://www.kellys-korner-xp.com/xp_tweaks.htm
| >
| >
| > Read the instructions at the top of the page.
| > Scroll down to:
| > 82. Disable or Enable Check Disk Upon Boot
| > Click on Disable.
| > -----
| >
| >
| > Additional information...
| > Chkdsk.exe or Autochk.exe starts when you try to shut down or restart
your
| > computer
| > http://support.microsoft.com/kb/831426
| >
| >
| >
 
Back
Top