?
Solved

no scandisk after bad shutdown

Posted on 2002-07-18
5
Medium Priority
?
194 Views
Last Modified: 2013-12-28
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.
0
Comment
Question by:naveenu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 1

Accepted Solution

by:
harrlow earned 400 total points
ID: 7162299
0
 
LVL 27

Expert Comment

by:Asta Cu
ID: 7162478
I believe your answer lies in the link provided by harrlow, but if more is needed, let us know.
Asta
0
 
LVL 59

Expert Comment

by:LeeTutor
ID: 7162719
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.
0
 
LVL 1

Expert Comment

by:sidou
ID: 7180900
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

0
 

Author Comment

by:naveenu
ID: 7248906
It is not 100% helpful.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
A small collection of useful tips and tricks for Windows 10 users that I decided to write as a result of recent questions that were asked and answered at Experts Exchange. Two short video tutorials included. Enjoy..
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question