How can automatic running of chkdsk be permanently disabled? (I know it shouldn't be)

C

c627627

....but I have a specific reason for wanting to disable automatic
running of chkdsk (it sometimes runs after improper reboot, etc...) I
understand that this shouldn't be done on most systems used by average
users.

This can be done if I go to
HKEY_LOCAL_MACHINE \ SYSTEM \ CURRENTCONTROLSET \ CONTROL \ Session
Manager \

and change the value of BootExecute to
autocheck autochk /k:cdefghijklmnopqstuwxyz*


However the value changes "itself" after a while to
autocheck autochk /k:cdefghijklmnopqstuwxyz*
autocheck autochk *

(the autocheck autochk * is added which causes chkdsk to run after a
dirty bit is detected...)

Therefore this is a temporary, not a permanent solution to the
question.
Note that Chkntfs only temporarily disables Disk Check, not
permanently which is what I wish to do.


I also have a second followup question:
The dirty bit that XP sets, how is it removed from (all FAT32) system
if I boot into Windows 9x/Me on another partition? By that I mean the
dirty bit that "says" the volume is dirty and needs to be checked.

So if you have several partitions, is this info only on the Windows XP
partition...?


I understand that the bit that XP sets is removed when it determines
that the file system is free of corruption but can it be removed
manually

· from within Windows XP (NTFS and FAT32.)

· from within Windows 9x/Me (provided no NTFS partitions exist of
course.)

· from a DOS boot up floppy (provided no NTFS partitions exist of
course.)


I reimage all the time so I have no need for unwanted disc scans.
(Lengthy) scans usually don't find any problems. Whatever it is that
they do to remove the dirty bit after finishing, can it be
'simulated,' so that if the dirty bit is set, it can actually be
removed (in theory) without a full scan?

I'm asking out of curiosity, I understand how important scanning can
be...
 
G

Guest

Write a shutdown script that writes the correct reg entry. Put in a 5 sec
wait box with 'stop chkdsk? Y/N' defaulting to no. This script is set in the
Group Policy (gpedit.msc)
 

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