Disable auto CHKDSK ?

G

Guest

My PC has two bootable drives - Windows2000 and WinXP. The PC's BIOS allows
me to select which disk to boot from.

When I boot from the WinXP drive it periodically wants to perform a
"consistency check" using CHKDSK on the Windows2000 drive. I normally catch
it and stop it. Once I failed to catch it, and it ran CHKDSK on the
Windows2000 drive and wreaked havoc on it.

How can I configure WinXP so that it won't automatically run CHKDSK on the
Windows2000 drive?

Thanks in advance -- Dave
 
J

Jetro

If chkdsk causes 'wreak havoc', it could mean either Windows or disk is
damaged. Normally you should fix the problems instead of hiding them.

HKLM\SYSTEM\CCS\Control\Session Manager, REG_MULTI_SZ value "BootExecute"
should be only "autocheck autochk *" (without quotes). If any disk volume is
flagged as "dirty", this value accepts an additional entry.

CHKNTFS /X volume [...] excludes a drive from the default boot-time check.
Excluded drives are not accumulated between command invocations.
 
G

Guest

Jetro,

Thanks for the quick response. I haven't been around for awhile, so I just
got a chance today to read your message. I have three follow-up questions.

First, I not only have "HKLM\SYSTEM\CurrentControlSet", but also a
"HKLM\SYSTEM\CCS\ControlSet001" and a "HKLM\SYSTEM\CCS\ControlSet003". Do
you know what the 001 and 003 are for, and/or how they may have gotten there?

Second, within SessionManager, there's an entry titled BootExecute, Type
REG_MULTI_SZ, with a value of "autocheck autochk *" just as you described.
Do I need to change the value "autocheck autochk *" to "CHKNTFS /X volume
[D,E]"?
(D&E are the drives that I don't want CHKDSK to touch) Or, do I need to
create a different entry at the same level of BootExecute with that value? I
apologize for bothering you about the detail, but I'm sure that I have far
less experience with registry entries than you do.

Third, since I also have a ControlSet001 and ControlSet003, do I need to
make the same sort of registry changes to those also?

Again, thank you for your help -- Dave
 
J

Jetro

One of the numbered control sets is used by default to boot the computer,
and the other contains the Last Known Good Configuration. There can be up to
four control sets, but you should reference and edit CurrentControlSet only.

'chkntfs' is a command-line utility. To exclude volumes D: and E: from
autocheck you can issue 'chkntfs /x d: e:' command and look in the registry
how BootExecute will change to 'autocheck autochk /k:D /k:E *'

http://www.winntmag.com/Article/ArticleID/3952/3952.html
Inside the Boot Process (two parts article)

http://www.windowsitlibrary.com/Content/405/11/3.html
Understanding and Using the NT Registry
 
G

Guest

Jetro,

Good information, thank you. I have the Win2000 disk pulled right now for
fear of CHKDSK interacting with it, so the "chkntfs /x d: e:/" command
returns "Drive d: does not exist.". Can I just manually change the
CurrentControlSet BootExecute entry to "autocheck autochk /k:D /k:E *",
before I put the Win2000 disk back in? Would WinXP choke at boot if drives D
& E are not present?

One last question and I promise to quit bugging you. Is there any way to
get WinXP to not mount, or completely ignor, drives D & E?

Thanks again for your help -- Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top