We help IT Professionals succeed at work.

disabling autochk

jung
jung asked
on
Medium Priority
913 Views
Last Modified: 2013-12-28
I have a hard drive with a NTFS partition that has some problems. I scheduled CHKDSK to run, but it seems to stuck on verifying index at 39% completion.
Is there a way to disable chkdsk from running automatically at boot. I suppose the system wrote something to the partition table that tells Windows NT to run CHKDSK, because I have tried moving the disk to a different NT system, mounting it as a slave, and CHKDSK still starts automatically.

Help!
Comment
Watch Question

From the MS knowledge base...  It will do the trick

-Matthew

How to Cancel CHKDSK After It Has Been Scheduled

Last reviewed: March 28, 1997
Article ID: Q158675 The information in this article applies to:

•Microsoft Windows NT Workstation versions 3.5, 3.51, and 4.0 •Microsoft Windows NT Server versions 3.5, 3.51, 4.0

SUMMARY

When you run the command CHKDSK /F /R from the command line, Windows NT asks if you want to schedule CHKDSK to run the next time the system is restarted. This article describes how, in the event you choose YES, you can subsequently prevent CHKDSK from running the next time you start the server.


RESOLUTION

To stop the execution of CHKDSK /F /R, you must edit the registry using Registry Editor.

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

To stop the execution of CHKDSK /F /R, take the following steps:

1.Run the Registry Editor(Regedt32.exe).

2.Under the HKEY_LOCAL_MACHINE subtree, go to the following subkey:

\SYSTEM\CurrentControlSet\Control\Session Manager

3.Change the BootExecute entry from:

autocheck autochk * /r\DosDevice\C:

To:

autocheck autochk *

If you have scheduled CHKDSK for multiple volumes, there will be an autocheck entry for each volume. Delete the string from the BootExecute registry value for each volume you do not want checked.

This procedure will reset the default string, and CHKDSK /F /R will not run on reset.

Author

Commented:
The problem is that CHKDSK wasn't scheduled on the new system that I moved the troubled hd to, so there was no relevant registry entry to edit.

I even tried scheduling a CHKDSK, open up the registry , then look for the BootExecute entry, and found no such entry. There is an entry called Execute, but it doesn't look like it is related.

Jung
A new disk will be checked in an existing system:

As shown previously - it has worked for me:
 Delete the string from the BootExecute registry value for each volume you do not want checked.

-Matthew

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.