Windows is always running Scandisk on startup


When Windows 98 SE shuts down, it first attempts to write the contents of its virtual cache to the hard disk. If the computer's IDE hard disk contains an onboard cache, the data may be written to that device instead of to the IDE disk. If the computer switches itself off when shut down is complete, there may not be time enough at power down for the disk to write the data to the disk before the cache is cleared. Therefore, when Windows starts up again, it runs ScanDisk to check the hard drive(s).

 

Warning!!!: Using the Windows Registry Editor incorrectly can cause serious problems requiring the re-installation of your operating system and possible loss of data. I do not and will not support problems that arise from you editing your own registry. Use the Registry Editor and my directions at your own risk. Be sure that you create a backup of your registry and be very sure that you know how to restore it. If you are not sure how to do both of these things then STOP here!! and read the directions.

 

To ensure that Windows allows sufficient time to shut down properly, install the ifsmgr.vxd file and check that the following key and value are set in the registry.

In regedit.exe, navigate to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

There should be a DWORD value named CacheWriteDelay in the right-hand pane with a Decimal value of 2000.
This instructs Windows to wait 2000 milliseconds while the cache is written.
Save any changes and restart your computer.