Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have system with multiple drive partitions, both Windows and Linux. The problem is, during startup windows tries to run autochk on every partition possible (including ex4 and such, those it sees as RAW).

I know, that one may exclude disk/partition from autochk by modifying registry value 'BootExecute', yet all the solutions I've seen require to specify excluded partition letter. While this is appropriate for FAT and NTFS partitions, Linux partitions do not have any letter assigned to them, which means, I cannot specify them as autochk exclusions.

So, the question is, how one may disable autochk for all drives in system altogether? Or, in case autochk cannot be turned off completly, disable it for partitions with no drive letters.

Update: Actually, one may just remove autocheck autochk * from BootExecute without any problem. In case of multiple Linux partitions it will drastically speed up boot time (especially if OS is located on SSD). In that case, though, manual checkups should be performed from time to time.

share|improve this question

1 Answer 1

The proper way to stop chkdsk from running on startup is to use chkntfs:

chkntfs /x c:

Where c: is the drive you're excluding from the disk check. You can use multiple drives as arguments like so:

chkntfs /x c: d:

Explanation of the various switches:

C:\Documents and Settings\Administrator>chkntfs /?
Displays or modifies the checking of disk at boot time.

CHKNTFS volume [...]
CHKNTFS /D
CHKNTFS /T[:time]
CHKNTFS /X volume [...]
CHKNTFS /C volume [...]

  volume         Specifies the drive letter (followed by a colon),
                 mount point, or volume name.
  /D             Restores the machine to the default behavior; all drives are
                 checked at boot time and chkdsk is run on those that are
                 dirty.
  /T:time        Changes the AUTOCHK initiation countdown time to the
                 specified amount of time in seconds.  If time is not
                 specified, displays the current setting.
  /X             Excludes a drive from the default boot-time check.  Excluded
                 drives are not accumulated between command invocations.
  /C             Schedules a drive to be checked at boot time; chkdsk will run
                 if the drive is dirty.

If no switches are specified, CHKNTFS will display if the specified drive is
dirty or scheduled to be checked on next reboot.

Refer this same here:-

Why does CHKDSK run everytime I boot my Windows 7 machine?

share|improve this answer
1  
OK, but what should I specify as a drive letter? –  Xifax Oct 29 '11 at 9:33
1  
c: OR d: this way for all required drives. –  Siva Charan Oct 29 '11 at 9:44
    
But partitions I want to exclude do not have drive letters at all. –  Xifax Oct 29 '11 at 9:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.