- Joined
- Feb 18, 2002
How can automatic running of chkdsk be permanently disabled? (I know it shouldn't be)
...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...)
When I make the change back and try to export this change to a reg file I see that other values have been exported as well.
What should the contents of a reg file be that ONLY set the BootExecute value found under
HKEY_LOCAL_MACHINE \ SYSTEM \ CURRENTCONTROLSET \ CONTROL \ Session Manager \
to
autocheck autochk /k:cdefghijklmnopqstuwxyz*
Also, please note that the following information only temporarily disabled automatic running of chkdsk on my system due to dirty bit being detected:
1. Info listed here:
http://support.microsoft.com/?kbid=160963
2. Info redduc900 provided, a reg file:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
"AutoChkTimeOut"=dword:0000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
"BootExecute"=hex(7):61,00,75,00,74,00,6f,00,63,00,68,00,65,00,63,00,6b,00,20,\
00,61,00,75,00,74,00,6f,00,63,00,68,00,6b,00,20,00,2a,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"SFCScan"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\cleanuppath]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,63,00,6c,00,\
65,00,61,00,6e,00,6d,00,67,00,72,00,2e,00,65,00,78,00,65,00,20,00,2f,00,44,\
00,20,00,25,00,63,00,00,00
...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...)
When I make the change back and try to export this change to a reg file I see that other values have been exported as well.
What should the contents of a reg file be that ONLY set the BootExecute value found under
HKEY_LOCAL_MACHINE \ SYSTEM \ CURRENTCONTROLSET \ CONTROL \ Session Manager \
to
autocheck autochk /k:cdefghijklmnopqstuwxyz*
Also, please note that the following information only temporarily disabled automatic running of chkdsk on my system due to dirty bit being detected:
1. Info listed here:
http://support.microsoft.com/?kbid=160963
2. Info redduc900 provided, a reg file:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
"AutoChkTimeOut"=dword:0000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
"BootExecute"=hex(7):61,00,75,00,74,00,6f,00,63,00,68,00,65,00,63,00,6b,00,20,\
00,61,00,75,00,74,00,6f,00,63,00,68,00,6b,00,20,00,2a,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"SFCScan"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\cleanuppath]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,63,00,6c,00,\
65,00,61,00,6e,00,6d,00,67,00,72,00,2e,00,65,00,78,00,65,00,20,00,2f,00,44,\
00,20,00,25,00,63,00,00,00