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

  • Thread starter Thread starter c627627
  • Start date Start date
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...
 
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)
 
Back
Top