How to disable auto chkdsk on Windows startup for ALL drives?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I have a system with multiple partitions, both Windows and Linux. The problem is, during startup windows tries to run autochk on every partition possible (including ext4 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 the system altogether? Or, in case autochk cannot be turned off completely, 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.
windows-7 linux boot chkdsk
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have a system with multiple partitions, both Windows and Linux. The problem is, during startup windows tries to run autochk on every partition possible (including ext4 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 the system altogether? Or, in case autochk cannot be turned off completely, 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.
windows-7 linux boot chkdsk
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have a system with multiple partitions, both Windows and Linux. The problem is, during startup windows tries to run autochk on every partition possible (including ext4 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 the system altogether? Or, in case autochk cannot be turned off completely, 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.
windows-7 linux boot chkdsk
I have a system with multiple partitions, both Windows and Linux. The problem is, during startup windows tries to run autochk on every partition possible (including ext4 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 the system altogether? Or, in case autochk cannot be turned off completely, 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.
windows-7 linux boot chkdsk
windows-7 linux boot chkdsk
edited Mar 8 at 2:43
phuclv
10.7k64297
10.7k64297
asked Oct 29 '11 at 8:51
XifaxXifax
466
466
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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 SettingsAdministrator>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?
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
add a comment |
Had the same problem and was able to solve it by running the command Siva Charan suggested, but instead of using a drive letter (since none exists and none can be assigned) one must use the GUID that is displayed on boot (the message on boot says for example "Scanning and repairing drive (\?Volume{000012ab-0000-0000-005d-123456789012})").
So instead of:
chkntfs /x c:
one must run this in an elevated command prompt or windows powershell:
chkntfs /x "\?Volume{000012ab-0000-0000-005d-123456789012}"
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f351797%2fhow-to-disable-auto-chkdsk-on-windows-startup-for-all-drives%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
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 SettingsAdministrator>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?
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
add a comment |
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 SettingsAdministrator>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?
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
add a comment |
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 SettingsAdministrator>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?
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 SettingsAdministrator>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?
edited Mar 20 '17 at 10:17
Community♦
1
1
answered Oct 29 '11 at 9:28
Siva CharanSiva Charan
3,74321728
3,74321728
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
add a comment |
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
1
1
OK, but what should I specify as a drive letter?
– Xifax
Oct 29 '11 at 9:33
OK, but what should I specify as a drive letter?
– Xifax
Oct 29 '11 at 9:33
1
1
c: OR d: this way for all required drives.
– Siva Charan
Oct 29 '11 at 9:44
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
But partitions I want to exclude do not have drive letters at all.
– Xifax
Oct 29 '11 at 9:44
add a comment |
Had the same problem and was able to solve it by running the command Siva Charan suggested, but instead of using a drive letter (since none exists and none can be assigned) one must use the GUID that is displayed on boot (the message on boot says for example "Scanning and repairing drive (\?Volume{000012ab-0000-0000-005d-123456789012})").
So instead of:
chkntfs /x c:
one must run this in an elevated command prompt or windows powershell:
chkntfs /x "\?Volume{000012ab-0000-0000-005d-123456789012}"
add a comment |
Had the same problem and was able to solve it by running the command Siva Charan suggested, but instead of using a drive letter (since none exists and none can be assigned) one must use the GUID that is displayed on boot (the message on boot says for example "Scanning and repairing drive (\?Volume{000012ab-0000-0000-005d-123456789012})").
So instead of:
chkntfs /x c:
one must run this in an elevated command prompt or windows powershell:
chkntfs /x "\?Volume{000012ab-0000-0000-005d-123456789012}"
add a comment |
Had the same problem and was able to solve it by running the command Siva Charan suggested, but instead of using a drive letter (since none exists and none can be assigned) one must use the GUID that is displayed on boot (the message on boot says for example "Scanning and repairing drive (\?Volume{000012ab-0000-0000-005d-123456789012})").
So instead of:
chkntfs /x c:
one must run this in an elevated command prompt or windows powershell:
chkntfs /x "\?Volume{000012ab-0000-0000-005d-123456789012}"
Had the same problem and was able to solve it by running the command Siva Charan suggested, but instead of using a drive letter (since none exists and none can be assigned) one must use the GUID that is displayed on boot (the message on boot says for example "Scanning and repairing drive (\?Volume{000012ab-0000-0000-005d-123456789012})").
So instead of:
chkntfs /x c:
one must run this in an elevated command prompt or windows powershell:
chkntfs /x "\?Volume{000012ab-0000-0000-005d-123456789012}"
edited May 26 '17 at 11:07
answered May 26 '17 at 10:25
augustaugust
12
12
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f351797%2fhow-to-disable-auto-chkdsk-on-windows-startup-for-all-drives%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown