• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 875
  • Last Modified:

disabling autochk

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!
0
jung
Asked:
jung
  • 2
1 Solution
 
mearley081497Commented:
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.
0
 
jungAuthor 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
0
 
mearley081497Commented:
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
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now