Link to home
Start Free TrialLog in
Avatar of naveenu
naveenuFlag for India

asked on

no scandisk after bad shutdown

I have Windows 98(Second Edition).
Scandisk doen not come automatically
when  the OS is shut down improperly .
I have also seen  mscofig.exe & found that the "disable scandisk after bad shutdown"
box was unchecked.
I have  tried with Autoscan = 2 in c:\msdos.sys but that also didn't work.
suggest better remedies.
The answer given by harrow is useless as earlier this same version of Windows98(SE)was running scandisk automatically.
How can the version change by itself.
Please help me on how to bring scandisk after a  bad shutdown.
ASKER CERTIFIED SOLUTION
Avatar of harrlow
harrlow

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Asta Cu
I believe your answer lies in the link provided by harrlow, but if more is needed, let us know.
Asta
Harrlow's link mentions the Autoscan value in MSDOS.SYS file.  Here is an article with more info on that (and it may be the source of your problem):

http://support.microsoft.com/default.aspx?scid=kb;en-us;q118579
Contents of the Windows Msdos.sys File (Q118579)

Here are some relevant quotations from the article:

The Windows Setup program creates a file called Msdos.sys in the root folder and sets the file with the Read-Only, System, and Hidden attributes. Unlike the Msdos.sys file in MS-DOS, this file is a text file. It contains a [Paths] section that lists the locations for other Windows files (such as the registry) and an [Options] section that you can use to personalize the boot process.

The [Options] section can contain the following settings. You must manually insert these settings if you want to use them:
AutoScan= Number
Default: 1
Purpose: Defines whether or not ScanDisk is run after a bad shutdown. A setting of 0 does not run ScanDisk; 1 prompts before running ScanDisk; 2 does not prompt before running ScanDisk but prompts you before fixing errors if any errors are found.

This setting is used only by OEM Service Release 2 and Windows 98.

How to Edit the Msdos.sys File
If you want to change any of the values in the Msdos.sys file, follow these steps to edit the file:
1. Click Start , point to Find , and then click Files Or Folders .

2. In the Named box, type msdos.sys . In the Look In box, click your boot drive (usually drive C, or drive H if drive C is compressed). Click the Find Now button.

3. Right-click the Msdos.sys file, and then click Properties .

4. Click to clear the Read-Only and Hidden check boxes to remove these attributes from the Msdos.sys file, and then click OK .

5. Right-click the Msdos.sys file, and then click Open With .

6. In the Choose the program you want to use box, click WordPad , and then click OK .

7. Make the changes you want to the Msdos.sys file. When you are done, save the file as a text document, and then quit WordPad.

8. Right-click the Msdos.sys file, and then click Properties .

9. Select the Read-Only and Hidden check boxes to set the attributes for the file, and then click OK . Close the Find window.

10.Restart Windows.
Avatar of sidou
sidou

Maybe you cant solve this by creating a win98SE boot disk in another machine (format a:/s) and then, boot your computer in safe-mode prompt (F8 at startup).

Once in prompt, type "SYS A: C:"


I hope this works out

Avatar of naveenu

ASKER

It is not 100% helpful.