ScanDisk Runs Even Though Windows Shut Down Correctly

Retired KB Content Disclaimer

This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Symptoms

Although Windows may seem to shut down correctly, ScanDisk may run the next time you start the computer.

Cause

During the shutdown process, the contents of the virtual cache are written to the destination device. If the destination device is an Integrated Drive Electronics (IDE) hard disk, data may be written to the hard disk's onboard cache but not to the disk itself. When this occurs, the data is lost from the cache when the computer turns off.

Resolution

Windows Millennium Edition

To resolve this issue in Windows Millennium Edition (Me), download the Windows IDE Hard Drive Cache package from the following Microsoft Web site:

Windows 98

To resolve this issue in Windows 98 Second Edition, download and install the Windows IDE Hard Drive Cache package from the following Microsoft Web site:

On the Windows IDE Hard Drive Cache Package page, select the appropriate language version for your version of Microsoft Windows, and then click Download Now.


The English version of this workaround should have the following file attributes or later:

Date Time Version Size File name Operating System
--------------------------------------------------------------------
9/21/2000 2:46p 4.10.2225 186,438 Ifsmgr.vxd Windows 98 Second
Edition
9/21/2000 2:46p 4.90.3002 185,910 Ifsmgr.vxd Windows Me

Microsoft recommends that you also obtain and install the update that is noted in the following Microsoft Knowledge Base article:

290831 SRB_FUNCTION_SHUTDOWN Requests Not Sent to SCSI Miniports During Shutdown

More Information

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows

NOTE: For the updated Ifsmgr.vxd driver to add the necessary delay during the shutdown process, it may be necessary to update a registry value. The CacheWriteDelay value specifies the number of milliseconds of delay. To modify this value:
  1. Start Registry Editor (Regedit.exe).
  2. Locate and click the following key in the registry:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion
  3. On the Edit menu, point to New, and then click DWORD Value.
  4. Type CacheWriteDelay to name the new value, and then press ENTER.
  5. Right-click the CacheWriteDelay value, and then click Modify.
  6. Under Base, click Decimal.
  7. In the Value data box, type 2000, and then click OK.
  8. Quit Registry Editor.
  9. Shut down and restart the computer. Permit Windows to finish running ScanDisk and wait for the Windows desktop to appear. Then, shut down and restart the computer again to determine if ScanDisk runs at startup.
For additional information about Windows Me hotfixes, click the article number below to view the article in the Microsoft Knowledge Base:

295413 General Information About Windows Millennium Edition Hotfixes
For additional information about Windows 98 and Windows 98 Second Edition hotfixes, click the article number below to view the article in the Microsoft Knowledge Base:

206071 General Information About Windows 98 and Windows 98 Second Edition Hotfixes
Properties

Article ID: 273017 - Last Review: Jun 19, 2014 - Revision: 1

Feedback