Re: Chkdsk runs each time that I start my computer



Glad to hear that you got it fixed.

You can also delete every thing in the Value Data for BootExecute here..
HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\Session Manager

The actual purpose of chkntfs /x is to postpone chkdsk from running when the
dirty bit is set until a more convenient time. I assume that this was
origianlly for servers or other machines that running chkdsk would be
inconvenient.

<quote>
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\CONTROL\Session Manager

The default value is:
BootExecute:REG_MULTI_SZ:autocheck autochk *

Chkntfs /x adds a /k parameter prior to the asterisk. The /k parameter
excludes volumes from being checked for the presence of a dirty bit.
<quote>
CHKNTFS.EXE: What You Can Use It For
http://support.microsoft.com/kb/160963

Method 2 here addresses how to the same thing manually.

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

<quote>
For heavily used computers that cannot be offline for the length of time
required to complete the repair process, you can use the Chkntfs.exe
command-line tool to exclude dirty volumes from being checked by Autochk.
You can also use Chkntfs to cancel previously scheduled sessions of Autochk
and to check the status of a volume.

Caution
If a volume is flagged as dirty, do not postpone running Chkdsk
indefinitely. File system damage can become worse over time, so you must
consider dirty volumes at risk until you run Chkdsk. Use Chkntfs only if you
need to control when Chkdsk is run.

Using the /x Parameter to Exclude Volumes
Use the /x parameter to prevent Autochk from running at startup on dirty
volumes. Although it is not recommended that you use this parameter to
postpone running Autochk indefinitely, you can use this parameter to prevent
Autochk from running. For example, when you know the volume is dirty, you
can use the /x parameter to postpone running Autochk until a period of low
computer activity, such as overnight or during the weekend.
<quote>
Using Chkntfs to Prevent Autochk from Running
http://www.microsoft.com/resources/documentation/Windows/XP/all/reskit/en-us/prkd_tro_rgwn.asp

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:AB0C3597-1E2E-4D89-9B3B-C2C9DF1B044C@xxxxxxxxxxxxx,
Saf <Saf@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and pecked:
At last I found my WXP installation disk. So I ran chkdsk command from
Recovery Console. It found and corrected errors on the problem partition.
Then I ran fixboot command. It showed that the boot sector on the
partition (that contained set dirty bit) was damaged. Then it wrote the
new boot sector and it solved the problem - chkdsk doesn't run on every
boot.
By the way, it is possible to simply disable autochk.exe by using chkntfs
/x command. This excludes a drive from the default boot-time check.
Wesley Vogel, you helped a lot. Thank you very much once again.

"Saf" wrote:

Each time that I start my computer, chkdsk runs the disk check of a
partition (NTFS, non-system) on my hard drive. If I cancel the check,
the system (WinXP Pro SP2) starts and runs fine. I've run several tests
of my hard drive (Norton Disk Doctor, SpinRite, Ontrack Data Advisor),
but all of them say that the HDD has no problems.
I've read the article "Chkdsk Runs Each Time That You Start Your
Computer" (http://support.microsoft.com/?kbid=316506) from Microsoft
Knowledge Base, but:
1) chkdsk don't prevent the system to start and work well on my computer
2) I don't use any scanners
3) I haven't upgraded Windows from any version.
So, can anybody tell me what can I do and how can I disable the chkdsk on
Windows start (if it's possible)?
Thanks in advance.

.



Relevant Pages

  • Re: Checkdisk error
    ... Chkntfs displays or modifies the checking of disk at boot time. ... Autochk.exe is a version of Chkdsk that runs only before Windows XP ... Autochk runs if the volume is flagged as dirty. ...
    (microsoft.public.windowsxp.general)
  • Re: chkdsk at startup
    ... that entry is probably not allowing autochk exclusive use of the ... 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 ...
    (microsoft.public.windowsxp.general)
  • Re: How do I clear the dirty bit?
    ... Check Disk runs on every boot ... Autochk.exe is a version of Chkdsk that runs only before Windows XP starts. ... Autochk runs if you try to run Chkdsk on the boot volume. ... This can happen if the drive's dirty bit is set. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Chkdsk runs each time that I start my computer
    ... The actual purpose of chkntfs /x is to postpone chkdsk from running when the ... excludes volumes from being checked for the presence of a dirty bit. ... You can also use Chkntfs to cancel previously scheduled sessions of Autochk ...
    (microsoft.public.windowsxp.hardware)
  • Re: chkdsk starts every time I restart the computer
    ... The only way to clear the dirty bit is to run chkdsk to try to clear it. ... run the chkntfs /d command and reboot. ... [[The disk check could not be performed because the disk check utility needs ...
    (microsoft.public.windowsxp.help_and_support)

Loading